Commit 8587f908 authored by Christophe Siraut's avatar Christophe Siraut

nuages/settings.py: fix django 1.4 compatibility

parent 72491704
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import os import os
import socket import socket
from django.conf import global_settings from django.conf import global_settings
import django
DEBUG = False DEBUG = False
TEMPLATE_DEBUG = DEBUG TEMPLATE_DEBUG = DEBUG
...@@ -31,7 +32,8 @@ DATABASES = { ...@@ -31,7 +32,8 @@ DATABASES = {
ACCOUNT_ACTIVATION_DAYS = 7 # Activation window 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: # Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
......
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