summaryrefslogtreecommitdiffstats
path: root/local_settings.py.example
blob: 965e07b88de32dabc6aa8ef24d929d4bd16fb588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
### 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: