parent
8b13a688cd
commit
658e6bad31
|
@ -29,6 +29,9 @@ DOCBOW_APP = _('docbow')
|
|||
DOCBOW_APP = _('Docbow_App')
|
||||
DOCBOW_APP2 = _('Docbow_app')
|
||||
|
||||
# fixup User ordering
|
||||
User._meta.ordering = [ 'username' ]
|
||||
|
||||
class GetByNameManager(Manager):
|
||||
'''Manager providing a get_by_natural_key() method to retrieve object by
|
||||
their name. The name field MUST be unique.'''
|
||||
|
|
Loading…
Reference in New Issue