Negligible comment formatting change in django/db/models/base.py (from [4881])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
018ece8dc8
commit
4e31a17e9e
|
@ -26,7 +26,8 @@ class ModelBase(type):
|
||||||
if not filter(lambda b: issubclass(b, Model), bases):
|
if not filter(lambda b: issubclass(b, Model), bases):
|
||||||
return super(ModelBase, cls).__new__(cls, name, bases, attrs)
|
return super(ModelBase, cls).__new__(cls, name, bases, attrs)
|
||||||
except NameError:
|
except NameError:
|
||||||
# Model isn't defined yet, meaning we're looking at django's own Model defined below
|
# 'Model' isn't defined yet, meaning we're looking at Django's own
|
||||||
|
# Model class, defined below.
|
||||||
return super(ModelBase, cls).__new__(cls, name, bases, attrs)
|
return super(ModelBase, cls).__new__(cls, name, bases, attrs)
|
||||||
|
|
||||||
# Create the class.
|
# Create the class.
|
||||||
|
|
Loading…
Reference in New Issue