From 67b9607ce03d94c5454a54c6b9c2ee954a0aadb6 Mon Sep 17 00:00:00 2001 From: Alexander Burdeinyi Date: Thu, 8 Dec 2016 12:19:13 +0200 Subject: [PATCH] m --- support/d_dev/settings.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/support/d_dev/settings.py b/support/d_dev/settings.py index e31a6f1e..14bb4a03 100644 --- a/support/d_dev/settings.py +++ b/support/d_dev/settings.py @@ -9,7 +9,7 @@ from ConfigParser import ConfigParser DJANGO_ROOT = os.path.dirname(os.path.realpath(django.__file__)) SITE_ROOT = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0] -DEBUG = False +DEBUG = True ADMINS = ( @@ -335,6 +335,7 @@ INSTALLED_APPS = ( 'emencia.django.newsletter', 'accounts', 'article', + 'comments', 'city', 'company', 'conference', @@ -401,7 +402,7 @@ CRONJOBS = [ ('*/5 * * * *', 'django.core.management.call_command', ['update_views_cache']), ('40 6 * * * ', 'django.core.management.call_command', ['newsletter_contacts_remove_notactivated']), - ('41 5 * * *', 'django.core.management.call_command', ['newsletter_create_announce']), + # ('41 5 * * *', 'django.core.management.call_command', ['newsletter_create_announce']), ('12 4 * * *', 'django.core.management.call_command', ['stats_daily']), ('5 10 * * *', 'django.core.management.call_command', ['update_events_filter_fields']), @@ -521,6 +522,12 @@ C_CITY_CATALOG_KEY = 'conf_city_catalog' C_COUNTRY_CATALOG_KEY = 'conf_country_catalog' E_CITY_CATALOG_KEY = 'expo_city_catalog' E_COUNTRY_CATALOG_KEY = 'expo_country_catalog' +DEFAULT_DESCRIPTION = { + 'e_description_ru': 'templates/client/includes/conference/default_description_ru.html', + 'e_description_en': 'templates/client/includes/conference/default_description_en.html', + 'c_description_ru': 'templates/client/includes/exposition/default_description_ru.html', + 'c_description_en': 'templates/client/includes/exposition/default_description_en.html', +} PERIODIC = { 0: '', 1: _(u'Ежегодно'),