Commit 6fd0daa7 authored by chris's avatar chris

Add required setting for django 1.6

parent 58ef5278
......@@ -114,6 +114,17 @@ Build database, collect static files and set permissions::
Set domain name: Point your browser to /admin/sites/site/1/ and modify the entry from "example.com" to your domain name.
SSL
===
We recommend using SSL for all transactions and adding the following settings to your local_settings.py:
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
ALLOWED_HOSTS = [
'.domainepublic.net', # Allow domain and subdomains
'.domainepublic.net.', # Also allow FQDN and subdomains
]
Testing
=======
In order to test Nuages, you need the following dependencies::
......
......@@ -3,17 +3,16 @@
# Django settings for Nuages
import os
DEBUG = False # Turn off for production
DEBUG = False
TEMPLATE_DEBUG = DEBUG
PROJECT_DIR = os.path.normpath(os.path.dirname(os.path.dirname(__file__)))
ALLOWED_HOSTS = '*'
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
MANAGERS = ADMINS
DEFAULT_FROM_EMAIL = 'nuages@domainepublic.net'
LOGIN_REDIRECT_URL = '/'
PROJECT_DIR = os.path.normpath(os.path.dirname(os.path.dirname(__file__)))
DATABASES = {
'default': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment