4aee4dd236
moved cache controls to local_settings
41 lines
1003 B
Plaintext
41 lines
1003 B
Plaintext
### Django settings for archlinux project.
|
|
|
|
## Debug settings
|
|
DEBUG = False
|
|
|
|
## Notification admins
|
|
ADMINS = (
|
|
# ('Joe Admin', 'joeadmin@example.com'),
|
|
)
|
|
|
|
## Sqlite Database settings
|
|
#DATABASE_ENGINE = 'sqlite3'
|
|
#DATABASE_NAME = 'archweb.db'
|
|
|
|
## MySQL Database settings
|
|
#DATABASE_ENGINE = 'mysql'
|
|
#DATABASE_NAME = 'archlinux'
|
|
#DATABASE_USER = 'archlinux'
|
|
#DATABASE_PASSWORD = 'archlinux'
|
|
#DATABASE_HOST = ''
|
|
#DATABASE_PORT = ''
|
|
|
|
## Define cache middleware settings
|
|
CACHE = False
|
|
CACHE_BACKEND = 'file:///tmp/ALdjangocache?timeout=900'
|
|
CACHE_MIDDLEWARE_SECONDS = 900
|
|
CACHE_MIDDLEWARE_KEY_PREFIX = 'arch'
|
|
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
|
|
|
|
## location for saving dev pictures
|
|
MEDIA_ROOT = '/var/www/archlinux/htdocs/img/devs/'
|
|
|
|
## web url for serving image files
|
|
MEDIA_URL = 'http://www.archlinux.org/img/devs/'
|
|
|
|
## Make this unique, and don't share it with anybody.
|
|
SECRET_KEY = '00000000000000000000000000000000000000000000000'
|
|
|
|
# vim: set ts=4 sw=4 et:
|
|
|