· 8 years ago · Jul 13, 2017, 08:00 AM
1RuntimeError at /api/rest/v1/price_request
2You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to store.test.fabrikant.ru/api/rest/v1/price_request/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
3
4Request Method: POST
5Request URL: http://store.test.fabrikant.ru/api/rest/v1/price_request
6Django Version: 1.6.11
7Python Executable: /var/www/fabri-test/bin/python
8Python Version: 2.7.12
9Python Path: ['/var/www/fabri-test', '/var/www/fabri-test/bin', '/var/www/fabri-test/lib/python2.7', '/var/www/fabri-test/lib/python2.7/plat-x86_64-linux-gnu', '/var/www/fabri-test/lib/python2.7/lib-tk', '/var/www/fabri-test/lib/python2.7/lib-old', '/var/www/fabri-test/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/www/fabri-test/local/lib/python2.7/site-packages', '/var/www/fabri-test/src/grappelli-tools', '/var/www/fabri-test/src/django-storages', '/var/www/fabri-test/src/django-multiselectfield', '/var/www/fabri-test/src/django-elasticsearch', '/var/www/fabri-test/src/django-states', '/var/www/fabri-test/src/django-walletone', '/var/www/fabri-test/src/oauth2client', '/var/www/fabri-test/lib/python2.7/site-packages']
10Server time: çтò, 13 Øюû 2017 10:57:00 +0300
11Installed Applications:
12('grappelli.dashboard',
13 'grappelli',
14 'widget_tweaks',
15 'django.contrib.admin',
16 'django.contrib.auth',
17 'django.contrib.contenttypes',
18 'django.contrib.sessions',
19 'django.contrib.messages',
20 'django.contrib.staticfiles',
21 'django.contrib.sites',
22 'django.contrib.formtools',
23 'django.contrib.humanize',
24 'django.contrib.sitemaps',
25 'south',
26 'version',
27 'crispy_forms',
28 'flatblocks',
29 'mptt',
30 'treeadmin',
31 'rest_framework',
32 'rest_framework.authtoken',
33 'rest_framework_swagger',
34 'rest_auth',
35 'djcelery',
36 'kombu.transport.django',
37 'reversion',
38 'sorl.thumbnail',
39 'thumbnail',
40 'storages',
41 'pragmatic',
42 'waffle',
43 'endless_pagination',
44 'solo',
45 'stronghold',
46 'ajax_select',
47 'clever_selects',
48 'dbtemplates',
49 'django_extensions',
50 'colorfield',
51 'django_activeurl',
52 'extra_keywords',
53 'modeltranslation',
54 'mathfilters',
55 'memoize',
56 'permission',
57 'django_markdown',
58 'tinymce',
59 'adminsortable',
60 'django_filters',
61 'cacheops',
62 'sortedm2m_filter_horizontal_widget',
63 'fancytree',
64 'fancy_cronfield',
65 'phonenumber_field',
66 'multi_email_field',
67 'agora.cms.templates',
68 'feincms',
69 'feincms.module.page',
70 'feincms.module.medialibrary',
71 'agora.cms',
72 'agora',
73 'agora.core',
74 'agora.core.contractor',
75 'agora.core.contractor.individual',
76 'agora.core.bids',
77 'agora.core.blogic.accounting',
78 'agora.core.documents',
79 'agora.core.email',
80 'agora.core.index',
81 'agora.core.integration',
82 'agora.core.order',
83 'agora.core.order.trades',
84 'agora.core.product',
85 'agora.core.supplier',
86 'agora.core.currency',
87 'agora.core.company',
88 'agora.core.events_logger',
89 'agora.core.coupon',
90 'agora.core.consignee',
91 'agora.core.marker',
92 'agora.core.payments',
93 'agora.core.permissions',
94 'agora.core.compare',
95 'agora.core.tyre',
96 'agora.core.tender',
97 'agora.core.spam',
98 'agora.api',
99 'agora.plugins.req_variator',
100 'agora.plugins.feedback',
101 'agora.gateways',
102 'agora.admin',
103 'agora.visual_design',
104 'agora.api.api_key',
105 'agora.core.analytics',
106 'agora.plugins.chat',
107 'agora.plugins.fabri',
108 'agora.plugins.google_analytics',
109 'agora.plugins.banner',
110 'agora.optima',
111 'agora.optima.accounts',
112 'agora.optima.product',
113 'agora.optima.order',
114 'agora.optima.productlist',
115 'agora.optima.contractor',
116 'agora.optima.supplier',
117 'agora.optima.manager',
118 'agora.optima.compare',
119 'agora.portal',
120 'agora.portal.partners_referral',
121 'agora.plugins.warranty',
122 'agora.plugins.jira_collector',
123 'agora.plugins.importusers',
124 'agora.plugins.comments',
125 'agora.plugins.notifications',
126 'agora.gateways.xls',
127 'agora.plugins.geoip',
128 'agora.plugins.wishlist',
129 'agora.plugins.feedback',
130 'agora.optima.article',
131 'agora.optima.coupon',
132 'agora.optima.documents',
133 'agora.plugins.delivery',
134 'agora.plugins.pay_methods',
135 'agora.gateways.xls',
136 'agora.plugins.datamatching',
137 'agora.plugins.datamatching.parsers.xls_parser',
138 'agora.plugins.reviews',
139 'agora.plugins.comments.order_comments',
140 'agora.optima.trades',
141 'agora.plugins.reviews.order_reviews',
142 'agora.plugins.edit_agreement',
143 'agora.plugins.edit_stickers',
144 'agora.optima.service',
145 'agora.optima.marker',
146 'agora.optima.compare',
147 'gunicorn')
148Installed Middleware:
149['django.contrib.sessions.middleware.SessionMiddleware',
150 'django.middleware.common.CommonMiddleware',
151 'django.middleware.csrf.CsrfViewMiddleware',
152 'django.contrib.auth.middleware.AuthenticationMiddleware',
153 'django.contrib.messages.middleware.MessageMiddleware',
154 'django.middleware.clickjacking.XFrameOptionsMiddleware',
155 'waffle.middleware.WaffleMiddleware',
156 'agora.admin.middleware.SuperUserRedirectFromPublicMiddleware',
157 'agora.payment_system.middleware.RedirectCachierMiddleware',
158 'agora.middleware.common.UserActivationMiddleware',
159 'agora.middleware.common.UserBlockMiddleware',
160 'agora.middleware.common.UserVerificationMiddleware',
161 'agora.price_proxy.middleware.RequestContractorMiddleware',
162 'agora.core.middleware.PaginationMiddleware',
163 'agora.core.middleware.SwitchToRoleMiddleware',
164 'agora.core.middleware.AuthRestTokenMiddleware',
165 'threadlocals.middleware.ThreadLocalMiddleware',
166 'agora.core.middleware.SessionForwardingMiddleware',
167 'agora.core.analytics.middleware.RegisterUserActivityMiddleware',
168 'agora.plugins.fabri.middleware.FabriCrossAuthMiddleware']
169
170Traceback:
171File "/var/www/fabri-test/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
172 88. response = middleware_method(request)
173File "/var/www/fabri-test/local/lib/python2.7/site-packages/django/middleware/common.py" in process_request
174 81. "settings.") % (new_url[0], new_url[1]))
175
176Exception Type: RuntimeError at /api/rest/v1/price_request
177Exception Value: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to store.test.fabrikant.ru/api/rest/v1/price_request/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
178Request information:
179GET: No GET data
180
181POST:
182count = u'1'
183name = u'2222'
184company = u'222'
185phone = u'3223'
186email = u'2222@222.ru'
187delivery_date = u'2017-07-13'
188
189FILES: No FILES data
190
191COOKIES:
192csrftoken = '0RF0MbMzOpOFDtIhTYtuaFCj9E1gK6lX'
193sessionid = '9ytepyys4g3pjm8e7ude7ndrc630zzic'
194
195META:
196HTTP_REFERER = 'http://store.test.fabrikant.ru/market/product/16255/3268'
197SERVER_SOFTWARE = 'gunicorn/19.6.0'
198SCRIPT_NAME = u''
199REQUEST_METHOD = 'POST'
200PATH_INFO = u'/api/rest/v1/price_request'
201HTTP_ORIGIN = 'http://store.test.fabrikant.ru'
202SERVER_PROTOCOL = 'HTTP/1.0'
203QUERY_STRING = ''
204HTTP_X_REAL_IP = '10.30.43.10'
205CONTENT_LENGTH = '85'
206HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36'
207HTTP_CONNECTION = 'close'
208HTTP_COOKIE = 'sessionid=9ytepyys4g3pjm8e7ude7ndrc630zzic; csrftoken=0RF0MbMzOpOFDtIhTYtuaFCj9E1gK6lX'
209SERVER_NAME = '127.0.0.1'
210REMOTE_ADDR = '127.0.0.1'
211HTTP_X_FORWARDED_PROTOCOL = 'http'
212wsgi.url_scheme = 'http'
213HTTP_VIA = '1.1 router.elmarket.local.ru:3128 (squid/2.7.STABLE9)'
214SERVER_PORT = '8002'
215HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
216REMOTE_PORT = '46744'
217wsgi.input = <gunicorn.http.body.Body object at 0x7f9926f14a50>
218HTTP_HOST = 'store.test.fabrikant.ru'
219wsgi.multithread = False
220HTTP_CACHE_CONTROL = 'max-age=259200'
221HTTP_ACCEPT = '*/*'
222wsgi.version =
223RAW_URI = '/api/rest/v1/price_request'
224wsgi.run_once = False
225wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9926cd23d0>
226wsgi.multiprocess = True
227HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4'
228gunicorn.socket = <socket._socketobject object at 0x7f9928892e50>
229CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'
230HTTP_X_FORWARDED_FOR = '93.171.140.61, 93.171.140.61, 10.30.43.10'
231wsgi.file_wrapper = ''
232HTTP_ACCEPT_ENCODING = 'gzip, deflate'
233
234Settings:
235Using settings module agora.settings.fabri-test
236AGORA_PASSWORD_RESET_FROM_EMAIL = u'********************'
237ALLOW_SWITCH_ROLE = True
238AGORA_CATALOG_MODIFICATIONS_LIST_TEMPLATE = 'includes/modifications_list.html'
239ORDER_EXPORT_PROPERTY_FIELDS = []
240DEFAULT_SUPPLIER_ENABLE_DATA_IMPORT = True
241BROKER_URL = 'redis://localhost:6379/3'
242AGREE_OFFER_ERROR_MESSAGE = <django.utils.functional.__proxy__ object at 0x7f99364eaa90>
243ONLY_NON_EMPTY_CATEGORIES_SIDEBAR = False
244CACHEOPS_AGORA = {'enable': {}}
245PERMISSION_DEFAULT_PERMISSION_HANDLER = 'permission.handlers.LogicalPermissionHandler'
246IMAGE_PROCESSOR_PARSER = 'agora.plugins.processors.backend.CSVProductImagesParserUtf'
247ROBOKASSA_SUCCESS_URL = '/'
248SMS_TRAFFIC = None
249SHOP_SHOW_OPT_PRICES = True
250USE_ELASTIC_SEARCH_PRODUCTS = False
251NOTIFY_SUPPLIERS_NEW_PRODUCTS_WITH_LOWER_PRICE = False
252IMPORT_ORDER_BACKEND = 'agora.optima.order.backend.ImportOrderDefault'
253MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
254ALLOW_USE_FLOATS_AS_PRODUCT_COUNTS = False
255SHOW_AVAILABLE_STOCK_WIDGET_TITLE = True
256SESSION_COOKIE_NAME = 'sessionid'
257ORDER_SHIPPING_DATE_INVISIBLE = False
258OPTIMA_PROJECT_SURGAZ = {}
259SERVER_EMAIL = 'root@agoraoptima.ru'
260OPTIMA_PROJECT_TZAR_ELKA = False
261CLICKABLE_MODIFICATION_FILTER_BUTTONS = True
262PERMISSION_DEFAULT_SPL_DELETE_PERMISSION = False
263AGORA_ORDER_FIELDS_REQUIRED = ['pay_type']
264USE_ONLY_FOR_CART_COUPON_GROUPS = False
265FIRST_DAY_OF_WEEK = 0
266ZR_PROMO_PAGE_MAX_COUNT_IMAGES = 3
267PERMISSION_ANONYMOUS_CAN_VIEW_PRICES = True
268CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True, u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}, 'KEY_PREFIX': u'********************', 'LOCATION': 'redis://localhost:6379/1'}, 'contractor-cache': {'BACKEND': 'django_redis.cache.RedisCache', 'KEY_PREFIX': u'********************', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True, u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}, 'TIMEOUT': 40, 'LOCATION': 'redis://localhost:6379/1'}, 'dbtemplates_cache': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}, 'core-cache': {'BACKEND': 'django_redis.cache.RedisCache', 'KEY_PREFIX': u'********************', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True, u'COMPRESS_COMPRESSOR': <built-in function compress>, u'COMPRESS_DECOMPRESSOR': <built-in function decompress>, u'COMPRESS_DECOMPRESSOR_ERROR': <class 'zlib.error'>}, 'TIMEOUT': 60, 'LOCATION': 'redis://localhost:6379/1'}}
269SHOW_PAID_WIDGET = True
270SHELL_PLUS_DONT_LOAD = ['medialibrary', 'salesforce']
271PLAINTEXT_FORMATS = ['txt']
272SESSION_COOKIE_PATH = '/'
273ORDER_BASE_FILTER_FIELDS = ['status', 'contractor', 'transport_company', 'pay_method', 'date_created', 'items__warehouse', 'deleted']
274ELASTICSEARCH_DEFAULT_INDEX = 'fabri-test'
275INFINITY_RESTS = False
276PERMISSION_DEFAULT_GIPL_ADD_PERMISSION = True
277AGORA_COMPANY_FIELDS_DISABLED =
278USE_AGREEMENT_PRODUCTS_CATEGORIES = False
279SALESFORCE_PASSWORD = u'********************'
280DEFAULT_INDEX_TABLESPACE = ''
281PERMISSION_ANONYMOUS_CAN_VIEW_CATALOG = False
282CACHEOPS_DEFAULTS = {'timeout': 1800}
283VOLUME_MEASURE_UNIT = <django.utils.functional.__proxy__ object at 0x7f99364eac10>
284OPTIMA_PROJECT_MICHELIN = {}
285SHOW_SIDEBAR_CATEGORIES_DEFAULT = True
286ORDER_DRAFT_FIELDS_OVERRIDE = None
287SHOW_COMMENT_ORDER_ITEM = True
288USE_X_FORWARDED_HOST = False
289DBTEMPLATES_ADD_DEFAULT_SITE = True
290YML_PRODUCT_DESCRIPTION_EMPTY = <django.utils.functional.__proxy__ object at 0x7f99364eaed0>
291CALLBACK_EMAIL = 'callback@example.com'
292THUMBNAIL_UPSCALE = False
293CSRF_COOKIE_DOMAIN = None
294FILE_CHARSET = 'utf-8'
295DEBUG = True
296PERMISSION_DEFAULT_GIPL_ANY_PERMISSION = False
297SESSION_FILE_PATH = None
298BITRIX_CML = {'classifier_name': u'\u041a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 Agora', 'package_name': u'\u041f\u0430\u043a\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 Agora', 'catalog_name': u'\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 Agora', 'cml_version': u'2.021', 'package_id': u'777', 'catalog_id': u'777', 'classifier_id': u'777'}
299FABRI_USE_CROSS_AUTH = True
300SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
301TRANSPORT_CDEK = None
302STATICFILES_DIRS =
303AGORA_COMPANY_FIELDS_REQUIRED =
304SECURE_PROXY_SSL_HEADER = None
305DEBUG_PROPAGATE_EXCEPTIONS = False
306OPTIMA_PROJECT_GRETA = {}
307MONTH_DAY_FORMAT = 'F j'
308ENABLE_REGISTRATION_USERNAME = False
309PERMISSION_DEFAULT_GIPL_CHANGE_PERMISSION = True
310ZR_SYSTEM_MSG_NEW_ORDER_STATUS = <django.utils.functional.__proxy__ object at 0x7f993646fc10>
311SOCIAL_AUTH_TRAILING_SLASH = False
312AUTH_USER_MODEL = 'core.User'
313USE_THOUSAND_SEPARATOR = False
314ON_DEMAND_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea790>
315CATEGORY_ORDER_INSERTION_BY = 'name'
316BUYER_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea8d0>
317OPTIMA_CATALOG_GLOBAL_SEARCH_ENABLED = False
318CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
319LOGIN_REDIRECT_URL = '/accounts/profile/'
320ORDER_BASE_FILTER_FIELDS_ISNULL_CHOICE_DEFAULT = <django.utils.functional.__proxy__ object at 0x7f99364eaf50>
321USE_ORDER_DRAFTS = True
322DECIMAL_SEPARATOR = '.'
323AGORA_CONTRACTOR_PROFILE_FORM_LAYOUT = ['site', 'phone', 'city', 'additional_regions', 'info_order', 'info_change_order', 'info_status_order']
324IGNORABLE_404_URLS =
325SPREADSHEET_MIMETYPES = ['application/vnd.ms-excel', 'text/csv', 'application/vnd.oasis.opendocument.spreadsheet', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
326CLICKABLE_PRODUCT_IMAGES = False
327TEMPLATE_STRING_IF_INVALID = ''
328ORDER_STATUSES_OVERRIDE = None
329ALLOW_PRICE_EXPIRY_DATE = False
330PERMISSION_DEFAULT_CPL_FIELD_NAME = 'collaborators'
331FIXTURE_DIRS =
332BUY_FROM_CATALOG = True
333SHOW_ETALAGE_MAGNIFIER = True
334SINGLE_SUPPLIER_INSTALLATION = False
335ORDER_INVOICE_NAME = <django.utils.functional.__proxy__ object at 0x7f99364eab10>
336CATALOG_LIST_VIEW = None
337HIDE_ADMIN_REVISIONS_IN_ORDER_HISTORY = False
338FORMAT_MODULE_PATH = None
339DISALLOWED_USER_AGENTS =
340PRODUCT_RESTS = False
341META_TITLE_PRODUCT = u''
342PLAINTEXT_MIMETYPES = ['text/plain']
343PREPEND_WWW = False
344PERMISSION_AUTODISCOVER_VARIABLE_NAME = 'PERMISSION_LOGICS'
345IMAGE_PROCESSOR_REQUESTS_VERIFY = None
346SWITCH_AGREEMENT_STRICT = False
347SOUTH_MIGRATION_MODULES = {'medialibrary': 'agora.cms.migrate.medialibrary', 'page': 'agora.cms.migrate.page'}
348FABRI_FIRM_EDIT_URL = 'http://test.fabrikant.ru/personal/firm/edit/'
349CAN_VIEW_PAGE_MENU = False
350FEINCMS_RICHTEXT_INIT_TEMPLATE = 'admin/content/richtext/init_tinymce4.html'
351PERMISSION_CHECK_AUTHENTICATION_BACKENDS = True
352DISPLAY_PRICES = True
353AGORA_SYNC_CONTRACTOR_ON_VERIFICATION = False
354USE_TZ = False
355SHORT_DATETIME_FORMAT = 'm/d/Y P'
356ADVANCED_TRANSLATION = {'enabled': False}
357ORDER_BASE_FILTER_OR_FIELDS = []
358ORDER_WAREHOUSE_STRICT = False
359FABRI_IFRAME_URL = '//iframe.auth.test.fabrikant.ru/auth/auth-form/get'
360DBTEMPLATES_USE_REVERSION = False
361AGORA_COMPANY_FORM_VALIDATE_OGRN = True
362ORDER_CML_MAPPER_STATUS_MAP = {}
363AGORA_CATALOG_EXTRA_SEARCH_FORM = None
364PROLONGATIONS_MAX_NUMBER = 1
365FORCE_SCRIPT_NAME = None
366OPTIMA_PROJECT_VELOPLANETA = {}
367AGORA_REGISTRATION_USER_FIELDS =
368GET_SOLO_TEMPLATE_TAG_NAME = 'get_design_config'
369ENDLESS_PAGINATION_PER_PAGE_TEMPLATE = 'includes/per_page.html'
370ORDER_EMAIL_DELIVERY_BACKEND = 'agora.optima.order.backend.OrderEmailDeliveryDefaultBackend'
371RUN_CLEANUP_GATEWAYS = True
372AGORA_REGISTRATION_PROFILE_EXCLUDE_FIELDS =
373SOCIAL_AUTH_ADMIN_USER_SEARCH_FIELDS = ['username', 'first_name', 'email']
374SHOW_INVOICE_ALWAYS = False
375AGORA_USER_EMAIL_ACTIVATION = False
376USER_SETTINGS = 'default_warehouse'
377LANGUAGE_CODE = 'ru-ru'
378ROOT_URLCONF = 'agora.urls'
379MANAGERS =
380ELASTICSEARCH_SETTINGS = {'analysis': {'analyzer': {'whitespace_lowercase': {'filter': ['lowercase'], 'char_filter': ['html_strip'], 'type': 'custom', 'tokenizer': 'whitespace'}}}}
381BASE_DIR = '/var/www/fabri-test/agora'
382STATIC_ROOT = '/mnt/resource/fabri-test/static'
383REST_XML_MAPPER_LINK_TAG_NAME =
384ORDER_VERSIONED_FIELDS_OVERRIDE = None
385ORDER_BASE_FILTER_FIELDS_ISNULL_CHOICE = {}
386PERMISSION_AUTODISCOVER_MODULE_NAME = 'perms'
387AGORA_CATALOG_PAGE_TEMPLATE = 'product/product_list_page.html'
388PERMISSION_DEFAULT_CPL_ANY_PERMISSION = False
389SESSION_CACHE_ALIAS = 'default'
390M2M_WIDGETS_OVERRIDE = {'PromoAdmin': {'products': True}, 'ProductStickerAdmin': {'property_value_off': True, 'products': True, 'property_value_on': True}, 'ProductAdmin': {'related_products': True, 'analog_products': True, 'reference_product': True}, 'AgreementAdmin': {'related_products': False}}
391SLUGIFY_FUNCTION = 'agora.core.utils.other.slugify'
392SESSION_COOKIE_DOMAIN = None
393BASE_MENU_SIZE = 'md'
394ALLOW_INDIVIDUAL_CONTRACTORS_REQUISITES = False
395AGORA_PHONE_NUMBER = u'+7 (495) 927-02-78 \u0434\u043e\u0431. 2'
396SEND_SUPPORTS_ABOUT_QUEUE_STOP = True
397REGISTRATION_WIZARD_IGNORING_VIEWS = ['logout', 'SupplierRegistrationWizardView', 'ContractorRegistrationWizardView', 'SMSCodeGetApiView', 'SocialAuthPopupCloseView', 'SocialAuthUnauthorizedOnlyView', 'Handler', 'LoginView', 'auth', 'complete', 'UserChangePasswordView', 'CashierView', 'CashierWithdrawView', 'CashierHistoryView', 'CashierHistoryExportCSVView']
398AGORA_COMPANY_SHOW_FORM = True
399PERMISSION_CHECK_PERMISSION_PRESENCE = True
400FILE_UPLOAD_PERMISSIONS = None
401SUPPLIER_REQUIRED_CATEGORIES_TO_EDIT_PRODUCT = True
402APPEND_SLASH = True
403DATABASE_ROUTERS = []
404AGORA_RETAIL_MCASHMERE = False
405MANAGER_CAN_EDIT_WAREHOUSE = False
406DISPLAY_CATEGORIES_IN_ORDER = True
407DBTEMPLATES_AUTO_POPULATE_CONTENT = True
408PERMISSION_DEFAULT_OSPL_ANY_PERMISSION = False
409SOLO_CACHE_TIMEOUT = 1800
410MIDDLEWARE_CLASSES = ['django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'waffle.middleware.WaffleMiddleware', 'agora.admin.middleware.SuperUserRedirectFromPublicMiddleware', 'agora.payment_system.middleware.RedirectCachierMiddleware', 'agora.middleware.common.UserActivationMiddleware', 'agora.middleware.common.UserBlockMiddleware', 'agora.middleware.common.UserVerificationMiddleware', 'agora.price_proxy.middleware.RequestContractorMiddleware', 'agora.core.middleware.PaginationMiddleware', 'agora.core.middleware.SwitchToRoleMiddleware', 'agora.core.middleware.AuthRestTokenMiddleware', 'threadlocals.middleware.ThreadLocalMiddleware', 'agora.core.middleware.SessionForwardingMiddleware', 'agora.core.analytics.middleware.RegisterUserActivityMiddleware', 'agora.plugins.fabri.middleware.FabriCrossAuthMiddleware']
411USE_I18N = True
412DISPLAY_DOWNLOAD_TEMPLATE_ORDERS = True
413LANGUAGE_COOKIE_NAME = 'django_language'
414EXTRA_ORDER_DATA = None
415CONTRACTOR_GROUP_XML_MAPPER_LINK_TAG_NAME = ''
416WSGI_APPLICATION = 'agora.wsgi.application'
417X_FRAME_OPTIONS = 'SAMEORIGIN'
418PERMISSION_DEFAULT_GIPL_DELETE_PERMISSION = False
419DISPLAY_MODIFICATIONS_IN_ORDER = True
420AGORA_CELERY_PERIODIC_TASK_SCHEDULE = {'agora': {'optima': {'bids': {'tasks': {'send_bids_to_suppliers': {'locked': 60, 'crontab': {'minute': '*/10'}}}}}, 'core': {'supplier': {'tasks': {'notify_supplier_who_should_update_assortiment': {'locked': 60, 'crontab': {'minute': '0', 'hour': '8'}}, 'notify_suppliers_new_products_with_lower_price_task': {'locked': 60, 'crontab': {'minute': '0', 'hour': '8'}}}}, 'currency': {'tasks': {'update_currency_exchange_rates': {'locked': 100, 'crontab': {'hour': '9', 'minute': '0'}}}}, 'order': {'trades': {'tasks': {'notification_on_payment_overdue': {'locked': 60, 'crontab': {'minute': '0', 'hour': '8'}}}}}}, 'gateways': {'tasks': {'detect_queue_stop': {'locked': 30, 'crontab': {'minute': '*/10'}}, 'cleanup_gateways': {'locked': 60, 'crontab': {'minute': '0', 'hour': '3'}}}}, 'plugins': {'chat': {'tasks': {'update_contact_lists': {'locked': 10, 'crontab': {'minute': '*/1'}}}}}}}
421DISPLAY_IMPORT_TYPES = ['yml', 'xls']
422USE_ETAGS = False
423SLUGIFY_USERNAMES = True
424CACHEOPS_FAKE = True
425AGORA_WARRANTY_EMAIL = 'warranty@example.com'
426NAVBAR_BRAND_LOGO_URL = u'/'
427ORDER_FORM_FIELDS_OVERRIDE = ['id', 'comment', 'delivery_address', 'supplier_transport_company', 'shipping_date', 'pay_type', 'pay_method', 'change_warehouse', 'consignee_warehouse', 'name']
428GATEWAY_XLS_PROPERTY_DOUBLE_COLUMNS = False
429REQ_CONFIG_NAME = None
430PORTAL_COMPANY_FORM_ON_REGISTRATION = False
431ENABLE_COUNTRIES_ADMIN = False
432AGORA_COMPANY_FORM_LAYOUT = ['type', 'klass', 'name', 'inn', 'jur_address', 'kpp', 'ogrn', 'fabri', 'bik', 'corr_account', 'pay_account']
433MATCHING_DEFAULT_CATEGORY_BACKEND = 'category'
434OPTIMA_REGISTRATION_VIEW = None
435AGORA_CMS_STANDARD_PAGE_TEMPLATE = 'cms_standard.html'
436REGISTRATION_WIZARD_PHONE_MASK = u'+7 (999) 999-99-99[ \u0434\u043e\u0431. 9999]'
437ORDER_SPLIT_ON_BASE_AND_PREORDER = False
438CML_ALTERNATIVE_EXTERNAL_LINK = False
439ROBOKASSA_ERROR_URL = '/'
440MATCHING_SEARCH_ADAPTER = 'agora.core.product.search_adapters.ProductSearchAdapter'
441EMAIL_HOST_PASSWORD = u'********************'
442PERMISSION_DEFAULT_APL_CHANGE_PERMISSION = True
443ALLOW_INDIVIDUAL_CONTRACTORS = True
444PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
445COUPONS_CUSTOMS = {'extra': None, 'operator_support': ['>>'], 'context': [], 'debug': False, 'max_coupon_property_pk': None, 'backend': []}
446FABRI_AUTH_COOKIE_NAME = 'auth'
447CATALOG_FILTERS_DISPLAY_TYPE = 'normal'
448AGORA_RETAIL_COMPANION = False
449AGORA_EXTRA_CSS = []
450GEOIP_SUPPLIER_CITY_LIST = False
451CATALOG_FILTERS_WIDGET = 'checkboxes'
452OPTIMA_PROJECT_VARTON = False
453AGORA_REGISTRATION_PROFILE_FIELDS =
454DIFFERENT_MODIFICATIONS_PRICES = True
455SOCIAL_AUTH_URL_NAMESPACE = 'social'
456SERVICE_ADMIN_EMAILS = ['storeinfo@fabrikant.ru']
457REQUESTS_RUSSIAN_PROXIES = None
458ORDER_DOCUMENTS_ON_TOP = False
459SOCIAL_AUTH_STRATEGY = 'social.strategies.django_strategy.DjangoStrategy'
460YOUR_MANAGER_WIDGET_VIEW = 'agora.optima.manager.views.SendMessageToManagerView'
461SOLID_I18N_DEFAULT_PREFIX_REDIRECT = True
462PRODUCT_SEARCH_REFERENCES = False
463DBTEMPLATES_MEDIA_PREFIX = '/static/dbtemplates/'
464DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
465ADMINS = []
466AUTO_MATCHING_REFERENCE_PRODUCT = True
467PERMISSION_DEFAULT_OSPL_DELETE_PERMISSION = True
468OPTIMA_PROJECT_MEBELSON = False
469DATETIME_FORMAT = 'N j, Y, P'
470USE_API = u'********************'
471TEMPLATE_LOADER_PRIORITIES = ['/var/www/fabri-test/agora/admin/templates']
472LOGOUT_URL = '/accounts/logout/'
473USE_PROMO_WITH_PRODUCTS = False
474EDIT_INVOICE_TEMPLATE = True
475AGORA_CONTRACTOR_PROFILE_FORM_LAYOUT_BY_USER = {}
476SHOW_UPD_INVOICE = False
477SAVE_IMPORTED_FILE = False
478CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
479ENDLESS_PAGINATION_PER_PAGE = 20
480LOGIN_REDIRECTS = {'customer_service': 'order_list', 'super_manager': 'order_list', 'cashier': 'cashier', 'contractor': 'product_list', 'manager': 'order_list', 'supplier': 'order_list'}
481META_TITLE_CATEGORY = u''
482DEFAULT_TABLESPACE = ''
483AGORA_DOMAIN = ''
484ASSORTIMENT_UPDATES_FREQUENCY_DAYS_DEFAULT = 14
485OPTIMA_PROJECT_ZR = {}
486DEFAULT_DISTRIBUTION_MARKET = None
487SESSION_COOKIE_AGE = 1209600
488SETTINGS_MODULE = 'agora.settings.fabri-test'
489DISPLAY_EXPORT_1C_ORDERS = False
490ZR_SYSTEM_MSG_NEW_ORDER = <django.utils.functional.__proxy__ object at 0x7f993784dc10>
491LANGUAGES = ('ru', 'Russian')
492SALESFORCE_TOKEN = u'********************'
493COLLAPSIBLE_DESCRIPTION = False
494DEV_EMAIL_RECIPIENTS_REPLACE_TO = []
495FEINCMS_RICHTEXT_INIT_CONTEXT = {'TINYMCE_JS_URL': '/static/cms/tinymce/tinymce.min.js'}
496AGORA_RETAIL_INSTALLATION = False
497ABSOLUTE_URL_OVERRIDES = {}
498GATEWAY_USE_REGISTRATION_BY_PHONE = False
499PHONE_INPUT_MASK = u'+7 (999) 999-99-99[ \u0434\u043e\u0431. 9999]'
500CELERYBEAT_SCHEDULE = {'agora.gateways.tasks.cleanup_gateways': {'task': 'agora.gateways.tasks.cleanup_gateways', 'schedule': <crontab: */10 * * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.product.tasks.delete_expired_prices': {'task': 'agora.core.product.tasks.delete_expired_prices', 'schedule': <crontab: 0 0 * 1 * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.integration.tasks.periodic_export_xml': {'task': 'agora.core.integration.tasks.periodic_export_xml', 'schedule': <crontab: 0 */1 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.supplier.tasks.notify_supplier_who_should_update_assortiment': {'task': 'agora.core.supplier.tasks.notify_supplier_who_should_update_assortiment', 'schedule': <crontab: 0 8 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.currency.tasks.update_currency_exchange_rates': {'task': 'agora.core.currency.tasks.update_currency_exchange_rates', 'schedule': <crontab: 0 9 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.order.trades.tasks.notification_on_payment_overdue': {'task': 'agora.core.order.trades.tasks.notification_on_payment_overdue', 'schedule': <crontab: 0 8 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.plugins.chat.tasks.update_contact_lists': {'task': 'agora.plugins.chat.tasks.update_contact_lists', 'schedule': <crontab: */1 * * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.supplier.tasks.notify_suppliers_new_products_with_lower_price_task': {'task': 'agora.core.supplier.tasks.notify_suppliers_new_products_with_lower_price_task', 'schedule': <crontab: 0 8 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.gateways.xls.tasks.periodic_index': {'task': 'agora.gateways.xls.tasks.periodic_index', 'schedule': <crontab: 0 */1 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.order.tasks.update_all_cart_prices': {'task': 'agora.core.order.tasks.update_all_cart_prices', 'schedule': <crontab: 0 4 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.gateways.tasks.detect_queue_stop': {'task': 'agora.gateways.tasks.detect_queue_stop', 'schedule': <crontab: */10 * * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.integration.tasks.export_bitrix': {'task': 'agora.core.integration.tasks.export_bitrix', 'schedule': <crontab: 0 3 6 * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.index.tasks.update_indexes': {'task': 'agora.core.index.tasks.update_indexes', 'schedule': <crontab: */5 * * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'agora.core.contractor.tasks.update_agreements_status': {'task': 'agora.core.contractor.tasks.update_agreements_status', 'schedule': <crontab: 0 0 * * * (m/h/d/dM/MY)>, 'args': (), 'relative': False, 'kwargs': {}, 'options': {}}, 'send-productlist-notifications': {'task': 'agora.optima.productlist.tasks.collect_subscribed_changes', 'args': (), 'schedule': datetime.timedelta(0, 600)}}
501GRAND_MANAGER_PARAMS = {'order_edit_status_range': [1, 2, 3]}
502CACHE_MIDDLEWARE_SECONDS = 600
503CSRF_COOKIE_HTTPONLY = False
504GETTEXT_EXTRA_KEYWORDS = u'********************'
505PROFANITIES_LIST = u'********************'
506AGORA_REGISTRATION_FORM_LAYOUT = ['klass', 'inn', 'kpp', 'ogrn', 'jur_address', 'fabri', 'bik', 'corr_account', 'pay_account']
507EMAIL_HOST_USER = ''
508SHOW_PRODUCT_IMAGES = True
509EMAIL_ENABLE_OVERRIDE_FROM = True
510GRAPPELLI_INDEX_DASHBOARD = 'agora.admin.dashboard.IndexDashboard'
511PRODUCT_THUMBNAILS =
512AGORA_USE_VERIFICATION = True
513CSRF_COOKIE_SECURE = False
514AUTOPLAY_INTERVAL_ETALAGE = 6000
515CHAT_OPTIONS = {'email_notification_crontab': None, 'direct_update_contact_list': True, 'contact_list_backend': 'agora.plugins.chat.backends.contact_list.DefaultContactListBackend'}
516LOGIN_REDIRECTS_PERMANENT = False
517SPREADSHEET_FORMATS = ['xls', 'xlsx', 'ods', 'csv']
518BUY_FROM_CATALOG_MULTI = False
519CURRENT_COUNTRY = 'RUS'
520AGORA_REGISTRATION_PROFILE_FORM = None
521AGORA_COPYRIGHT = False
522ORDER_ITEM_VERSIONED_FIELDS_OVERRIDE = None
523SHOP_INITIAL_MIN_MAX_FOR_PRICE_FILTER_FORM = False
524AGORA_RETAIL_OPT_BASE_URL = 'http://example.com'
525DISPLAY_EXPORT_ORDERS = False
526SUPPLIER_REQUIRED_SETTINGS_TO_EDIT_PRODUCT = []
527AGORA_CMS_ALT_INDEX_PAGES = 0
528DEFAULT_TIMEOUT = 3600
529KLASSES_CORE_OVERRIDE = None
530ADMIN_FOR =
531MANAGER_CAN_EDIT_STATUS = False
532ORDER_CANCEL_ON_NO_ITEMS = False
533CATALOG_HIDE_ALL_WAREHOUSES = False
534IMAGE_PROCESSOR = 'agora.plugins.processors.backend.ImageProcessorProductByCode'
535FILE_UPLOAD_HANDLERS =
536DEFAULT_CONTENT_TYPE = 'text/html'
537LAST_FINANCE_DOCUMENTS_COUNT = None
538SALESFORCE_SECRET = u'********************'
539FABRI_AMQP_URL = 'amqp://f_store:123@10.31.85.35/fabrikant_f_store'
540SHOW_ORDER_ITEM_PRICE_WITH_COUPON = False
541AGORA_APPS =
542STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
543REST_SERIALIZERS = {'ORDER_ITEM_SERIALIZER': {'default': 'agora.api.rest.v1.core.order.serializers.OrderItemSerializer', 'detail': 'agora.api.rest.v1.core.order.serializers.OrderItemDetailedSerializer'}, 'ORDER_CART_SERIALIZER': {'default': 'agora.api.rest.v1.core.order.serializers.AddToCartSerializer'}, 'PRODUCT_SERIALIZER': {'default': 'agora.api.rest.v1.edge.fabri.serializers.FabriProductSerializer', 'detail': 'agora.api.rest.v1.edge.fabri.serializers.FabriProductDetailSerializer'}, 'SUPPLIER_SERIALIZER': {'default': 'agora.api.rest.v1.core.accounts.serializers.SupplierSerializer', 'detail': 'agora.api.rest.v1.edge.fabri.serializers.FabriSupplierDetailSerializer'}, 'USER_FAVORITE_SERIALIZER': {'default': 'agora.api.rest.v1.core.wishlist.serializers.UserFavoriteSerializer'}, 'REGISTRATION_SERIALIZER': {'default': 'agora.api.rest.v1.core.accounts.serializers.AccountSerializer', 'supplier': 'agora.api.rest.v1.core.accounts.serializers.AccountSupplierSerializer', 'contractor': 'agora.api.rest.v1.core.accounts.serializers.AccountContractorSerializer'}, 'CATEGORY_SERIALIZER': {'default': 'agora.api.rest.v1.core.product.serializers.CategorySerializer', 'sublevel': 'agora.api.rest.v1.core.product.serializers.NotEmptyCategorySubLevelSerializer', 'detail': 'agora.api.rest.v1.core.product.serializers.NotEmptyCategoryDetailSerializer'}, 'ORDER_SERIALIZER': {'default': 'agora.api.rest.v1.core.order.serializers.OrderSerializer'}, 'FAVORITE_SERIALIZER': {'default': 'agora.api.rest.v1.core.order.serializers.AddToFavoriteSerializer'}, 'PROMOTION_USER_PRODUCT_TARIFF': {'default': 'agora.api.rest.v1.core.promotion.serializers.UserProductTariffSerializer', 'transition': 'agora.api.rest.v1.core.promotion.serializers.TransitionSerializer'}, 'ACCOUNT_SERIALIZER': {'default': 'agora.api.rest.v1.core.accounts.serializers.AccountSerializer', 'supplier': 'agora.api.rest.v1.core.accounts.serializers.AccountSupplierSerializer', 'contractor': 'agora.api.rest.v1.core.accounts.serializers.AccountContractorSerializer'}, 'ROBOKASSA_SERIALIZER': {'default': 'agora.api.rest.v1.core.robokassa.serializers.RobokassaSerializer'}}
544AGORA_CATALOG_PRODUCT_TITLE_TEMPLATE = 'includes/product_title.html'
545THUMBNAIL_BACKGROUND = 'white'
546ONLY_BASE_MODIFICATION_IMAGES = False
547AGORA_COMPANY_FORM_VALIDATE_INN = True
548OPTIMA_PROJECT_BIOCAD_EN = False
549CUSTOM_SORTING_BY_NEW_ON = False
550OPTIMA_USE_REGISTRATION_BY_CUSTOMER_SERVICE = False
551AGREE_LABEL = <django.utils.functional.__proxy__ object at 0x7f99364ea910>
552BROKER_TRANSPORT = 'redis'
553LOGGING_CONFIG = 'django.utils.log.dictConfig'
554AGORA_COMPANY_FORM_HELP_TEXT_OVERRIDES = {}
555TEMPLATE_LOADERS =
556SOLO_CACHE_PREFIX = 'solo'
557NEWSLETTER_CONFIRM_EMAIL = False
558ONLY_FOR_CART_COUPON_GROUPS = []
559ZR_PROMO_PAGE_MAX_COUNT_PRODUCTS = 10
560DEMO_CONTRACTOR_USER_ID = None
561REST_FILTERS = {'PRODUCT_FILTER': {'default': 'agora.api.rest.v1.core.product.filters.ProductFilter'}, 'CATEGORY_FILTER': {'default': 'agora.api.rest.v1.core.product.filters.NotEmptyCategoryFilter'}}
562ORDER_REVERSE_HISTORY = False
563PERMISSION_CHECK_TEMPLATES_OPTIONS_BUILTINS = True
564SESSION_COOKIE_SECURE = False
565AGORA_SYNC_CONTRACTOR_ON_CREATE = False
566AGREE_OFFER_LABEL = <django.utils.functional.__proxy__ object at 0x7f99364eaa10>
567CATALOG_ALWAYS_COL_MD_3 = False
568AGORA_RETAIL_INN = '1234567894'
569AGORA_REGISTRATION_USER_EXCLUDE_FIELDS =
570INSTALLED_APPS =
571COMMENTS_ALLOW_PROFANITIES = False
572ROBOKASSA_REDIRECT_DOMAIN = ''
573FOOTER_NAV_TEMPLATE = 'includes/footer_nav.html'
574DATABASE_NAME = 'optima3_fabri-test'
575STRONGHOLD_PUBLIC_NAMED_URLS =
576AGORA_ADMIN_PAGINATION_PER_PAGE = 100
577SESSION_COOKIE_HTTPONLY = True
578OPTIMA_USE_REGISTRATION_BY_SUPPLIER = False
579SWAGGER_SETTINGS = {'info': {'title': 'Agora REST api'}, 'doc_expansion': 'none', 'api_path': '/api/rest/v1/', 'exclude_namespaces': [], 'exclude_url_names': [], 'template_path': 'rest_framework_swagger/index.html', 'relative_paths': True, 'is_authenticated': False, 'permission_denied_handler': None, 'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'], 'token_type': 'Token', 'is_superuser': False, 'resource_access_handler': None, 'unauthenticated_user': 'django.contrib.auth.models.AnonymousUser', 'api_key': '', 'api_version': ''}
580DBTEMPLATES_USE_TINYMCE = False
581SUPPLIER_PREMODERATION = False
582AGORA_CHANGE_PASSWORD_PAGE_TEMPLATE = u'********************'
583OPTIMA_USE_REGISTRATION_BY_USER = True
584AGORA_CMS_INDEX_PAGE_TEMPLATE = 'cms_index.html'
585RRC_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea7d0>
586SHELL_PLUS_PRE_IMPORTS = 'agora.urls'
587SOCIAL_AUTH_STORAGE = 'social.apps.django_app.default.models.DjangoStorage'
588DATE_INPUT_FORMATS =
589PRODUCT_STICKER_SLIDER_LIMIT = 20
590PHONENUMBER_DEFAULT_REGION = 'ru'
591CSRF_COOKIE_NAME = 'csrftoken'
592GEOIP_FILTER_PRODUCTS_BY_REGION = False
593NUMBER_GROUPING = 0
594PERMISSION_ANONYMOUS_CAN_VIEW_SUPPLIERS = False
595MANAGER_CAN_EDIT_PAID = False
596AGORA_CMS_TABS_PAGE_TEMPLATE = 'cms_tabs.html'
597LOCALE_PATHS = '/var/www/fabri-test/agora/settings/../../locale'
598SOCIAL_AUTH_PIPELINE =
599RRC_FULL_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea810>
600LOGGING = {'loggers': {'walletone': {'handlers': ['console', 'logfile'], 'propagate': False, 'level': 'DEBUG'}, 'agora.optima.product.views': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.core.coupon.utils': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.gateways.xls.gateway': {'handlers': ['console'], 'propagate': True, 'level': 'INFO'}, 'agora.core.product.models': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'elastic': {'handlers': ['console', 'logfile'], 'propagate': False, 'level': 'DEBUG'}, 'agora.gateways.bibserve.gateway': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.core.order.utils': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'django': {'handlers': ['logfile'], 'propagate': False, 'level': 'ERROR'}, 'agora.plugins.datamatching': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'INFO'}, 'agora.price_proxy.price_proxy': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.gateways.base': {'handlers': ['console'], 'propagate': True, 'level': 'INFO'}, 'spyne': {'handlers': ['logfile', 'console'], 'propagate': False, 'level': 'ERROR'}, 'agora.core.utils.permissions': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'kassa': {'handlers': ['console', 'logfile'], 'propagate': False, 'level': 'DEBUG'}, 'agora.gateways.views': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.optima.site.views': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'agora.core.utils.mail': {'handlers': ['logfile', 'console'], 'propagate': True, 'level': 'ERROR'}, 'django.request': {'handlers': ['mail'], 'propagate': True, 'level': 'ERROR'}, 'paymaster': {'handlers': ['console', 'logfile'], 'level': 'DEBUG'}}, 'disable_existing_loggers': True, 'handlers': {'mail': {'include_html': True, 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'logfile': {'backupCount': 5, 'level': 'WARNING', 'filename': '/var/log/fabri-test/fabri-test.log', 'formatter': 'standard', 'class': 'logging.handlers.RotatingFileHandler', 'maxBytes': 10485760}, 'console': {'formatter': 'simple', 'class': 'logging.StreamHandler', 'level': 'INFO'}}, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}, 'standard': {'format': '[%(levelname)s] [%(asctime)s] %(filename)s:%(funcName)s:%(lineno)s : %(message)s'}}, 'version': 1, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}}
601CUSTOM_CART = None
602EMAIL_USE_TLS = False
603FABRI_REGISTER_URL = 'http://test.fabrikant.ru/personal/registration/'
604BLOCKS_POSITIONS = {'supplier_product_detail': ['product', 'modifications', 'comments']}
605COUPONS_AUTOGROUPING_MODULE = None
606EMAIL_HOST = 'localhost'
607REST_BASE64_FILE_SIZE_LIMIT = {'message': u'\u0420\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c 1 \u043c\u0431', 'size': 1048576}
608FABRI_API_BASE_URL = u'********************'
609OPTIMA_PROJECT_TECHNOSIB = {}
610CART_UPDATE_ALL_PRICES = True
611SET_FIRST_AGREEMENT_FROM_ONEC_AS_DEFAULT = False
612REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication')}
613ZR_ADMIN_EMAIL = 'tyres@zr.ru'
614THOUSAND_SEPARATOR = ','
615MEDIA_URL = '/media/'
616TEMPLATE_DIRS =
617SHOW_DESCRIPTION_IN_CATALOG = False
618USE_PROMO = False
619USE_AGREEMENT_PRODUCTS = False
620SEARCH_IN_ALL_INITIAL = False
621OPTIMA_PROJECT_SAF = False
622PROJECT_NAME = 'fabri-test'
623TEST_RUNNER = 'django.test.runner.DiscoverRunner'
624YML_PRODUCT_URL = None
625AGORA_WIZARD_REGISTRATION_EXCLUDE_FIELDS = {'supplier': ['rating', 'quantity_produced', 'warehouses', 'assortment_of', 'supplier', 'min_number_of_items', 'email', 'country'], 'contractor': ['contractor', 'country']}
626TIME_ZONE = 'Europe/Moscow'
627ELASTICSEARCH_REQUEST_TIMEOUT = 30
628HWL_MEASURE_UNIT = <django.utils.functional.__proxy__ object at 0x7f99364eac90>
629PERMISSION_DEFAULT_APL_DELETE_PERMISSION = True
630PORTAL_CATALOG_LINK = 'product_list'
631EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
632BLOGIC = {'bprocesses': {'placement': {'machine': 'DefaultPlacementStateMachine'}}}
633TEMPLATE_CONTEXT_PROCESSORS =
634SMART_1C_STICKERS = False
635AGORA_REGISTRATION_FORM_LAYOUT_BY_USER = {}
636LANGUAGES_BIDI =
637SESSION_ENGINE = 'django.contrib.sessions.backends.db'
638ROBOKASSA_FAIL_URL = '/'
639VARIATIVE_STRING_NAMES = {'warehouse': <django.utils.functional.__proxy__ object at 0x7f99364ead10>}
640CELERY_RESULT_BACKEND = 'database'
641SHOW_AVAILABLE_STOCK_WIDGET = False
642AGORA_CHANGE_EMAIL_VIEW_ENABLED = False
643DISPLAY_LOAD_FROM_FILE_ORDERS = True
644MODIFICATION_SEARCH_JSON_VIEW = None
645PLACEMENT_ON_MODERATION_ADMIN_EMAILS = []
646PERMISSIONS = None
647CSV_DEFAULT_CHARSET = 'utf-8'
648SOLID_I18N_USE_REDIRECTS = False
649CONTRACTOR_ACCEPT_UPLOAD_FORMATS = ['xls', 'xlsx', 'ods', 'csv']
650ORDER_DELETE_ON_NO_ITEMS = True
651ORDER_PLACE_WITHOUT_REQUISITES = False
652SMART_IMPORT_XLS = True
653YOUR_MANAGER_WIDGET_NAME = <django.utils.functional.__proxy__ object at 0x7f99364eafd0>
654REGISTRATION_WIZARD_REDIRECTS = {'supplier': 'supplier_settings', '': '/', 'contractor': 'contractor_settings'}
655DEFAULT_SWITCH_ROLE = 'contractor'
656CELERY_CREATE_MISSING_QUEUES = True
657NODEJS_CHAT_PATH = '/'
658ALLOW_EXTENDED_STICKERS = False
659AGORA_CATALOG_VIEW_MODE = {'grid': {'active': False, 'text': <django.utils.functional.__proxy__ object at 0x7f99364ea610>, 'header_template': None, 'template': 'product/includes/product_grid_item.html', 'icon': 'fa-th'}, 'table': {'active': False, 'text': <django.utils.functional.__proxy__ object at 0x7f99364ea710>, 'header_template': None, 'template': 'product/includes/product_table_item.html', 'icon': 'fa-align-justify'}, 'list': {'active': True, 'text': <django.utils.functional.__proxy__ object at 0x7f99364ea750>, 'header_template': None, 'template': 'product/includes/product_list_item.html', 'icon': 'fa-th-list'}}
660AGORA_CONTRACTOR_CREATE_ANOTHER_CONTRACTOR = True
661MODIFICATION_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea890>
662DEFAULT_CHARSET = 'utf-8'
663FLOWER = {'url': 'http://127.0.0.1:7040', 'enabled': False, 'import_worker_name_prefix': 'worker_', 'import_worker_domain': None, 'prefix': None, 'user': 'flower_admin', 'import_worker_name_postfix': '_import', 'password': None}
664DBTEMPLATES_USE_CODEMIRROR = True
665REST_TEST_FACTORIES = {'REGISTRATION_FACTORY': {'default': 'agora.api.rest.v1.core.accounts.factories.AccountFactory', 'supplier': 'agora.api.rest.v1.core.accounts.factories.AccountSupplierFactory', 'contractor': 'agora.api.rest.v1.core.accounts.factories.AccountContractorFactory'}, 'PRODUCT_FACTORY': {'default': 'agora.api.rest.v1.core.product.factories.ProductFactory'}, 'ORDER_FACTORY': {'default': 'agora.api.rest.v1.core.order.factories.OrderFactory'}, 'ACCOUNT_FACTORY': {'default': 'agora.api.rest.v1.core.accounts.factories.AccountFactory', 'supplier': 'agora.api.rest.v1.core.accounts.factories.AccountSupplierFactory', 'contractor': 'agora.api.rest.v1.core.accounts.factories.AccountContractorFactory'}, 'ORDER_ITEM_FACTORY': {'default': 'agora.api.rest.v1.core.order.factories.OrderItemFactory'}}
666ERROR_MESSAGE_ORDER_BAD_WAREHOUSE = <django.utils.functional.__proxy__ object at 0x7f99364eae10>
667GATEWAYS = {'xls': {'products': {'default_rest': 0, 'property_start_index': 8, 'sheet': 0, 'title': {0: <django.utils.functional.__proxy__ object at 0x7f99364762d0>, 1: <django.utils.functional.__proxy__ object at 0x7f9936476950>, 2: <django.utils.functional.__proxy__ object at 0x7f9936476990>, 3: <django.utils.functional.__proxy__ object at 0x7f99364769d0>, 4: <django.utils.functional.__proxy__ object at 0x7f9936476a50>, 5: <django.utils.functional.__proxy__ object at 0x7f9936476ad0>, 6: <django.utils.functional.__proxy__ object at 0x7f9936476b50>, 7: <django.utils.functional.__proxy__ object at 0x7f9936476bd0>}, 'mapping': {'category': {'name': 1}, 'product': {'description': 4, 'name': 3, 'id': 0}, 'modification': {}, 'image': {'source': 7}, 'supplier_category': {'name': 2}, 'rest': {'rest': 6}, 'warehouse': {}, 'user': {}, 'supplier': {}, 'property': {}, 'price': {'currency_price': 5}}, 'link_tag_name': [0], 'color_map': {'field': 1, 'colors': ['FFFF99', 'CCFF99', 'FFFFCC', 'CCCCFF', 'FFCCFF', 'CCFFFF', 'CCCCCC', '99FFCC', 'FFCCCC', 'CCCC99', 'FFCC99', 'CCFFCC']}, 'main_mapper': 'product', 'order_by': 'category', 'type_mapping': {0: (<type 'int'>, <type 'float'>, <type 'str'>, <type 'unicode'>), 1: (<type 'str'>, <type 'unicode'>), 2: (<type 'str'>, <type 'unicode'>), 3: (<type 'int'>, <type 'float'>), 4: (<type 'int'>, <type 'float'>), 5: (<type 'int'>, <type 'float'>), 6: (<type 'int'>, <type 'float'>), 7: (<type 'str'>, <type 'unicode'>), 8: (<type 'str'>, <type 'unicode'>)}}}}
668ALLOWED_HOSTS = ['*']
669PERMISSION_DEFAULT_CPL_DELETE_PERMISSION = False
670EMAIL_SUBJECT_PREFIX = '[Django] '
671SEND_BROKEN_LINK_EMAILS = False
672AGORA_CHANGE_PASSWORD_CHECK_CURRENT_PASSWORD = u'********************'
673STATICFILES_FINDERS =
674SALESFORCE_KEY = u'********************'
675ORDER_SUCCESS_MESSAGES = [<django.utils.functional.__proxy__ object at 0x7f99364ead90>]
676STATIC_URL = '/static/'
677TIME_INPUT_FORMATS =
678DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'NAME': 'optima3_fabri-test', 'TEST_MIRROR': None, 'OPTIONS': {}, 'CONN_MAX_AGE': 0, 'TIME_ZONE': 'Europe/Moscow', 'TEST_COLLATION': None, 'TEST_CHARSET': None, 'HOST': 'localhost', 'USER': 'dbu_optima3', 'TEST_NAME': None, 'PASSWORD': u'********************', 'PORT': ''}}
679SHOW_CATALOG_TO_SUPPLIERS = True
680FORCE_DISABLE_GATEWAY_EXPORT = False
681FABRI_AUTH_COOKIE_DOMAIN = '.test.fabrikant.ru'
682THIRD_PARTY_SERVICES_INTEGRATION = {'cdek_new_orders': None, 'tuvers': {'url': 'http://demo.b2b-center.ru/catalog/api', 'secret_key': 'secret_key_11'}, 'ENABLED': False, 'bitrix_changed': None, 'direct_cml': None, 'bitrix': None}
683AGORA_SUPPLIER_REQUISITES_READ_ONLY = True
684ZR_SYSTEM_MSG_EDIT_ORDER = <django.utils.functional.__proxy__ object at 0x7f993646ff90>
685OPTIMA_PROJECT_SHARIK = {}
686PRODUCT_RANDOM_PRODUCT_BLOCK = 20
687OPTIMA_MULTIPLE_COUNTRIES_ON_REGISTRATION = []
688ORDER_BASE_FILTER_CACHED_FIELDS = ['status', 'contractor', 'transport_company', 'pay_method', 'items__warehouse', 'deleted']
689OPTIMA_CATALOG_GLOBAL_SEARCH_URL_NAME = 'global_search_product_list'
690AGORA_SYNC_CONTRACTOR_ON_CREATE_ANOTHER_CONTRACTOR = False
691PRODUCT_SEARCH_MODIFICATIONS_CODE_BARCODE = False
692AGREE_OFFER = False
693IMPORT_TO_ANOTHER_SERVERS =
694NEWSLETTER_RICHTEXT_WIDGET = 'tinymce.widgets.TinyMCE'
695REST_AUTH_SERIALIZERS = {'PASSWORD_RESET_SERIALIZER': u'********************'}
696SECRET_KEY = u'********************'
697USERMEDIA_PRIVATE = '/var/www/fabri-test/usermedia_private'
698YOUR_MANAGER_WIDGET_EMAIL_OVERRIDE = None
699GATEWAY_SYSTEM_WIDE_CONTRACTOR = {'company__inn': u'\u0418\u041d\u041d'}
700ENDLESS_PAGINATION_PER_PAGE_VALUES = [5, 10, 20]
701FILE_UPLOAD_TEMP_DIR = None
702TRANSACTIONS_MANAGED = False
703AGORA_COMPANY_FORM_VALIDATE_KPP = True
704ORDER_LIST_VIEW = None
705SOLO_CACHE = 'default'
706AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend', 'permission.backends.PermissionBackend']
707PROJECT_MIXINS_NAME = None
708AUTO_RESTS_ACCOUNTING = False
709SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
710COUPON_PRIORITIES_OVERRIDE = None
711THUMBNAIL_ENGINE = 'agora.core.utils.thumb_engine.CustomEngine'
712USE_ADDRESS_CLASSIFIER = False
713REST_AUTH_TOKEN_CREATOR = u'********************'
714AGORA_COMPANY_PRE_VALIDATE_FIELDS = 'inn'
715OPTIMA_PROJECT_ATLANTDRB = False
716CACHES_IGNORE_REDIS_EXCEPTIONS = True
717DEFAULT_FILE_STORAGE = 'storages.backends.overwrite.OverwriteStorage'
718USE_L10N = True
719YEAR_MONTH_FORMAT = 'F Y'
720PERMISSION_DEFAULT_OSPL_CHANGE_PERMISSION = True
721USE_TRADES = True
722AGORA_FORM_SETTINGS = {}
723AGORA_COMPANY_FORM_LAYOUT_BY_USER = {}
724AGORA_RETAIL_CONTRACTOR_ANONYMOUS_USER = False
725CACHEOPS_REDIS = {'host': 'localhost', 'db': None, 'port': 6379}
726QUEUE_SUPPORT_EMAILS = ['developers@centrobit.ru']
727OPTIMA_PROJECT_MOYTOK = False
728STRONGHOLD_PUBLIC_URLS = '^/activate/.+$'
729LOGIN_URL = '/accounts/login/'
730SESSION_EXPIRE_AT_BROWSER_CLOSE = False
731AGORA_CATALOG_TEMPLATE = 'product/product_list.html'
732SESSION_SAVE_EVERY_REQUEST = False
733OPTIMA_PROJECT_TYRE48 = {}
734AGORA_RETAIL_UNIFIED_REGISTRATION = False
735TIME_FORMAT = 'P'
736USER_SETTINGS_TUNING = {'auto_set_warehouse': None}
737AGORA_CONTRACTOR_REQUISITES_READ_ONLY = True
738USE_COUPONS = True
739GRAPPELLI_ADMIN_TITLE = 'Agora'
740CACHE_MIDDLEWARE_ALIAS = 'default'
741SHELL_PLUS = 'ipython'
742AGORA_LOGIN_PAGE_TEMPLATE = 'accounts/login_cross_auth.html'
743CSRF_COOKIE_PATH = '/'
744PERMISSION_DEFAULT_APL_FIELD_NAME = 'author'
745BUY_STRING = <django.utils.functional.__proxy__ object at 0x7f99364ea850>
746LOGIN_REDIRECTS_DEFAULT = 'order_list'
747AGORA_RESET_PASSWORD_PAGE_TEMPLATE = u'********************'
748MESSAGE_TAGS = {40: 'danger'}
749ENABLE_REGISTRATION_UNIQUE_EMAILS = True
750CONTRACTOR_SUPPLIER_MANAGER_FIELDS_EDITABLE = {'dist_channels': False, 'role': False, 'warehouses': False, 'orders_ct_profiles': False, 'user': False}
751REST_USE_ELASTIC_SEARCH = False
752HIDE_SEARCH_FILTERS_FOR_CATEGORY_WITH_CHILDREN = False
753OPTIMA_PROJECT_BIOCAD = False
754DATE_FORMAT = 'N j, Y'
755THUMBNAIL_WATERMARK_ALWAYS = False
756ELASTICSEARCH_URL = 'http://176.9.191.169:9201'
757SALESFORCE_USERNAME = ''
758MEDIA_ROOT = '/mnt/resource/fabri-test/media'
759BIDS = {'find_suppliers_backend': 'agora.core.bids.backends.find.FindSuppliersForBidBackend', 'required_properties': []}
760TEMPLATE_DEBUG = False
761DEFAULT_FROM_EMAIL = 'fabri-test@t-optima3.centrobit.ru'
762PERMISSION_DEFAULT_APL_ANY_PERMISSION = False
763KLASSES_CONTRACTOR_OVERRIDE = None
764THUMBNAIL_OPTIONS_DICT = {'product_small': {'geometry': '140x140'}, 'banner_catalog_small': {'geometry': '406x120'}, 'medium': {'geometry': '360x360'}, 'xsmall': {'geometry': '60x60'}, 'banner_catalog_large': {'geometry': '833x300'}, 'zoom_large': {'geometry': '1000x750'}, 'small': {'geometry': '180x180'}, 'zoom_medium': {'geometry': '290x200'}, 'icon': {'geometry': '20x20'}}
765PRODUCT_WITH_LOWER_PRICE_DELIVERY_BACKEND = 'agora.core.supplier.backend.NewProductWithLowerPriceDeliveryDefaultBackend'
766DBTEMPLATES_CACHE_BACKEND = 'default'
767GATEWAY_INDIVIDUAL_IMAGES_QUEUE = False
768WEIGHT_MEASURE_UNIT = <django.utils.functional.__proxy__ object at 0x7f99364eab90>
769AGREE_ERROR_MESSAGE = <django.utils.functional.__proxy__ object at 0x7f99364ea990>
770SHOW_AVAILABLE_STOCK_WIDGET_RESTS_MNEMONICS = False
771SITE_ID = 1
772ALLOWED_INCLUDE_ROOTS =
773PERMISSION_DEFAULT_SPL_ADD_PERMISSION = True
774ORDER_WORKFLOW_PANEL_INVISIBLE = False
775AGORA_REGISTRATION_USER_FIELDS_REQUIRED =
776GEOIP_FILTER_PRODUCTS_REGION_WITH_ALL_CITIES = []
777KLASSES_SUPPLIER_OVERRIDE = None
778SHORT_DATE_FORMAT = 'm/d/Y'
779PERMISSION_REPLACE_BUILTIN_IF = False
780EVENT_LOGGER_MIDDLEWARE_SETTINGS = {}
781CELERY_ENABLE_UTC = False
782PERMISSION_DEFAULT_CPL_CHANGE_PERMISSION = True
783DISTRIBUTION_CHANNEL_ENABLED = False
784FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
785MATCHING_EMAIL = {'ssl': True, 'login': '', 'password': '', 'port': '', 'server': ''}
786PERMISSION_DEFAULT_SPL_CHANGE_PERMISSION = True
787CONTRACTOR_GROUP_FIELDS_EDITABLE = {'text_sum': False, 'text_discount': False}
788CRISPY_TEMPLATE_PACK = 'bootstrap3'
789ELASTICSEARCH_AUTO_INDEX = False
790AGORA_DEFAULT_CONTRACTOR_IS_VERIFIED = True
791PORTAL_EMAIL_FROM = None
792CLICKABLE_DOCUMENT_IMAGES = True
793ALLOW_ATTACH_EXISTING_CONTRACTOR = False
794EXTRA_NAV_TEMPLATES =
795USE_CUSTOM_ADMIN_VIEWS = False
796CONTRACTOR_ACCEPT_UPLOAD_MIME_TYPES = ['application/vnd.ms-excel', 'text/csv', 'application/vnd.oasis.opendocument.spreadsheet', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
797INTERNAL_IPS =
798AGORA_DOMAIN_MAIN_PART = 'agoraoptima.ru'
799EMAIL_PORT = 25
800PASSWORD_HASHERS = u'********************'
801TURBO_SMS = None
802AGORA_REGISTRATION_PROFILE_FIELDS_REQUIRED =
803SUPPLIER_REQUIRED_CATEGORIES_LINKS_TO_EDIT_PRODUCT = True
804PERMISSION_DEFAULT_SPL_ANY_PERMISSION = False
805DATETIME_INPUT_FORMATS =
806AGORA_PORTAL_PROFILE_EXCLUDE_FIELDS = {'supplier': ['email', 'supplier', 'info_order', 'source', 'rating', 'country'], 'contractor': ['contractor', 'country']}
807
808You're seeing this error because you have DEBUG = True in your
809Django settings file. Change that to False, and Django will
810display a standard 500 page.