set DEBUG=False in default.settings.py

This commit is contained in:
Oskar Hahn 2012-07-16 18:13:53 +02:00
parent 76e52cf01a
commit fd6961234a
2 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,7 @@
from openslides_settings import * from openslides_settings import *
# Use 'DEBUG = True' to get more details for server errors (Default for relaeses: 'False') # Use 'DEBUG = True' to get more details for server errors (Default for relaeses: 'False')
DEBUG = True DEBUG = False
TEMPLATE_DEBUG = DEBUG TEMPLATE_DEBUG = DEBUG
# Set timezone # Set timezone

View File

@ -12,9 +12,11 @@
from django.conf import settings from django.conf import settings
from django.conf.urls.defaults import patterns, url, include from django.conf.urls.defaults import patterns, url, include
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.shortcuts import redirect from django.shortcuts import redirect
from django.utils.importlib import import_module from django.utils.importlib import import_module
from openslides.utils.views import FrontPage from openslides.utils.views import FrontPage
handler500 = 'openslides.utils.views.server_error' handler500 = 'openslides.utils.views.server_error'
@ -32,6 +34,10 @@ urlpatterns = patterns('',
(r'^i18n/', include('django.conf.urls.i18n')), (r'^i18n/', include('django.conf.urls.i18n')),
) )
urlpatterns += patterns('django.contrib.staticfiles.views',
url(r'^static/(?P<path>.*)$', 'serve', {'insecure':True}),
)
js_info_dict = { js_info_dict = {
'packages': [], 'packages': [],
} }