PEP8 cleanup.
This commit is contained in:
parent
f4ee7c5bd1
commit
d8ed766696
2 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ from core.utils import generate_password
|
||||||
def create_dj_user(apps, schema_editor):
|
def create_dj_user(apps, schema_editor):
|
||||||
User = apps.get_model('core', 'RadioUser')
|
User = apps.get_model('core', 'RadioUser')
|
||||||
db_alias = schema_editor.connection.alias
|
db_alias = schema_editor.connection.alias
|
||||||
|
|
||||||
new_password = generate_password()
|
new_password = generate_password()
|
||||||
dj = User(email=settings.RADIO_DJ_EMAIL,
|
dj = User(email=settings.RADIO_DJ_EMAIL,
|
||||||
name=settings.RADIO_DJ_NAME,
|
name=settings.RADIO_DJ_NAME,
|
||||||
|
|
|
@ -33,6 +33,7 @@ def default_settings(apps, schema_editor):
|
||||||
data='30'),
|
data='30'),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
Loading…
Reference in a new issue