mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-04 19:39:38 +00:00
lint with black python. convert f style strings to old one. some small fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user