Solucionado #2

This commit is contained in:
Daniel Cortes
2020-06-23 19:40:50 -04:00
parent f592ed082d
commit ea75dfb1b7
9 changed files with 31 additions and 109 deletions

View File

@@ -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