fnp
/
fnpdjango.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fix.
[fnpdjango.git]
/
fnpdjango
/
deploy
/
templates
/
localsettings.py.template
diff --git
a/fnpdjango/deploy/templates/localsettings.py.template
b/fnpdjango/deploy/templates/localsettings.py.template
index
5f60b61
..
3cc3916
100644
(file)
--- a/
fnpdjango/deploy/templates/localsettings.py.template
+++ b/
fnpdjango/deploy/templates/localsettings.py.template
@@
-1,3
+1,5
@@
+# Review this file and copy it to %(app_path)s/localsettings.py
+
ADMINS = (
('Lista IT', 'it@listy.nowoczesnapolska.org.pl'),
)
ADMINS = (
('Lista IT', 'it@listy.nowoczesnapolska.org.pl'),
)
@@
-21,11
+23,13
@@
ALLOWED_HOSTS = (
'%(project_name)s.nowoczesnapolska.org.pl',
)
'%(project_name)s.nowoczesnapolska.org.pl',
)
-PIWIK_URL = '
http://piwik.nowoczesnapolska.org.pl
/'
-PIWIK_
TOKEN = ''
+PIWIK_URL = '
//piwik.nowoczesnapolska.org.pl/nocas
/'
+PIWIK_
SITE_ID = -1
MEDIA_ROOT = '%(app_path)s/media/'
STATIC_ROOT = '%(app_path)s/static/'
MEDIA_ROOT = '%(app_path)s/media/'
STATIC_ROOT = '%(app_path)s/static/'
-FNPDJANGO_REALIP = False
-FNPDJANGO_XACCEL = False
+
+# Those should be set to True if you are behind Nginx.
+FNPDJANGO_REALIP = True
+FNPDJANGO_XACCEL = True