mirror of
https://github.com/QingdaoU/Spirit.git
synced 2025-01-07 20:42:08 +00:00
swappable user
This commit is contained in:
parent
ca00b7460a
commit
de845eaa08
@ -87,7 +87,8 @@ class AbstractUser(AbstractBaseUser, PermissionsMixin, AbstractForumUser):
|
||||
|
||||
class User(AbstractUser):
|
||||
|
||||
class Meta:
|
||||
class Meta(AbstractUser.Meta):
|
||||
swappable = 'AUTH_USER_MODEL'
|
||||
app_label = 'spirit'
|
||||
ordering = ['-date_joined', ]
|
||||
verbose_name = _('user')
|
||||
|
Loading…
Reference in New Issue
Block a user