· 7 years ago · Oct 01, 2018, 08:20 AM
1ImproperlyConfigured at /api/mattress/sizes/
2Field name `description` is not valid for model `MattressSizeLength`.
3
4Request Method: GET
5Request URL: http://46.101.242.52:81/api/mattress/sizes/
6Django Version: 2.0.5
7Python Executable: /home/django/gash/Gash/server/.venv/bin/python3.6m
8Python Version: 3.6.6
9Python Path: ['/home/django/gash/Gash/server', '/home/django/gash/Gash/server/.venv/bin', '/home/django/gash/Gash/server/.venv/lib/python36.zip', '/home/django/gash/Gash/server/.venv/lib/python3.6', '/home/django/gash/Gash/server/.venv/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages', '/home/django/gash/Gash/server']
10Server time: Пн, 1 Окт 2018 08:14:28 +0000
11Installed Applications:
12['markup',
13 'apps.pages',
14 'apps.categories',
15 'apps.parts',
16 'apps.mattress',
17 'apps.gallery',
18 'apps.products',
19 'apps.accounts',
20 'apps.orders',
21 'apps.gash_care',
22 'apps.encyclopedia',
23 'apps.news',
24 'apps.menu',
25 'apps.like',
26 'apps.feedback',
27 'constance',
28 'constance.backends.database',
29 'django_filters',
30 'rest_framework',
31 'rest_framework_swagger',
32 'tinymce',
33 'robots',
34 'jet',
35 'postie',
36 'parler',
37 'codemirror2',
38 'ckeditor',
39 'des',
40 'django_jinja',
41 'social_django',
42 'admin_view_permission',
43 'sorl.thumbnail',
44 'mptt',
45 'django_mptt_admin',
46 'nested_inline',
47 'django_celery_beat',
48 'rosetta',
49 'django.contrib.admin',
50 'django.contrib.auth',
51 'django.contrib.contenttypes',
52 'django.contrib.sessions',
53 'django.contrib.messages',
54 'django.contrib.staticfiles',
55 'django.contrib.sitemaps',
56 'django.contrib.sites']
57Installed Middleware:
58['django.middleware.security.SecurityMiddleware',
59 'django.contrib.sessions.middleware.SessionMiddleware',
60 'django.middleware.common.CommonMiddleware',
61 'django.middleware.csrf.CsrfViewMiddleware',
62 'django.contrib.auth.middleware.AuthenticationMiddleware',
63 'django.contrib.messages.middleware.MessageMiddleware',
64 'django.middleware.clickjacking.XFrameOptionsMiddleware',
65 'django.middleware.locale.LocaleMiddleware']
66
67
68Traceback:
69
70File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
71 35. response = get_response(request)
72
73File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
74 128. response = self.process_exception_by_middleware(e, request)
75
76File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
77 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
78
79File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
80 54. return view_func(*args, **kwargs)
81
82File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/views/generic/base.py" in view
83 69. return self.dispatch(request, *args, **kwargs)
84
85File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
86 483. response = self.handle_exception(exc)
87
88File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
89 443. self.raise_uncaught_exception(exc)
90
91File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
92 480. response = handler(request, *args, **kwargs)
93
94File "/home/django/gash/Gash/server/apps/mattress/api/views.py" in get
95
96
97File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in data
98 765. ret = super(ListSerializer, self).data
99
100File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in data
101 262. self._data = self.to_representation(self.instance)
102
103File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
104 683. self.child.to_representation(item) for item in iterable
105
106File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in <listcomp>
107 683. self.child.to_representation(item) for item in iterable
108
109File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
110 510. fields = self._readable_fields
111
112File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/django/utils/functional.py" in __get__
113 36. res = instance.__dict__[self.name] = self.func(instance)
114
115File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in _readable_fields
116 376. field for field in self.fields.values()
117
118File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in fields
119 363. for key, value in self.get_fields().items():
120
121File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in get_fields
122 1045. source, info, model, depth
123
124File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in build_field
125 1190. return self.build_unknown_field(field_name, model_class)
126
127File "/home/django/gash/Gash/server/.venv/lib/python3.6/site-packages/rest_framework/serializers.py" in build_unknown_field
128 1302. (field_name, model_class.__name__)
129
130Exception Type: ImproperlyConfigured at /api/mattress/sizes/
131Exception Value: Field name `description` is not valid for model `MattressSizeLength`.
132Request information:
133USER: admin@admin.com
134
135GET: No GET data
136
137POST: No POST data
138
139FILES: No FILES data
140
141COOKIES:
142csrftoken = 'S6RP58L2sBdli49V0iekVad1sRAQAAsmb7Qz8FvzJybRwSop5psdMLUb8VxxCE3d'
143sessionid = 'aasn5mje4ylbi5abn5y56245kze9hztv'
144
145META:
146CSRF_COOKIE = 'S6RP58L2sBdli49V0iekVad1sRAQAAsmb7Qz8FvzJybRwSop5psdMLUb8VxxCE3d'
147HTTP_ACCEPT = 'application/json, text/plain, */*'
148HTTP_ACCEPT_ENCODING = 'gzip, deflate'
149HTTP_ACCEPT_LANGUAGE = 'ru'
150HTTP_CACHE_CONTROL = 'no-cache'
151HTTP_CONNECTION = 'close'
152HTTP_COOKIE = 'csrftoken=S6RP58L2sBdli49V0iekVad1sRAQAAsmb7Qz8FvzJybRwSop5psdMLUb8VxxCE3d; sessionid=aasn5mje4ylbi5abn5y56245kze9hztv'
153HTTP_HOST = '46.101.242.52:81'
154HTTP_PRAGMA = 'no-cache'
155HTTP_REFERER = 'http://46.101.242.52:81/mattress/constructor/'
156HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36'
157HTTP_X_CSRFTOKEN = 'S6RP58L2sBdli49V0iekVad1sRAQAAsmb7Qz8FvzJybRwSop5psdMLUb8VxxCE3d'
158HTTP_X_FORWARDED_FOR = '89.21.95.59'
159HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
160PATH_INFO = '/api/mattress/sizes/'
161QUERY_STRING = ''
162RAW_URI = '/api/mattress/sizes/'
163REMOTE_ADDR = ''
164REQUEST_METHOD = 'GET'
165SCRIPT_NAME = ''
166SERVER_NAME = '46.101.242.52'
167SERVER_PORT = '81'
168SERVER_PROTOCOL = 'HTTP/1.0'
169SERVER_SOFTWARE = 'gunicorn/19.9.0'
170gunicorn.socket = <gevent._socket3.socket object, fd=15, family=1, type=2049, proto=0>
171wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f3b09e5ab70>
172wsgi.file_wrapper = ''
173wsgi.input = <gunicorn.http.body.Body object at 0x7f3b09e5ab00>
174wsgi.multiprocess = True
175wsgi.multithread = True
176wsgi.run_once = False
177wsgi.url_scheme = 'http'
178wsgi.version = '(1, 0)'
179
180Settings:
181Using settings module app.settings.default
182ABSOLUTE_URL_OVERRIDES = {}
183ADMINS = []
184ADMIN_VIEW_PERMISSION_MODELS = ['accounts.User']
185ALLOWED_HOSTS = ['165.227.168.162', 'www.gash.web-case.com.ua', 'gash.web-case.com.ua', '192.168.1.44', '46.101.242.52']
186APPEND_SLASH = True
187AUTHENTICATION_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', 'shared.backends.auth.email.EmailBackend')"
188AUTH_PASSWORD_VALIDATORS = '********************'
189AUTH_USER_MODEL = 'accounts.User'
190BASE_DIR = PosixPath('/home/django/gash/Gash/server/app/settings/default.py')
191BASE_ROOT = PosixPath('/home/django/gash/Gash/server/app')
192CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
193CACHE_MIDDLEWARE_ALIAS = 'default'
194CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
195CACHE_MIDDLEWARE_SECONDS = 600
196CELERY_BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 3600}
197CELERY_BROKER_URL = 'redis://localhost:6379/0'
198CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
199CONSTANCE_ADDITIONAL_FIELDS = {'email_field': [<class 'django.forms.fields.EmailField'>, {}], 'rich': [<class 'django.forms.fields.CharField'>, {'widget': <tinymce.widgets.TinyMCE object at 0x7f3b0b9b5c50>}], 'image_field': [<class 'django.forms.fields.ImageField'>, {}]}
200CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
201CONSTANCE_CONFIG = {'ADMIN_EMAIL': ('admin@admin.com', 'Ð-мейл админиÑтратора', 'email_field'), 'PHONES': ('+380502222222, +380501111111', 'Телефоны, разделенные запÑтой', <class 'str'>), 'LATITUDE': (50.0, 'Широта', <class 'float'>), 'LONGITUDE': (50.0, 'Долгота', <class 'float'>), 'DEFAULT_WIDTH': (180, 'Ð¡Ñ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð°Ñ ÑˆÐ¸Ñ€Ð¸Ð½Ð°', <class 'int'>), 'DEFAULT_LENGTH': (200, 'Ð¡Ñ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð°Ñ Ð´Ð»Ð¸Ð½Ð°', <class 'int'>), 'FACEBOOK': ('facebook.com', 'Facebook', <class 'str'>), 'YOUTUBE': ('youtube.com', 'Youtube', <class 'str'>), 'INSTAGRAM': ('instagram.com', 'Instagram', <class 'str'>)}
202CONSTANCE_CONFIG_FIELDSETS = {'General Options': ('ADMIN_EMAIL', 'PHONES', 'LATITUDE', 'LONGITUDE'), 'Default Sizes': ('DEFAULT_WIDTH', 'DEFAULT_LENGTH'), 'Social Links': ('FACEBOOK', 'YOUTUBE', 'INSTAGRAM')}
203CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
204CSRF_COOKIE_AGE = 31449600
205CSRF_COOKIE_DOMAIN = None
206CSRF_COOKIE_HTTPONLY = False
207CSRF_COOKIE_NAME = 'csrftoken'
208CSRF_COOKIE_PATH = '/'
209CSRF_COOKIE_SECURE = False
210CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
211CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
212CSRF_TRUSTED_ORIGINS = []
213CSRF_USE_SESSIONS = False
214DATABASES = {'default': {'NAME': 'gash_new', 'USER': 'gash_db', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
215DATABASE_ROUTERS = []
216DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
217DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
218DATETIME_FORMAT = 'N j, Y, P'
219DATETIME_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']
220DATE_FORMAT = 'N j, Y'
221DATE_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']
222DEBUG = 'True'
223DEBUG_PROPAGATE_EXCEPTIONS = False
224DECIMAL_SEPARATOR = '.'
225DEFAULT_CHARSET = 'utf-8'
226DEFAULT_CONTENT_TYPE = 'text/html'
227DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
228DEFAULT_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']
229DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
230DEFAULT_FROM_EMAIL = 'webmaster@localhost'
231DEFAULT_INDEX_TABLESPACE = ''
232DEFAULT_TABLESPACE = ''
233DISALLOWED_USER_AGENTS = []
234EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
235EMAIL_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'}
236EMAIL_FILE_PATH = ''
237EMAIL_HOST = '127.0.0.1'
238EMAIL_HOST_PASSWORD = '********************'
239EMAIL_HOST_USER = None
240EMAIL_PORT = None
241EMAIL_SSL_CERTFILE = None
242EMAIL_SSL_KEYFILE = '********************'
243EMAIL_SUBJECT_PREFIX = '[Django] '
244EMAIL_TIMEOUT = None
245EMAIL_USE_LOCALTIME = False
246EMAIL_USE_SSL = False
247EMAIL_USE_TLS = False
248FILE_CHARSET = 'utf-8'
249FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
250FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
251FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
252FILE_UPLOAD_PERMISSIONS = None
253FILE_UPLOAD_TEMP_DIR = None
254FIRST_DAY_OF_WEEK = 0
255FIXTURE_DIRS = "('/home/django/gash/Gash/server/app/settings/default.py/apps/parts/fixtures/', '/home/django/gash/Gash/server/app/settings/default.py/apps/products/fixtures/', '/home/django/gash/Gash/server/app/settings/default.py/apps/mattress/fixtures/')"
256FORCE_SCRIPT_NAME = None
257FORMAT_MODULE_PATH = None
258FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
259IGNORABLE_404_URLS = []
260INSTALLED_APPS = ['markup', 'apps.pages', 'apps.categories', 'apps.parts', 'apps.mattress', 'apps.gallery', 'apps.products', 'apps.accounts', 'apps.orders', 'apps.gash_care', 'apps.encyclopedia', 'apps.news', 'apps.menu', 'apps.like', 'apps.feedback', 'constance', 'constance.backends.database', 'django_filters', 'rest_framework', 'rest_framework_swagger', 'tinymce', 'robots', 'jet', 'postie', 'parler', 'codemirror2', 'ckeditor', 'des', 'django_jinja', 'social_django', 'admin_view_permission', 'sorl.thumbnail', 'mptt', 'django_mptt_admin', 'nested_inline', 'django_celery_beat', 'rosetta', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites']
261INTERNAL_IPS = []
262JET_INDEX_DASHBOARD = 'app.dashboard.CustomIndexDashboard'
263LANGUAGES = "(('ru', 'РуÑÑкий'), ('en', 'ÐнглийÑкий'), ('de', 'Deutsch'), ('uk', 'УкраинÑкий'))"
264LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
265LANGUAGE_CODE = 'ru'
266LANGUAGE_COOKIE_AGE = None
267LANGUAGE_COOKIE_DOMAIN = None
268LANGUAGE_COOKIE_NAME = 'django_language'
269LANGUAGE_COOKIE_PATH = '/'
270LIKEABLE_MODELS = ['mattress', 'product']
271LOCALE_PATHS = "(PosixPath('/home/django/gash/Gash/server/app/locale'),)"
272LOGGING = {'version': 1, 'disable_existing_loggers': False, 'formatters': {'console': {'format': '%(asctime)s %(name)-12s %(levelname)-8s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'console'}}, 'loggers': {'celery': {'level': 'INFO', 'handlers': ['console']}}}
273LOGGING_CONFIG = 'logging.config.dictConfig'
274LOGIN_REDIRECT_URL = '/accounts/profile/'
275LOGIN_URL = '/accounts/login/'
276LOGOUT_REDIRECT_URL = '/'
277MANAGERS = []
278MEDIA_ROOT = PosixPath('/home/django/gash/Gash/server/app/uploads')
279MEDIA_URL = '/uploads/'
280MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
281MIDDLEWARE = ['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']
282MIGRATION_MODULES = {}
283MONTH_DAY_FORMAT = 'F j'
284NUMBER_GROUPING = 0
285PARLER_DEFAULT_LANGUAGE_CODE = 'ru'
286PARLER_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']}}
287PASSWORD_HASHERS = '********************'
288PASSWORD_RESET_TIMEOUT_DAYS = '********************'
289POSTIE_HTML_ADMIN_WIDGET = {'widget': 'TinyMCE', 'widget_module': 'tinymce.widgets', 'attrs': {'attrs': {'cols': 80, 'rows': 10}}}
290POSTIE_INSTANT_SEND = True
291POSTIE_TEMPLATE_CHOICES = Choices(('registration', 'registration', 'Registration email'), ('social_registration', 'social_registration', 'Social Registration'), ('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'))
292POSTIE_TEMPLATE_CONTEXTS = {'registration': {'email': 'User email', 'username': 'User username', 'activation_link': 'Account activation url', 'site_name': 'Website name'}, 'social_registration': {'email': 'User email', 'password': '********************'}, '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'}}
293PREPEND_WWW = False
294PROJECT_APPS = ['markup', 'apps.pages', 'apps.categories', 'apps.parts', 'apps.mattress', 'apps.gallery', 'apps.products', 'apps.accounts', 'apps.orders', 'apps.gash_care', 'apps.encyclopedia', 'apps.news', 'apps.menu', 'apps.like', 'apps.feedback']
295REDIS_HOST = 'localhost'
296REDIS_PORT = '6379'
297REST_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}
298ROOT_URLCONF = 'app.urls'
299ROSETTA_SHOW_AT_ADMIN_PANEL = True
300SECRET_KEY = '********************'
301SECURE_BROWSER_XSS_FILTER = False
302SECURE_CONTENT_TYPE_NOSNIFF = False
303SECURE_HSTS_INCLUDE_SUBDOMAINS = False
304SECURE_HSTS_PRELOAD = False
305SECURE_HSTS_SECONDS = 0
306SECURE_PROXY_SSL_HEADER = None
307SECURE_REDIRECT_EXEMPT = []
308SECURE_SSL_HOST = None
309SECURE_SSL_REDIRECT = False
310SERVER_EMAIL = 'root@localhost'
311SESSION_CACHE_ALIAS = 'default'
312SESSION_COOKIE_AGE = 1209600
313SESSION_COOKIE_DOMAIN = None
314SESSION_COOKIE_HTTPONLY = True
315SESSION_COOKIE_NAME = 'sessionid'
316SESSION_COOKIE_PATH = '/'
317SESSION_COOKIE_SECURE = False
318SESSION_ENGINE = 'django.contrib.sessions.backends.db'
319SESSION_EXPIRE_AT_BROWSER_CLOSE = False
320SESSION_FILE_PATH = None
321SESSION_SAVE_EVERY_REQUEST = False
322SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
323SETTINGS_MODULE = 'app.settings.default'
324SHORT_DATETIME_FORMAT = 'm/d/Y P'
325SHORT_DATE_FORMAT = 'm/d/Y'
326SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
327SILENCED_SYSTEM_CHECKS = []
328SITE_ID = 1
329SOCIAL_AUTH_FACEBOOK_KEY = '********************'
330SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = {'fields': 'id,name,email'}
331SOCIAL_AUTH_FACEBOOK_SCOPE = ['email']
332SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
333SOCIAL_AUTH_GOOGLE_PLUS_KEY = '********************'
334SOCIAL_AUTH_GOOGLE_PLUS_SCOPE = ['email']
335SOCIAL_AUTH_GOOGLE_PLUS_SECRET = '********************'
336SOCIAL_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', 'apps.accounts.utils.set_password')"
337SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
338STATICFILES_DIRS = []
339STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
340STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
341STATIC_ROOT = PosixPath('/home/django/gash/Gash/server/app/static')
342STATIC_URL = '/static/'
343TEMPLATES = [{'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', 'constance.context_processors.config'], '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', 'constance.context_processors.config']}}]
344TEST_NON_SERIALIZED_APPS = []
345TEST_RUNNER = 'django.test.runner.DiscoverRunner'
346THOUSAND_SEPARATOR = ','
347TIME_FORMAT = 'P'
348TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
349TIME_ZONE = 'UTC'
350TINYMCE_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}
351USE_ETAGS = False
352USE_I18N = True
353USE_L10N = True
354USE_THOUSAND_SEPARATOR = False
355USE_TZ = True
356USE_X_FORWARDED_HOST = False
357USE_X_FORWARDED_PORT = False
358WSGI_APPLICATION = 'app.wsgi.application'
359X_FRAME_OPTIONS = 'SAMEORIGIN'
360YEAR_MONTH_FORMAT = 'F Y'
361
362
363You're seeing this error because you have DEBUG = True in your
364Django settings file. Change that to False, and Django will
365display a standard page generated by the handler for this status code.