Commit 4184063f authored by Michal Čihař's avatar Michal Čihař

Coding style fixes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6345dd4f
...@@ -8,7 +8,7 @@ from django.utils.crypto import get_random_string ...@@ -8,7 +8,7 @@ from django.utils.crypto import get_random_string
def add_api_keys(apps, schema_editor): def add_api_keys(apps, schema_editor):
Token = apps.get_model('authtoken', 'Token') Token = apps.get_model('authtoken', 'Token')
User= apps.get_model('auth', 'User') User = apps.get_model('auth', 'User')
for user in User.objects.iterator(): for user in User.objects.iterator():
Token.objects.get_or_create( Token.objects.get_or_create(
user=user, user=user,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment