1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 10:34:49 +00:00

black and isort lint.

This commit is contained in:
catborise 2020-11-04 15:54:50 +03:00
parent 77d031b04f
commit 7aaa018d2c
47 changed files with 1206 additions and 1063 deletions

View file

@ -25,8 +25,8 @@ def apply_passwordless_console(sender, **kwargs):
'''
Apply new passwordless_console permission for all users
'''
from django.contrib.auth.models import Permission
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
User = get_user_model()
plan = kwargs.get('plan', [])
for migration, rolled_back in plan: