Skip to content

Commit

Permalink
migrations naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Nov 14, 2016
1 parent a94cd64 commit caf578d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spirit/user/migrations/0007_auto_20161114_1536.py
Expand Up @@ -23,7 +23,7 @@ class Meta(AbstractUser.Meta):
"""


def show_stopper(apps, schema_editor):
def user_model_checker(apps, schema_editor):
from django.conf import settings

if not hasattr(settings, 'AUTH_USER_MODEL'):
Expand Down Expand Up @@ -66,5 +66,5 @@ class Migration(migrations.Migration):
]

operations = [
migrations.RunPython(show_stopper, lambda *args: None),
migrations.RunPython(user_model_checker, lambda *args: None),
]

0 comments on commit caf578d

Please sign in to comment.