forked from DGNum/gestioCOF
core -- Apply black + isort to all files
This commit is contained in:
parent
104e71dcf6
commit
fdd2b35289
196 changed files with 10727 additions and 8365 deletions
|
@ -23,12 +23,9 @@ def setup_kfet_generic_user(**kwargs):
|
|||
"""
|
||||
generic = get_kfet_generic_user()
|
||||
generic.user_permissions.add(
|
||||
Permission.objects.get(
|
||||
content_type__app_label='kfet',
|
||||
codename='is_team',
|
||||
)
|
||||
Permission.objects.get(content_type__app_label="kfet", codename="is_team")
|
||||
)
|
||||
|
||||
|
||||
def hash_password(password):
|
||||
return hashlib.sha256(password.encode('utf-8')).hexdigest()
|
||||
return hashlib.sha256(password.encode("utf-8")).hexdigest()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue