Solucionado #2
This commit is contained in:
@@ -60,12 +60,12 @@ class User(AbstractBaseUser):
|
||||
REQUIRED_FIELDS = ['email']
|
||||
|
||||
@staticmethod
|
||||
def has_perm():
|
||||
def has_perm(*args, **kwargs):
|
||||
"""Los usuarios siempre tienen permiso"""
|
||||
return True
|
||||
|
||||
@staticmethod
|
||||
def has_module_perms():
|
||||
def has_module_perms(*args, **kwargs):
|
||||
"""Los usuarios siempre tienen permiso"""
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user