mirror of
https://github.com/django/django.git
synced 2025-03-29 02:30:48 +00:00
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…
x
Reference in New Issue
Block a user