Commit c006ba3b authored by Administrator's avatar Administrator

[ADMIN] Settings for stable (diff with tina)

parent 5c594161
...@@ -27,7 +27,7 @@ CELERY_IMPORTS=("node.models",) ...@@ -27,7 +27,7 @@ CELERY_IMPORTS=("node.models",)
SECRET_KEY = 'bt)3n9v&a02cu7^^=+u_t2tmn8ex5fvx8$x4r*j*pb1yawd+rz' SECRET_KEY = 'bt)3n9v&a02cu7^^=+u_t2tmn8ex5fvx8$x4r*j*pb1yawd+rz'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = True
TEMPLATE_DEBUG = True TEMPLATE_DEBUG = True
...@@ -47,7 +47,7 @@ TEMPLATE_DIRS = ( ...@@ -47,7 +47,7 @@ TEMPLATE_DIRS = (
#ALLOWED_HOSTS = ['*',] #ALLOWED_HOSTS = ['*',]
ALLOWED_HOSTS = ['localhost', 'master.polemic.be', 'beta.gargantext.org', 'iscpif.gargantext.org', 'mines.gargantext.org', 'gargantext.org'] ALLOWED_HOSTS = ['localhost', 'master.polemic.be', 'beta.gargantext.org']
......
""" """
WSGI config for gargantext project. WSGI config for gargantext_web project.
It exposes the WSGI callable as a module-level variable named ``application``. It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
""" """
import os, sys import os
sys.path.append('/srv/gargantext')
sys.path.append('/srv/gargantext/gargantext_web')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gargantext_web.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gargantext_web.settings")
from django.core.wsgi import get_wsgi_application from django.core.wsgi import get_wsgi_application
application = get_wsgi_application() application = get_wsgi_application()
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