Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nuages
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etch
nuages
Commits
6fd0daa7
Commit
6fd0daa7
authored
Jul 14, 2014
by
Christophe Siraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add required setting for django 1.6
parent
58ef5278
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
README
README
+11
-0
nuages/settings.py
nuages/settings.py
+3
-4
No files found.
README
View file @
6fd0daa7
...
...
@@ -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::
...
...
nuages/settings.py
View file @
6fd0daa7
...
...
@@ -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'
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment