mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed #11137 -- Add missing base class in proxy model extra managers doc. Thanks ekarulf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a6a0b29318
commit
5a5842ccf2
@ -1101,7 +1101,7 @@ manager <custom-managers-and-inheritance>` documentation: create a base class
|
||||
containing the new managers and inherit that after the primary base class::
|
||||
|
||||
# Create an abstract class for the new manager.
|
||||
class ExtraManagers:
|
||||
class ExtraManagers(models.Model):
|
||||
secondary = NewManager()
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user