浏览代码

fix tests error with DisableMigrations class

pull/342/head
Guillaume Vincent 7 年前
父节点
当前提交
376e7634d9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      lesspass/settings.py

+ 2
- 2
lesspass/settings.py 查看文件

@@ -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'])

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

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

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


TESTS_IN_PROGRESS = False


正在加载...
取消
保存