Commits

Matthew Schinckel committed 8627d62

Fixed autocomplete typo.

Comments (0)

Files changed (1)

             form = data
         elif isinstance(data, models.Model):
             if hasattr(self, 'can_view') and not self.can_view(data):
-                raise http.Form(_(u"You may not view all of the requested data"))
+                raise http.Forbidden(_(u"You may not view all of the requested data"))
             form = self.form(instance=data)
         else:
             signals.pre_validate_data.send(sender=self, data=data)