mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-16 22:20:28 +00:00
refs #10: updated the DB definition for django 1.4/1.5
This commit is contained in:
parent
f26f941319
commit
0b152b4adf
1 changed files with 11 additions and 7 deletions
|
|
@ -8,12 +8,16 @@ ADMINS = (
|
|||
|
||||
MANAGERS = ADMINS
|
||||
|
||||
DATABASE_ENGINE = 'sqlite3'
|
||||
DATABASE_NAME = os.path.join(PROJECT_ROOT, 'example.db')
|
||||
DATABASE_USER = ''
|
||||
DATABASE_PASSWORD = ''
|
||||
DATABASE_HOST = ''
|
||||
DATABASE_PORT = ''
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(PROJECT_ROOT, 'example.db'),
|
||||
'USER': '',
|
||||
'PASSWORD': '',
|
||||
'HOST': '',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
|
||||
TIME_ZONE = 'America/Chicago'
|
||||
|
||||
|
|
@ -83,6 +87,6 @@ TEMPLATE_DIRS = (
|
|||
|
||||
# Use local_settings.py for things to override privately
|
||||
try:
|
||||
from local_settings import *
|
||||
from local_settings import * # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue