mirror of https://github.com/django/django.git
Fixed a line that was overindented.
This commit is contained in:
parent
ce23e33399
commit
1aca9d93be
|
@ -163,7 +163,7 @@ class ModelBase(type):
|
|||
else:
|
||||
base = parent
|
||||
if base is None:
|
||||
raise TypeError("Proxy model '%s' has no non-abstract model base class." % name)
|
||||
raise TypeError("Proxy model '%s' has no non-abstract model base class." % name)
|
||||
if (new_class._meta.local_fields or
|
||||
new_class._meta.local_many_to_many):
|
||||
raise FieldError("Proxy model '%s' contains model fields." % name)
|
||||
|
|
Loading…
Reference in New Issue