parent
11daf706df
commit
2b3b3bf652
1 changed files with 2 additions and 0 deletions
|
|
@ -617,6 +617,8 @@ class TopLevelDocumentMetaclass(DocumentMetaclass):
|
|||
base_meta['queryset_class'] = base._meta['queryset_class']
|
||||
try:
|
||||
base_meta['objects'] = base.__getattribute__(base, 'objects')
|
||||
except TypeError:
|
||||
pass
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue