better defaults
This commit is contained in:
parent
ed64e96c81
commit
b5b94f3350
2 changed files with 11 additions and 7 deletions
|
@ -11,6 +11,9 @@ server {
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
root __PREFIX__/oxdata/static;
|
root __PREFIX__/oxdata/static;
|
||||||
}
|
}
|
||||||
|
location /robots.txt {
|
||||||
|
root __PREFIX__/oxdata/static;
|
||||||
|
}
|
||||||
|
|
||||||
location /static {
|
location /static {
|
||||||
root __PREFIX__/oxdata;
|
root __PREFIX__/oxdata;
|
||||||
|
|
|
@ -6,7 +6,7 @@ from os.path import join
|
||||||
|
|
||||||
PROJECT_ROOT = os.path.normpath(os.path.dirname(__file__))
|
PROJECT_ROOT = os.path.normpath(os.path.dirname(__file__))
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
JSON_DEBUG = DEBUG
|
JSON_DEBUG = DEBUG
|
||||||
|
|
||||||
|
@ -16,12 +16,12 @@ ADMINS = (
|
||||||
|
|
||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
|
|
||||||
DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
DATABAES = {
|
||||||
DATABASE_NAME = 'dev.sqlite' # Or path to database file if using sqlite3.
|
'default': {
|
||||||
DATABASE_USER = '' # Not used with sqlite3.
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
DATABASE_PASSWORD = '' # Not used with sqlite3.
|
'NAME': 'dev.sqlite'
|
||||||
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
}
|
||||||
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
}
|
||||||
|
|
||||||
# Local time zone for this installation. Choices can be found here:
|
# Local time zone for this installation. Choices can be found here:
|
||||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||||
|
@ -98,6 +98,7 @@ INSTALLED_APPS = (
|
||||||
'djcelery',
|
'djcelery',
|
||||||
|
|
||||||
'oxdata.lookup',
|
'oxdata.lookup',
|
||||||
|
# 'oxdata.movie',
|
||||||
'oxdata.poster',
|
'oxdata.poster',
|
||||||
'oxdata.cover',
|
'oxdata.cover',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue