|
|
|
|
@ -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'Ежегодно'), |
|
|
|
|
|