summaryrefslogtreecommitdiff
path: root/local_settings.py.example
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-26 13:25:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-26 13:25:12 -0500
commit0be32f0a388267e54d9ab88e64391f355dafdfb5 (patch)
treeaa269ad70c4feea15d78e07478dc451c75eb9a0d /local_settings.py.example
parent56c773b32fc68639eb55666b6cfaa32bc9618321 (diff)
A bunch of whitespace or .example/whatever changes
to reduce stupid differences between us and upstream archweb
Diffstat (limited to 'local_settings.py.example')
-rw-r--r--local_settings.py.example59
1 files changed, 59 insertions, 0 deletions
diff --git a/local_settings.py.example b/local_settings.py.example
new file mode 100644
index 00000000..bad03921
--- /dev/null
+++ b/local_settings.py.example
@@ -0,0 +1,59 @@
+### Django settings for archlinux project.
+
+## Debug settings
+DEBUG = False
+TEMPLATE_DEBUG = True
+DEBUG_TOOLBAR = True
+
+## For django debug toolbar
+INTERNAL_IPS = ('127.0.0.1',)
+
+## Notification admins
+ADMINS = (
+ # ('Joe Admin', 'joeadmin@example.com'),
+)
+
+## MySQL Database settings
+DATABASES = {
+ 'default': {
+ 'ENGINE' : 'django.db.backends.mysql',
+ 'NAME' : 'archlinux',
+ 'USER' : 'archlinux',
+ 'PASSWORD': 'archlinux',
+ 'HOST' : '',
+ 'PORT' : '',
+ 'OPTIONS' : {'init_command': 'SET storage_engine=InnoDB'},
+ },
+}
+
+## Define cache settings
+CACHES = {
+ 'default': {
+ 'BACKEND' : 'django.core.cache.backends.dummy.DummyCache',
+ #'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
+ #'LOCATION': '127.0.0.1:11211',
+ }
+}
+CACHE_MIDDLEWARE_KEY_PREFIX = 'arch'
+CACHE_MIDDLEWARE_SECONDS = 300
+
+## Use secure session cookies? Make this true if you want all
+## logged-in actions to take place over HTTPS only. If developing
+## locally, you will want to use False.
+SESSION_COOKIE_SECURE = False
+
+## location for saving dev pictures
+MEDIA_ROOT = '/srv/example.com/img/'
+
+## web url for serving image files
+MEDIA_URL = 'http://example.com/img/'
+
+## Make this unique, and don't share it with anybody.
+SECRET_KEY = '00000000000000000000000000000000000000000000000'
+
+## CDN settings
+CDN_ENABLED = False
+# Scheme-relative URL, should work for both http/https
+CDN_PATH = '//example.com/path/'
+
+# vim: set ts=4 sw=4 et: