use a in memory database for local testing

This commit is contained in:
Andreas Zweili 2019-08-10 13:55:15 +02:00
parent 3833e02e60
commit c1631fe76e
1 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ SECRET_KEY = 'development_key'
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}