-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev_settings.py
More file actions
18 lines (15 loc) · 804 Bytes
/
dev_settings.py
File metadata and controls
18 lines (15 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
DIRNAME = os.path.abspath(os.path.dirname(__file__).decode('utf-8').replace('\\','/'))
DBNAME = os.path.join(DIRNAME,'testdb.sqlite~')
# directory name devtests is hardcoded in django-wsgi script
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': DBNAME, # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
DEBUG=True