summaryrefslogtreecommitdiff
path: root/papillon/local_settings.py.sample
diff options
context:
space:
mode:
Diffstat (limited to 'papillon/local_settings.py.sample')
-rw-r--r--papillon/local_settings.py.sample23
1 files changed, 13 insertions, 10 deletions
diff --git a/papillon/local_settings.py.sample b/papillon/local_settings.py.sample
index 8070842..441b8a6 100644
--- a/papillon/local_settings.py.sample
+++ b/papillon/local_settings.py.sample
@@ -3,7 +3,9 @@
# copy this file to local_settings.py and modify it to your needs
-DEBUG=False
+DEBUG = False
+
+STATIC_URL = '/static/'
import os
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
@@ -11,12 +13,17 @@ PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'replace_this_with_something_else'
-# if you have set an EXTRA_URL set the full path
-EXTRA_URL = ''
+# URL that handles the media served from MEDIA_ROOT.
+# Example: "http://media.lawrence.com"
+MEDIA_URL = '/media/'
+
+# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
+# trailing slash.
+ADMIN_MEDIA_PREFIX = '/static/admin/'
TINYMCE_URL = 'http://localhost/tinymce/'
-MAX_COMMENT_NB = 10 # max number of comments by poll - 0 to disable comments
-ALLOW_FRONTPAGE_POLL = False # disabled is recommanded for public instance
+MAX_COMMENT_NB = 10 # max number of comments by poll - 0 to disable comments
+ALLOW_FRONTPAGE_POLL = False # disabled is recommanded for public instance
# time to live in days
DAYS_TO_LIVE = 30
@@ -29,10 +36,6 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': PROJECT_PATH + '/papillon.db', # Or path to database file if using sqlite3.
- 'USER': '', # Not used with sqlite3.
- 'PASSWORD': '', # Not used with sqlite3.
- 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
- 'PORT': '', # Set to empty string for default. Not used with sqlite3.
+ 'NAME': PROJECT_PATH + '/papillon.db',
}
}