Make the user model extendable
This commit is contained in:
parent
233b13d670
commit
20e41b3523
@ -66,6 +66,7 @@ class User(Document):
|
||||
verbose_name=_('date joined'))
|
||||
|
||||
meta = {
|
||||
'allow_inheritance': True,
|
||||
'indexes': [
|
||||
{'fields': ['username'], 'unique': True}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user