· 7 years ago · Sep 03, 2018, 10:06 AM
1ValueError at /api/mattress/constructor/normalize/
2invalid literal for int() with base 10: '200.00'
3
4Request Method: POST
5Request URL: http://127.0.0.1:9005/api/mattress/constructor/normalize/
6Django Version: 2.0.5
7Python Executable: c:\work\ENVS\server-ApXUs9hP\Scripts\python.exe
8Python Version: 3.6.3
9Python Path: ['C:\\work\\Projects\\gash\\server', 'c:\\work\\ENVS\\server-ApXUs9hP\\Scripts\\python36.zip', 'c:\\work\\ENVS\\server-ApXUs9hP\\DLLs', 'c:\\work\\ENVS\\server-ApXUs9hP\\lib', 'c:\\work\\ENVS\\server-ApXUs9hP\\Scripts', 'C:\\work\\Python\\Lib', 'C:\\work\\Python\\DLLs', 'c:\\work\\ENVS\\server-ApXUs9hP', 'c:\\work\\ENVS\\server-ApXUs9hP\\lib\\site-packages', 'C:\\work\\Projects\\gash\\server']
10Server time: Пн, 3 Сен 2018 10:01:38 +0000
11Installed Applications:
12['markup',
13 'rest_framework_swagger',
14 'tinymce',
15 'robots',
16 'jet',
17 'postie',
18 'parler',
19 'codemirror2',
20 'ckeditor',
21 'des',
22 'django_jinja',
23 'social_django',
24 'admin_view_permission',
25 'sorl.thumbnail',
26 'django.contrib.admin',
27 'django.contrib.auth',
28 'django.contrib.contenttypes',
29 'django.contrib.sessions',
30 'django.contrib.messages',
31 'django.contrib.staticfiles',
32 'django.contrib.sitemaps',
33 'django.contrib.sites',
34 'apps.pages',
35 'apps.categories',
36 'apps.parts',
37 'apps.mattress',
38 'apps.gallery',
39 'apps.products',
40 'apps.accounts',
41 'apps.orders',
42 'apps.gash_care',
43 'apps.encyclopedia',
44 'apps.news',
45 'mptt',
46 'django_mptt_admin',
47 'nested_inline',
48 'django_celery_beat',
49 'rosetta']
50Installed Middleware:
51['django.middleware.security.SecurityMiddleware',
52 'django.contrib.sessions.middleware.SessionMiddleware',
53 'django.middleware.common.CommonMiddleware',
54 'django.middleware.csrf.CsrfViewMiddleware',
55 'django.contrib.auth.middleware.AuthenticationMiddleware',
56 'django.contrib.messages.middleware.MessageMiddleware',
57 'django.middleware.clickjacking.XFrameOptionsMiddleware',
58 'django.middleware.locale.LocaleMiddleware']
59
60
61Traceback:
62
63File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\django\core\handlers\exception.py" in inner
64 35. response = get_response(request)
65
66File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\django\core\handlers\base.py" in _get_response
67 128. response = self.process_exception_by_middleware(e, request)
68
69File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\django\core\handlers\base.py" in _get_response
70 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
71
72File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\django\views\decorators\csrf.py" in wrapped_view
73 54. return view_func(*args, **kwargs)
74
75File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\django\views\generic\base.py" in view
76 69. return self.dispatch(request, *args, **kwargs)
77
78File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\rest_framework\views.py" in dispatch
79 483. response = self.handle_exception(exc)
80
81File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\rest_framework\views.py" in handle_exception
82 443. self.raise_uncaught_exception(exc)
83
84File "c:\work\ENVS\server-ApXUs9hP\lib\site-packages\rest_framework\views.py" in dispatch
85 480. response = handler(request, *args, **kwargs)
86
87File "C:\work\Projects\gash\server\apps\mattress\api\views.py" in post
88 38. builder.recalculate_mattress()
89
90File "C:\work\Projects\gash\server\apps\mattress\mattress_builder.py" in recalculate_mattress
91 83. self.price = self.calculate_price(self.length, self.width, is_eco=self.is_eco)
92
93File "C:\work\Projects\gash\server\apps\mattress\mattress_builder.py" in calculate_price
94 411. length, self.standart_length
95
96File "C:\work\Projects\gash\server\apps\mattress\mattress_builder.py" in normalize_size
97 450. if previous_size < int(size) < standart_size:
98
99Exception Type: ValueError at /api/mattress/constructor/normalize/
100Exception Value: invalid literal for int() with base 10: '200.00'
101Request information:
102USER: kate@gmail.com
103
104GET: No GET data
105
106POST: No POST data
107
108FILES: No FILES data
109
110COOKIES:
111_ym_uid = '1529735030629130316'
112_ym_d = '1529735030'
113_ga = 'GA1.1.1923928503.1528358428'
114biatv-cookie = '{"firstVisitAt":1528358430,"visitsCount":3,"campaignCount":1,"currentVisitStartedAt":1532688069,"currentVisitOpenPages":2,"location":"http://127.0.0.1:8000/guest-estate-create/","userAgent":"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36","language":"ru-ru","encoding":"utf-8","screenResolution":"1920x1080","currentVisitUpdatedAt":1532688076,"utmDataCurrent":{"utm_source":"(direct)","utm_medium":"(none)","utm_campaign":"(direct)","utm_content":"(not set)","utm_term":"(not set)","beginning_at":1528358430},"campaignTime":1528358430,"utmDataFirst":{"utm_source":"(direct)","utm_medium":"(none)","utm_campaign":"(direct)","utm_content":"(not set)","utm_term":"(not set)","beginning_at":1528358430},"geoipData":{"country":"Ukraine","region":"","city":"","org":"TOV BF Express Ltd"},"currentVisitLandingPage":"http://127.0.0.1:8000/"}'
115sidebar_pinned = 'true'
116cart = '46c5ba14-9e3b-4b6b-9d55-946398f100a7:1fviLU:v4eWHmneP8g7zhcdxcKKzHJc_-U'
117csrftoken = 'jFKWBh9nvTfeVlLZa4ew8HbIxTnhw27ZeDvzgQhUGRMpGWcMa4miRCgA995VQeHs'
118sessionid = 'wcp36ojkr7bn6vsb874j7cdletzyb2gy'
119
120META:
121ALLUSERSPROFILE = 'C:\\ProgramData'
122APPDATA = 'C:\\Users\\Developer\\AppData\\Roaming'
123ASL.LOG = 'Destination=file'
124COMMONPROGRAMFILES = 'C:\\Program Files (x86)\\Common Files'
125COMMONPROGRAMFILES(X86) = 'C:\\Program Files (x86)\\Common Files'
126COMMONPROGRAMW6432 = 'C:\\Program Files\\Common Files'
127COMPUTERNAME = 'KATERINA'
128COMSPEC = 'C:\\Windows\\system32\\cmd.exe'
129CONTENT_LENGTH = '2432'
130CONTENT_TYPE = 'application/json;charset=UTF-8'
131CSRF_COOKIE = 'jFKWBh9nvTfeVlLZa4ew8HbIxTnhw27ZeDvzgQhUGRMpGWcMa4miRCgA995VQeHs'
132DEPLOY_IP = '165.227.168.162'
133DEPLOY_KEY = 'C:\\\\\\\\work\\\\\\\\keys\\\\\\\\data_coin'
134DJANGO_DB_URL = 'psql://postgres:postgres@127.0.0.1:5432/gash1408'
135DJANGO_DEBUG = 'True'
136DJANGO_READ_DOT_ENV_FILE = 'true'
137DJANGO_SECRET_KEY = '0fb27c7bb56795fe8f0353c0eda50f22464910dbf57a1cac'
138DJANGO_SETTINGS_MODULE = 'app.settings'
139FP_NO_HOST_CHECK = 'NO'
140GATEWAY_INTERFACE = 'CGI/1.1'
141GETTEXTCLDRDIR = 'C:\\Program Files\\gettext-iconv\\lib\\gettext'
142HOMEDRIVE = 'C:'
143HOMEPATH = '\\Users\\Developer'
144HTTP_ACCEPT = 'application/json, text/plain, */*'
145HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
146HTTP_ACCEPT_LANGUAGE = 'ru'
147HTTP_CONNECTION = 'keep-alive'
148HTTP_COOKIE = '_ym_uid=1529735030629130316; _ym_d=1529735030; _ga=GA1.1.1923928503.1528358428; biatv-cookie={"firstVisitAt":1528358430,"visitsCount":3,"campaignCount":1,"currentVisitStartedAt":1532688069,"currentVisitOpenPages":2,"location":"http://127.0.0.1:8000/guest-estate-create/","userAgent":"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36","language":"ru-ru","encoding":"utf-8","screenResolution":"1920x1080","currentVisitUpdatedAt":1532688076,"utmDataCurrent":{"utm_source":"(direct)","utm_medium":"(none)","utm_campaign":"(direct)","utm_content":"(not set)","utm_term":"(not set)","beginning_at":1528358430},"campaignTime":1528358430,"utmDataFirst":{"utm_source":"(direct)","utm_medium":"(none)","utm_campaign":"(direct)","utm_content":"(not set)","utm_term":"(not set)","beginning_at":1528358430},"geoipData":{"country":"Ukraine","region":"","city":"","org":"TOV BF Express Ltd"},"currentVisitLandingPage":"http://127.0.0.1:8000/"}; sidebar_pinned=true; cart=46c5ba14-9e3b-4b6b-9d55-946398f100a7:1fviLU:v4eWHmneP8g7zhcdxcKKzHJc_-U; csrftoken=jFKWBh9nvTfeVlLZa4ew8HbIxTnhw27ZeDvzgQhUGRMpGWcMa4miRCgA995VQeHs; sessionid=wcp36ojkr7bn6vsb874j7cdletzyb2gy'
149HTTP_HOST = '127.0.0.1:9005'
150HTTP_ORIGIN = 'http://127.0.0.1:9005'
151HTTP_REFERER = 'http://127.0.0.1:9005/mattress/constructor/'
152HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
153HTTP_X_CSRFTOKEN = 'jFKWBh9nvTfeVlLZa4ew8HbIxTnhw27ZeDvzgQhUGRMpGWcMa4miRCgA995VQeHs'
154HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
155LANG = 'en_US.UTF-8'
156LOCALAPPDATA = 'C:\\Users\\Developer\\AppData\\Local'
157LOGONSERVER = '\\\\KATERINA'
158NUMBER_OF_PROCESSORS = '2'
159OS = 'Windows_NT'
160PATH = 'c:\\work\\ENVS\\server-ApXUs9hP\\Scripts;C:\\work\\Python\\Scripts\\;C:\\work\\Python\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\Brackets\\command;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile64\\;C:\\Program Files (x86)\\Common Files\\Acronis\\FileProtector\\;C:\\Program Files (x86)\\Common Files\\Acronis\\FileProtector64\\;C:\\Program Files (x86)\\Common Files\\Acronis\\SnapAPI\\;C:\\Program Files (x86)\\MySQL\\MySQL Connector C 6.1\\lib\\vs14;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\gettext-iconv\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin;C:\\Program Files\\PostgreSQL\\9.6\\bin;C:\\Users\\Developer\\AppData\\Roaming\\npm'
161PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW'
162PATH_INFO = '/api/mattress/constructor/normalize/'
163PIPENV_ACTIVE = '1'
164PIP_PYTHON_PATH = 'c:\\work\\python\\python.exe'
165PROCESSOR_ARCHITECTURE = 'x86'
166PROCESSOR_ARCHITEW6432 = 'AMD64'
167PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 94 Stepping 3, GenuineIntel'
168PROCESSOR_LEVEL = '6'
169PROCESSOR_REVISION = '5e03'
170PROGRAMDATA = 'C:\\ProgramData'
171PROGRAMFILES = 'C:\\Program Files (x86)'
172PROGRAMFILES(X86) = 'C:\\Program Files (x86)'
173PROGRAMW6432 = 'C:\\Program Files'
174PROMPT = '$P$G'
175PSMODULEPATH = 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'
176PUBLIC = 'C:\\Users\\Public'
177PYTHONDONTWRITEBYTECODE = '1'
178QUERY_STRING = ''
179REMOTE_ADDR = '127.0.0.1'
180REMOTE_HOST = ''
181REQUEST_METHOD = 'POST'
182RUN_MAIN = 'true'
183SCRIPT_NAME = ''
184SERVER_NAME = 'Katerina'
185SERVER_PORT = '9005'
186SERVER_PROTOCOL = 'HTTP/1.1'
187SERVER_SOFTWARE = 'WSGIServer/0.2'
188SESSIONNAME = 'Console'
189SOCIAL_AUTH_FACEBOOK_KEY = '1085697321604650'
190SOCIAL_AUTH_FACEBOOK_SECRET = 'be243f657ac5d0ac6eaa2533d61c2e0a'
191SOCIAL_AUTH_GOOGLE_PLUS_KEY = '1007601019838-gnpqkuogoh2k4optdjfkt0j3u3ufq7oc.apps.googleusercontent.com'
192SOCIAL_AUTH_GOOGLE_PLUS_SECRET = 'pkAv1rGECvUGntIW6sWH7h_O'
193SYSTEMDRIVE = 'C:'
194SYSTEMROOT = 'C:\\Windows'
195TEMP = 'C:\\Users\\DEVELO~1\\AppData\\Local\\Temp'
196TERM_PROGRAM = 'vscode'
197TERM_PROGRAM_VERSION = '1.26.1'
198TMP = 'C:\\Users\\DEVELO~1\\AppData\\Local\\Temp'
199USERDOMAIN = 'KATERINA'
200USERDOMAIN_ROAMINGPROFILE = 'KATERINA'
201USERNAME = 'Developer'
202USERPROFILE = 'C:\\Users\\Developer'
203VIRTUAL_ENV = 'c:\\work\\ENVS\\server-ApXUs9hP'
204VSCODE_CWD = 'C:\\Windows\\System32'
205WINDIR = 'C:\\Windows'
206WORKON_HOME = 'c:\\work\\ENVS'
207wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
208wsgi.file_wrapper = ''
209wsgi.input = <_io.BufferedReader name=1448>
210wsgi.multiprocess = False
211wsgi.multithread = True
212wsgi.run_once = False
213wsgi.url_scheme = 'http'
214wsgi.version = '(1, 0)'
215
216Settings:
217Using settings module app.settings
218ABSOLUTE_URL_OVERRIDES = {}
219ADMINS = []
220ADMIN_VIEW_PERMISSION_MODELS = ['accounts.User']
221ALLOWED_HOSTS = ['*']
222APPEND_SLASH = True
223AUTHENTICATION_BACKENDS = "('social_core.backends.google.GoogleOpenId', 'social_core.backends.google.GoogleOAuth2', 'social_core.backends.google.GoogleOAuth', 'social_core.backends.google.GooglePlusAuth', 'social_core.backends.facebook.FacebookOAuth2', 'django.contrib.auth.backends.ModelBackend')"
224AUTH_PASSWORD_VALIDATORS = '********************'
225AUTH_USER_MODEL = 'accounts.User'
226BASE_DIR = WindowsPath('C:/work/Projects/gash/server/app/settings/default.py')
227BASE_ROOT = WindowsPath('C:/work/Projects/gash/server/app')
228CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1', 'TIMEOUT': 600, 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True, 'CONNECTION_POOL_KWARGS': {'max_connections': 100}, 'MAX_ENTRIES': 100000}, 'KEY_PREFIX': '********************'}}
229CACHE_MIDDLEWARE_ALIAS = 'default'
230CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
231CACHE_MIDDLEWARE_SECONDS = 600
232CELERY_ACCEPT_CONTENT = ['json']
233CELERY_BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 3600}
234CELERY_BROKER_URL = 'redis://localhost:6379/0'
235CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
236CELERY_RESULT_SERIALIZER = 'json'
237CELERY_TASK_SERIALIZER = 'json'
238CSRF_COOKIE_AGE = 31449600
239CSRF_COOKIE_DOMAIN = None
240CSRF_COOKIE_HTTPONLY = False
241CSRF_COOKIE_NAME = 'csrftoken'
242CSRF_COOKIE_PATH = '/'
243CSRF_COOKIE_SECURE = False
244CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
245CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
246CSRF_TRUSTED_ORIGINS = []
247CSRF_USE_SESSIONS = False
248DATABASES = {'default': {'NAME': 'gash1408', 'USER': 'postgres', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
249DATABASE_ROUTERS = []
250DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
251DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
252DATETIME_FORMAT = 'N j, Y, P'
253DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
254DATE_FORMAT = 'N j, Y'
255DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
256DEBUG = True
257DEBUG_PROPAGATE_EXCEPTIONS = False
258DECIMAL_SEPARATOR = '.'
259DEFAULT_CHARSET = 'utf-8'
260DEFAULT_CONTENT_TYPE = 'text/html'
261DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
262DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension']
263DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
264DEFAULT_FROM_EMAIL = 'admin@admin.admin'
265DEFAULT_INDEX_TABLESPACE = ''
266DEFAULT_TABLESPACE = ''
267DISALLOWED_USER_AGENTS = []
268EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
269EMAIL_CONFIG = {'EMAIL_FILE_PATH': '', 'EMAIL_HOST_USER': None, 'EMAIL_HOST_PASSWORD': '********************', 'EMAIL_HOST': '127.0.0.1', 'EMAIL_PORT': None, 'EMAIL_BACKEND': 'django.core.mail.backends.console.EmailBackend'}
270EMAIL_FILE_PATH = ''
271EMAIL_HOST = 'smtp.gmail.com'
272EMAIL_HOST_PASSWORD = '********************'
273EMAIL_HOST_USER = 'mail_user'
274EMAIL_PORT = 587
275EMAIL_SSL_CERTFILE = None
276EMAIL_SSL_KEYFILE = '********************'
277EMAIL_SUBJECT_PREFIX = '[Django] '
278EMAIL_TIMEOUT = None
279EMAIL_USE_LOCALTIME = False
280EMAIL_USE_SSL = False
281EMAIL_USE_TLS = True
282FILE_CHARSET = 'utf-8'
283FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
284FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
285FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
286FILE_UPLOAD_PERMISSIONS = None
287FILE_UPLOAD_TEMP_DIR = None
288FIRST_DAY_OF_WEEK = 0
289FIXTURE_DIRS = "('C:\\\\work\\\\Projects\\\\gash\\\\server\\\\app\\\\settings\\\\default.py\\\\apps/parts/fixtures/', 'C:\\\\work\\\\Projects\\\\gash\\\\server\\\\app\\\\settings\\\\default.py\\\\apps/products/fixtures/', 'C:\\\\work\\\\Projects\\\\gash\\\\server\\\\app\\\\settings\\\\default.py\\\\apps/mattress/fixtures/')"
290FORCE_SCRIPT_NAME = None
291FORMAT_MODULE_PATH = None
292FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
293IGNORABLE_404_URLS = []
294INSTALLED_APPS = ['markup', 'rest_framework_swagger', 'tinymce', 'robots', 'jet', 'postie', 'parler', 'codemirror2', 'ckeditor', 'des', 'django_jinja', 'social_django', 'admin_view_permission', 'sorl.thumbnail', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites', 'apps.pages', 'apps.categories', 'apps.parts', 'apps.mattress', 'apps.gallery', 'apps.products', 'apps.accounts', 'apps.orders', 'apps.gash_care', 'apps.encyclopedia', 'apps.news', 'mptt', 'django_mptt_admin', 'nested_inline', 'django_celery_beat', 'rosetta']
295INTERNAL_IPS = []
296JET_INDEX_DASHBOARD = 'app.dashboard.CustomIndexDashboard'
297LANGUAGES = "(('ru', 'РСѓСЃСЃРєРёР№'), ('en', 'Английский'), ('de', 'Deutsch'), ('uk', 'Украинский'))"
298LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
299LANGUAGE_CODE = 'ru'
300LANGUAGE_COOKIE_AGE = None
301LANGUAGE_COOKIE_DOMAIN = None
302LANGUAGE_COOKIE_NAME = 'django_language'
303LANGUAGE_COOKIE_PATH = '/'
304LOCALE_PATHS = "(WindowsPath('C:/work/Projects/gash/server/app/locale'),)"
305LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': WindowsPath('C:/work/Projects/gash/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
306LOGGING_CONFIG = 'logging.config.dictConfig'
307LOGIN_REDIRECT_URL = '/accounts/profile/'
308LOGIN_URL = '/accounts/login/'
309LOGOUT_REDIRECT_URL = None
310MANAGERS = []
311MEDIA_ROOT = WindowsPath('C:/work/Projects/gash/server/app/uploads')
312MEDIA_URL = '/uploads/'
313MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
314MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', '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', 'django.middleware.locale.LocaleMiddleware']
315MIGRATION_MODULES = {}
316MONTH_DAY_FORMAT = 'F j'
317NUMBER_GROUPING = 0
318PARLER_DEFAULT_LANGUAGE_CODE = 'ru'
319PARLER_LANGUAGES = {1: ({'code': 'ru', 'hide_untranslated': False, 'fallbacks': ['ru']}, {'code': 'en', 'hide_untranslated': False, 'fallbacks': ['ru']}, {'code': 'de', 'hide_untranslated': False, 'fallbacks': ['ru']}, {'code': 'uk', 'hide_untranslated': False, 'fallbacks': ['ru']}), 'default': {'hide_untranslated': False, 'code': 'ru', 'fallbacks': ['ru']}}
320PASSWORD_HASHERS = '********************'
321PASSWORD_RESET_TIMEOUT_DAYS = '********************'
322POSTIE_HTML_ADMIN_WIDGET = {'widget': 'TinyMCE', 'widget_module': 'tinymce.widgets', 'attrs': {'attrs': {'cols': 80, 'rows': 10}}}
323POSTIE_INSTANT_SEND = True
324POSTIE_TEMPLATE_CHOICES = Choices(('registration', 'registration', 'Registration email'), ('password_reset', 'password_reset', 'Восстановление паролСÐ'), ('gash_care_reminder', 'gash_care_reminder', 'Gash care reminder'), ('gash_care_interview', 'gash_care_interview', 'Gash care interview'), ('order_created', 'order_created', 'Order Created'), ('order_accepted', 'order_accepted', 'Order accepted'), ('winter_rotation', 'winter_rotation', 'Winter rotation'), ('fall_rotation', 'fall_rotation', 'Fall rotation'), ('spring_rotation', 'spring_rotation', 'Spring rotation'), ('summer_rotation', 'summer_rotation', 'Summer rotation'))
325POSTIE_TEMPLATE_CONTEXTS = {'registration': {'email': 'User email', 'username': 'User username', 'activation_link': 'Account activation url', 'site_name': 'Website name'}, 'password_reset': '********************', 'gash_care_reminder': {'email': 'User email', 'username': 'User username', 'site_name': 'Website name', 'url': 'Password reset url'}, 'gash_care_interview': {'email': 'User email', 'username': 'User username'}, 'order_created': {'email': 'User email', 'username': 'User username'}, 'order_accepted': {'email': 'User email', 'username': 'User username'}, 'winter_rotation': {'email': 'User email', 'username': 'User username'}, 'fall_rotation': {'email': 'User email', 'username': 'User username'}, 'spring_rotation': {'email': 'User email', 'username': 'User username'}, 'summer_rotation': {'email': 'User email', 'username': 'User username'}}
326PREPEND_WWW = False
327PROJECT_APPS = ['markup']
328REDIS_DB = 11
329REDIS_HOST = 'localhost'
330REDIS_PORT = '6379'
331REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'], 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PAGINATION_CLASS': 'shared.pagination_classes.PageWithMetaPagination', 'PAGE_SIZE': 10}
332ROOT_URLCONF = 'app.urls'
333ROSETTA_CACHE_NAME = 'default'
334ROSETTA_SHOW_AT_ADMIN_PANEL = True
335ROSETTA_STORAGE_CLASS = 'rosetta.storage.CacheRosettaStorage'
336SECRET_KEY = '********************'
337SECURE_BROWSER_XSS_FILTER = False
338SECURE_CONTENT_TYPE_NOSNIFF = False
339SECURE_HSTS_INCLUDE_SUBDOMAINS = False
340SECURE_HSTS_PRELOAD = False
341SECURE_HSTS_SECONDS = 0
342SECURE_PROXY_SSL_HEADER = None
343SECURE_REDIRECT_EXEMPT = []
344SECURE_SSL_HOST = None
345SECURE_SSL_REDIRECT = False
346SERVER_EMAIL = 'root@localhost'
347SESSION_CACHE_ALIAS = 'default'
348SESSION_COOKIE_AGE = 1209600
349SESSION_COOKIE_DOMAIN = None
350SESSION_COOKIE_HTTPONLY = True
351SESSION_COOKIE_NAME = 'sessionid'
352SESSION_COOKIE_PATH = '/'
353SESSION_COOKIE_SECURE = False
354SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
355SESSION_EXPIRE_AT_BROWSER_CLOSE = False
356SESSION_FILE_PATH = None
357SESSION_SAVE_EVERY_REQUEST = False
358SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
359SETTINGS_MODULE = 'app.settings'
360SHORT_DATETIME_FORMAT = 'm/d/Y P'
361SHORT_DATE_FORMAT = 'm/d/Y'
362SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
363SILENCED_SYSTEM_CHECKS = []
364SITE_ID = 1
365SOCIAL_AUTH_FACEBOOK_KEY = '********************'
366SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = {'fields': 'id,name,email'}
367SOCIAL_AUTH_FACEBOOK_SCOPE = ['email']
368SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
369SOCIAL_AUTH_GOOGLE_PLUS_KEY = '********************'
370SOCIAL_AUTH_GOOGLE_PLUS_SCOPE = ['email']
371SOCIAL_AUTH_GOOGLE_PLUS_SECRET = '********************'
372SOCIAL_AUTH_PIPELINE = "('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'social_core.pipeline.user.get_username', 'social_core.pipeline.social_auth.associate_by_email', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'social_core.pipeline.user.user_details')"
373SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
374STATICFILES_DIRS = []
375STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
376STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
377STATIC_ROOT = WindowsPath('C:/work/Projects/gash/server/app/static')
378STATIC_URL = '/static/'
379TEMPLATES = [{'BACKEND': 'django_jinja.backend.Jinja2', 'NAME': 'jinja2', 'APP_DIRS': True, 'DIRS': [], 'OPTIONS': {'environment': 'shared.env.jinja2.environment', 'match_extension': '.jinja', 'newstyle_gettext': True, 'auto_reload': True, 'undefined': <class 'jinja2.runtime.Undefined'>, 'debug': True, 'filters': {}, 'globals': {}, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension'], 'bytecode_cache': {'name': 'default', 'backend': 'django_jinja.cache.BytecodeCache', 'enabled': True}}}, {'DIRS': [], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'OPTIONS': {'context_processors': ['django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'django.contrib.auth.context_processors.auth', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect']}}]
380TEST_NON_SERIALIZED_APPS = []
381TEST_RUNNER = 'django.test.runner.DiscoverRunner'
382THOUSAND_SEPARATOR = ','
383TIME_FORMAT = 'P'
384TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
385TIME_ZONE = 'UTC'
386TINYMCE_DEFAULT_CONFIG = {'plugins': 'table,spellchecker,paste,searchreplace', 'theme': 'modern', 'contextmenu': 'formats | link image', 'toolbar1': 'fontsizeselect bold italic underline | alignleft aligncenter alignright alignjustify | bullist num list | outdent indent | table | link image media | codesample |preview code | forecolor backcolor', 'menubar': True, 'inline': False, 'statusbar': True, 'width': '80%', 'height': 500}
387USE_ETAGS = False
388USE_I18N = True
389USE_L10N = True
390USE_THOUSAND_SEPARATOR = False
391USE_TZ = True
392USE_X_FORWARDED_HOST = False
393USE_X_FORWARDED_PORT = False
394WSGI_APPLICATION = 'app.wsgi.application'
395X_FRAME_OPTIONS = 'SAMEORIGIN'
396YEAR_MONTH_FORMAT = 'F Y'
397
398
399You're seeing this error because you have DEBUG = True in your
400Django settings file. Change that to False, and Django will
401display a standard page generated by the handler for this status code.