make test database use sqlite

This commit is contained in:
Michael DeHaan
2013-03-19 10:27:14 -04:00
parent cf995c302e
commit 23e685bba8
2 changed files with 13 additions and 4 deletions

View File

@@ -29,10 +29,10 @@ DATABASES = {
}
}
if 'test' in sys.argv:
DATABASES['default'] = {
'ENGINE': 'django.db.backends.sqlite3'
}
#if 'test' in sys.argv:
# DATABASES['default'] = {
# 'ENGINE': 'django.db.backends.sqlite3'
# }
# Internationalization
# https://docs.djangoproject.com/en/dev/topics/i18n/