Browse Source

fix tests error with DisableMigrations class

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
376e7634d9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lesspass/settings.py

+ 2
- 2
lesspass/settings.py View File

@@ -20,7 +20,7 @@ DEBUG = env.bool('DJANGO_DEBUG', default=False)


ALLOWED_HOSTS = env('ALLOWED_HOSTS', cast=list, default=['localhost', '127.0.0.1', '.lesspass.com']) ALLOWED_HOSTS = env('ALLOWED_HOSTS', cast=list, default=['localhost', '127.0.0.1', '.lesspass.com'])


ADMINS = (('Guillaume Vincent', 'guillaume@oslab.fr'), )
ADMINS = (('Guillaume Vincent', 'guillaume@oslab.fr'),)


INSTALLED_APPS = [ INSTALLED_APPS = [
'django.contrib.admin', 'django.contrib.admin',
@@ -155,7 +155,7 @@ class DisableMigrations(object):
return True return True


def __getitem__(self, item): def __getitem__(self, item):
return "notmigrations"
return None




TESTS_IN_PROGRESS = False TESTS_IN_PROGRESS = False


Loading…
Cancel
Save