better defaults

This commit is contained in:
j 2011-07-30 13:08:47 +02:00
parent ed64e96c81
commit b5b94f3350
2 changed files with 11 additions and 7 deletions

View File

@ -11,6 +11,9 @@ server {
location /favicon.ico {
root __PREFIX__/oxdata/static;
}
location /robots.txt {
root __PREFIX__/oxdata/static;
}
location /static {
root __PREFIX__/oxdata;

View File

@ -6,7 +6,7 @@ from os.path import join
PROJECT_ROOT = os.path.normpath(os.path.dirname(__file__))
DEBUG = True
DEBUG = False
TEMPLATE_DEBUG = DEBUG
JSON_DEBUG = DEBUG
@ -16,12 +16,12 @@ ADMINS = (
MANAGERS = ADMINS
DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'dev.sqlite' # Or path to database file if using sqlite3.
DATABASE_USER = '' # Not used with sqlite3.
DATABASE_PASSWORD = '' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
DATABAES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'dev.sqlite'
}
}
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
@ -98,6 +98,7 @@ INSTALLED_APPS = (
'djcelery',
'oxdata.lookup',
# 'oxdata.movie',
'oxdata.poster',
'oxdata.cover',
)