﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11137	Typo in Proxy Model documentation (topics/db/models)	Erik Karulf	nobody	"The documentation for proxy models in [source:django/trunk/docs/topics/db/models.txt docs/topics/db/models.txt] is inconsistent with [source:django/trunk/docs/topics/db/managers.txt docs/topics/db/managers.txt]. The models documentation is missing the declaration of django.db.models.Models for it's example class !ExtraManagers.

[source:django/trunk/docs/topics/db/models.txt#10797 r10797]
{{{
#!python
# Create an abstract class for the new manager.
class ExtraManagers:
    secondary = NewManager()

    class Meta:
        abstract = True

class MyUser(User, ExtraManagers):
    class Meta:
        proxy = True
}}}

Proposed:
{{{
#!python
# Create an abstract class for the new manager.
class ExtraManagers(models.Model):
    secondary = NewManager()

    class Meta:
        abstract = True

class MyUser(User, ExtraManagers):
    class Meta:
        proxy = True
}}}
"		closed	Documentation	dev		fixed	proxy model		Ready for checkin	1	0	0	0	0	0
