Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
etch
nuages
Commits
8587f908
Commit
8587f908
authored
Nov 17, 2014
by
Christophe Siraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nuages/settings.py: fix django 1.4 compatibility
parent
72491704
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nuages/settings.py
nuages/settings.py
+3
-1
No files found.
nuages/settings.py
View file @
8587f908
...
...
@@ -4,6 +4,7 @@
import
os
import
socket
from
django.conf
import
global_settings
import
django
DEBUG
=
False
TEMPLATE_DEBUG
=
DEBUG
...
...
@@ -31,7 +32,8 @@ DATABASES = {
ACCOUNT_ACTIVATION_DAYS
=
7
# Activation window
TEST_RUNNER
=
'django.test.runner.DiscoverRunner'
if
django
.
VERSION
>=
(
1
,
6
):
TEST_RUNNER
=
'django.test.runner.DiscoverRunner'
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
...
...
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