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