Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo / webproject / settings / default / deploy.py @ 49c0d427

History | View | Annotate | Download (1.2 kB)

1
# Deployment settings
2
##################################
3

    
4
DEBUG = False
5
TEMPLATE_DEBUG = False
6

    
7
# Use secure cookie for django sessions cookie, change this if you don't plan
8
# to deploy applications using https
9
SESSION_COOKIE_SECURE = True
10

    
11
# You should always change this setting.
12
# Make this unique, and don't share it with anybody.
13
SECRET_KEY = 'ly6)mw6a7x%n)-e#zzk4jo6f2=uqu!1o%)2-(7lo+f9yd^k^bg'
14

    
15
# A boolean that specifies whether to use the X-Forwarded-Host header in
16
# preference to the Host header. This should only be enabled if a proxy which
17
# sets this header is in use.
18
USE_X_FORWARDED_HOST = True
19

    
20
# Settings / cookies that should be 'cleansed'
21
HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|PRIVATE_KEY|DB_CONNECTION'
22
HIDDEN_COOKIES  = 'password|_pithos2_a|token|sessionid|shibstate|shibsession|CSRF_COOKIE'
23

    
24

    
25
#When set to True, if the request URL does not match any of the patterns in the
26
#URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same
27
#URL with a slash appended. Note that the redirect may cause any data submitted
28
#in a POST request to be lost. Due to the REST nature of most of the registered
29
#Synnefo endpoints we prefer to disable this behaviour by default.
30
APPEND_SLASH = False