· 8 years ago · Jan 30, 2018, 12:14 PM
1AssertionError at /docs/
2'TestUserCardView' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method.
3
4Request Method: GET
5Request URL: http://forza-dev.kitway.com.ua/docs/
6Django Version: 1.11.8
7Python Executable: /usr/bin/python3
8Python Version: 3.6.3
9Python Path: ['/app', '/usr/bin', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/lib/python3.6/site-packages', '/app']
10Server time: Р’С‚, 30 РЎС–С‡ 2018 12:11:00 +0200
11Installed Applications:
12['microfinance.apps.authentication',
13 'modeltranslation',
14 'corsheaders',
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_assets',
22 'django_js_reverse',
23 'django_extensions',
24 'openinghours',
25 'rosetta',
26 'rest_framework',
27 'rest_framework.authtoken',
28 'drf_yasg',
29 'rangefilter',
30 'ckeditor',
31 'smart_docs',
32 'sms_sender',
33 'fixtures_migrator',
34 'tempometry',
35 'ukrmail',
36 'paybox',
37 'paybox_liqpay',
38 'microfinance.libs',
39 'microfinance.apps.backoffice',
40 'microfinance.apps.user_profile',
41 'microfinance.apps.agent',
42 'microfinance.apps.documents',
43 'microfinance.apps.bank_card',
44 'microfinance.apps.company',
45 'microfinance.apps.system_secure',
46 'microfinance.apps.loan_core',
47 'microfinance.apps.loan_client',
48 'microfinance.apps.loan_backoffice',
49 'microfinance.libs.secure',
50 'microfinance.libs.bankid',
51 'microfinance.libs.notifications',
52 'silk']
53Installed Middleware:
54['silk.middleware.SilkyMiddleware',
55 'corsheaders.middleware.CorsMiddleware',
56 'django.middleware.security.SecurityMiddleware',
57 'django.contrib.sessions.middleware.SessionMiddleware',
58 'django.middleware.common.CommonMiddleware',
59 'django.middleware.csrf.CsrfViewMiddleware',
60 'django.contrib.auth.middleware.AuthenticationMiddleware',
61 'django.contrib.messages.middleware.MessageMiddleware',
62 'django.middleware.clickjacking.XFrameOptionsMiddleware']
63
64
65Traceback:
66
67File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
68 41. response = get_response(request)
69
70File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
71 187. response = self.process_exception_by_middleware(e, request)
72
73File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
74 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
75
76File "/usr/lib/python3.6/site-packages/drf_yasg/views.py" in _wrapped_view_func
77 35. response = view_func(request, *args, **kwargs)
78
79File "/usr/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
80 149. response = view_func(request, *args, **kwargs)
81
82File "/usr/lib/python3.6/site-packages/django/views/decorators/vary.py" in inner_func
83 21. response = func(*args, **kwargs)
84
85File "/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
86 58. return view_func(*args, **kwargs)
87
88File "/usr/lib/python3.6/site-packages/django/views/generic/base.py" in view
89 68. return self.dispatch(request, *args, **kwargs)
90
91File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
92 494. response = self.handle_exception(exc)
93
94File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
95 454. self.raise_uncaught_exception(exc)
96
97File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
98 491. response = handler(request, *args, **kwargs)
99
100File "/usr/lib/python3.6/site-packages/drf_yasg/views.py" in get
101 88. schema = generator.get_schema(request, self.public)
102
103File "/usr/lib/python3.6/site-packages/drf_yasg/generators.py" in get_schema
104 203. paths, prefix = self.get_paths(endpoints, components, request, public)
105
106File "/usr/lib/python3.6/site-packages/drf_yasg/generators.py" in get_paths
107 317. operations[method.lower()] = self.get_operation(view, path, prefix, method, components, request)
108
109File "/usr/lib/python3.6/site-packages/drf_yasg/generators.py" in get_operation
110 357. operation = view_inspector.get_operation(operation_keys)
111
112File "/usr/lib/python3.6/site-packages/drf_yasg/inspectors/view.py" in get_operation
113 26. body = self.get_request_body_parameters(consumes)
114
115File "/usr/lib/python3.6/site-packages/drf_yasg/inspectors/view.py" in get_request_body_parameters
116 62. serializer = self.get_request_serializer()
117
118File "/usr/lib/python3.6/site-packages/drf_yasg/inspectors/view.py" in get_request_serializer
119 105. return self.get_view_serializer()
120
121File "/usr/lib/python3.6/site-packages/drf_yasg/inspectors/view.py" in get_view_serializer
122 86. return self.view.get_serializer()
123
124File "/usr/lib/python3.6/site-packages/rest_framework/generics.py" in get_serializer
125 110. serializer_class = self.get_serializer_class()
126
127File "/usr/lib/python3.6/site-packages/rest_framework/generics.py" in get_serializer_class
128 127. % self.__class__.__name__
129
130Exception Type: AssertionError at /docs/
131Exception Value: 'TestUserCardView' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method.
132Request information:
133USER:
134
135GET: No GET data
136
137POST: No POST data
138
139FILES: No FILES data
140
141COOKIES:
142sessionid = '1d0ajj6bltup3mci072tvsdrmmo1n3xl'
143csrftoken = 'yiQXEDBg7D9kLFtHydFliRHIAVLOGeR1HHocurGgqMGofJ12v6ZlnRifujOXp958'
144
145META:
146CSRF_COOKIE = 'yiQXEDBg7D9kLFtHydFliRHIAVLOGeR1HHocurGgqMGofJ12v6ZlnRifujOXp958'
147HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
148HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
149HTTP_ACCEPT_LANGUAGE = 'ru,uk-UA;q=0.8,uk;q=0.6,en-US;q=0.4,en;q=0.2'
150HTTP_CONNECTION = 'close'
151HTTP_COOKIE = 'sessionid=1d0ajj6bltup3mci072tvsdrmmo1n3xl; csrftoken=yiQXEDBg7D9kLFtHydFliRHIAVLOGeR1HHocurGgqMGofJ12v6ZlnRifujOXp958'
152HTTP_HOST = 'forza-dev.kitway.com.ua'
153HTTP_UPGRADE_INSECURE_REQUESTS = '1'
154HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36'
155HTTP_X_FORWARDED_FOR = '77.120.243.5'
156HTTP_X_REAL_IP = '77.120.243.5'
157PATH_INFO = '/docs/'
158QUERY_STRING = ''
159RAW_URI = '/docs/'
160REMOTE_ADDR = '127.0.0.1'
161REMOTE_PORT = '50208'
162REQUEST_METHOD = 'GET'
163SCRIPT_NAME = ''
164SERVER_NAME = '127.0.0.1'
165SERVER_PORT = '8000'
166SERVER_PROTOCOL = 'HTTP/1.0'
167SERVER_SOFTWARE = 'gunicorn/19.7.1'
168gunicorn.socket = <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000), raddr=('127.0.0.1', 50208)>
169wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb4b9c58080>
170wsgi.file_wrapper = ''
171wsgi.input = <gunicorn.http.body.Body object at 0x7fb4b8b1c550>
172wsgi.multiprocess = True
173wsgi.multithread = False
174wsgi.run_once = False
175wsgi.url_scheme = 'http'
176wsgi.version = '(1, 0)'
177
178Settings:
179Using settings module microfinance.settings.staging
180ABSOLUTE_URL_OVERRIDES = {}
181ADMINS = []
182ADMIN_URL_PREFIX = '^admin/'
183ALLOWED_HOSTS = ['*']
184API_CACHING_TIMEOUT = '********************'
185API_URL_PREFIX = '********************'
186APPEND_SLASH = True
187ASSETS_DEBUG = True
188ASSETS_LOAD_PATH = ['microfinance/apps/agent/static', 'microfinance/apps/authentication/static', 'microfinance/apps/backoffice/static', 'microfinance/apps/user_profile/static', 'microfinance/apps/bank_card/static', 'microfinance/static']
189ASSETS_ROOT = '/app/microfinance/var/static_build'
190AUTHENTICATION_BACKENDS = "('microfinance.apps.authentication.backends.PhonePasswordBackend', 'microfinance.apps.authentication.backends.InnPasswordBackend', 'microfinance.apps.authentication.backends.PhoneCodeBackend', 'microfinance.apps.authentication.backends.StaffEmailBackend')"
191AUTHORISATION_PHONE_CONFIRMATION_CODE_LENGTH = 4
192AUTH_PASSWORD_VALIDATORS = '********************'
193AUTH_USER_MODEL = 'authentication.User'
194BACKOFFICE_API_URL_PREFIX = '********************'
195BACKOFFICE_URL_PREFIX = '^backoffice/'
196BANKID_REDIRECT_URL = 'https://client.forza-dev.kitway.com.ua/profile/'
197BANK_ID_AUTH_DOMAIN = 'bankid.org.ua'
198BANK_ID_CERT = '/etc/app/bankid_cert.pem'
199BANK_ID_CLIENT_ID = 'f1e4f3a4-e4d8-428c-9e83-20dc96ed4034'
200BANK_ID_CLIENT_SECRET = '********************'
201BANK_ID_DATA_GATHER_DOMAIN_SPECIAL = 'biprocessing.org.ua'
202BASE_DIR = '/app/microfinance'
203CACHES = {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}}
204CACHE_MIDDLEWARE_ALIAS = 'default'
205CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
206CACHE_MIDDLEWARE_SECONDS = 600
207CELERY_ROUTES = {'microfinance.libs.notifications.tasks.task_send_recently': {'queue': 'celery'}}
208CKEDITOR_CONFIGS = {'default': {'toolbar': 'Custom', 'toolbar_Custom': [['Undo', 'Redo', '-', 'Bold', 'Italic', 'Underline', '-', 'Link', 'Unlink', 'Anchor', '-', 'Format', '-', 'Maximize', '-', 'Table', '-', 'Image'], ['Font', 'FontSize'], ['TextColor', 'BGColor'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['RemoveFormat', 'Source']]}, 'cms': {'toolbar': 'Advanced'}}
209CORS_ORIGIN_ALLOW_ALL = True
210CSRF_COOKIE_AGE = 31449600
211CSRF_COOKIE_DOMAIN = None
212CSRF_COOKIE_HTTPONLY = False
213CSRF_COOKIE_NAME = 'csrftoken'
214CSRF_COOKIE_PATH = '/'
215CSRF_COOKIE_SECURE = False
216CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
217CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
218CSRF_TRUSTED_ORIGINS = []
219CSRF_USE_SESSIONS = False
220DASHBOARD_STATS_HANDLERS = "('microfinance.apps.authentication.dashboard.UserProfileDash',)"
221DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'microfinance_db', 'USER': 'microfinance', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
222DATABASE_ROUTERS = []
223DATA_UPLOAD_MAX_MEMORY_SIZE = None
224DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
225DATETIME_FORMAT = '%d.%m.%Y %H:%M'
226DATETIME_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']
227DATE_FORMAT = '%d.%m.%Y'
228DATE_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']
229DEBUG = True
230DEBUG_PROPAGATE_EXCEPTIONS = False
231DECIMAL_SEPARATOR = '.'
232DEFAULT_CHARSET = 'utf-8'
233DEFAULT_CONTENT_TYPE = 'text/html'
234DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
235DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
236DEFAULT_FROM_EMAIL = 'webmaster@localhost'
237DEFAULT_INDEX_TABLESPACE = ''
238DEFAULT_PHONE_REGION_CODE = 'UA'
239DEFAULT_TABLESPACE = ''
240DISALLOWED_USER_AGENTS = []
241DJANGO_ADMIN_DEBUG = False
242EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
243EMAIL_HOST = 'localhost'
244EMAIL_HOST_PASSWORD = '********************'
245EMAIL_HOST_USER = ''
246EMAIL_PORT = 25
247EMAIL_SENDER_EXTENDED_MODE = False
248EMAIL_SSL_CERTFILE = None
249EMAIL_SSL_KEYFILE = '********************'
250EMAIL_SUBJECT_PREFIX = '[Django] '
251EMAIL_TIMEOUT = None
252EMAIL_USE_LOCALTIME = False
253EMAIL_USE_SSL = False
254EMAIL_USE_TLS = False
255FILE_CHARSET = 'utf-8'
256FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
257FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
258FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
259FILE_UPLOAD_PERMISSIONS = None
260FILE_UPLOAD_TEMP_DIR = None
261FIRST_DAY_OF_WEEK = 0
262FIXTURE_DIRS = []
263FORCE_SCRIPT_NAME = None
264FORMAT_MODULE_PATH = None
265FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
266HTTP_HOST = 'http://forza-dev.kitway.com.ua/'
267IGNORABLE_404_URLS = []
268INPUT_DATE_FORMAT = '%Y-%m-%d'
269INSTALLED_APPS = ['microfinance.apps.authentication', 'modeltranslation', 'corsheaders', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_assets', 'django_js_reverse', 'django_extensions', 'openinghours', 'rosetta', 'rest_framework', 'rest_framework.authtoken', 'drf_yasg', 'rangefilter', 'ckeditor', 'smart_docs', 'sms_sender', 'fixtures_migrator', 'tempometry', 'ukrmail', 'paybox', 'paybox_liqpay', 'microfinance.libs', 'microfinance.apps.backoffice', 'microfinance.apps.user_profile', 'microfinance.apps.agent', 'microfinance.apps.documents', 'microfinance.apps.bank_card', 'microfinance.apps.company', 'microfinance.apps.system_secure', 'microfinance.apps.loan_core', 'microfinance.apps.loan_client', 'microfinance.apps.loan_backoffice', 'microfinance.libs.secure', 'microfinance.libs.bankid', 'microfinance.libs.notifications', 'silk']
270INTERNAL_IPS = []
271JS_REVERSE_INCLUDE_ONLY_NAMESPACES = ['authentication', 'authentication-api', 'backoffice', 'backoffice-api', 'user-profile', 'user-profile-api', 'agent', 'agent-api', 'system_secure', '']
272JS_REVERSE_JS_VAR_NAME = 'Urls'
273LANGUAGES = "(('uk', 'Українська'), ('ru', 'РСѓСЃСЃРєРёР№'))"
274LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
275LANGUAGE_CODE = 'uk'
276LANGUAGE_COOKIE_AGE = None
277LANGUAGE_COOKIE_DOMAIN = None
278LANGUAGE_COOKIE_NAME = '_locale_'
279LANGUAGE_COOKIE_PATH = '/'
280LOCALE_PATHS = ['/app/microfinance/locale']
281LOGGING = {'version': 1, 'disable_existing_loggers': False, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(module)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(asctime)s %(module)s %(message)s'}}, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'null': {'level': 'DEBUG', 'class': 'logging.NullHandler'}, 'error_file': {'level': 'ERROR', 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'microfinance/var/logs/error.log', 'maxBytes': 500000, 'backupCount': 5, 'formatter': 'verbose'}, 'debug_file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'microfinance/var/logs/debug.log', 'maxBytes': 500000, 'backupCount': 10, 'formatter': 'verbose'}, 'sentry': {'level': 'ERROR', 'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler'}, 'requests_file': {'level': 'INFO', 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'microfinance/var/logs/requests.log', 'maxBytes': 500000, 'backupCount': 10, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'simple'}}, 'loggers': {'django': {'handlers': ['error_file', 'sentry'], 'propagate': True, 'level': 'ERROR'}, 'microfinance': {'handlers': ['debug_file'], 'propagate': True, 'level': 'DEBUG'}, 'django.server': {'handlers': ['requests_file'], 'propagate': True, 'level': 'INFO'}}}
282LOGGING_CONFIG = 'logging.config.dictConfig'
283LOGIN_REDIRECT_URL = '/accounts/profile/'
284LOGIN_URL = '/accounts/login/'
285LOGOUT_REDIRECT_URL = None
286MANAGERS = []
287MEDIA_ROOT = '/app/microfinance/media/'
288MEDIA_URL = '/media/'
289MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
290MIDDLEWARE = ['silk.middleware.SilkyMiddleware', 'corsheaders.middleware.CorsMiddleware', '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']
291MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
292MIGRATION_MODULES = {}
293MONTH_DAY_FORMAT = 'F j'
294NOTIFICATION_ADDRESSEE_DEFINITION = {'sms': 'microfinance.apps.authentication.helpers.get_user_phone_number'}
295NOTIFICATION_SERVICES = {'sms': 'sms_sender.service.SmsService'}
296NUMBER_GROUPING = 0
297OPENINGHOURS_PREMISES_MODEL = 'company.CompanyOffice'
298PASSWORD_HASHERS = '********************'
299PASSWORD_RESET_TIMEOUT_DAYS = '********************'
300PAYBOX_BACKENDS = {'_default': {'root_url': '', 'bind': {'amount': 1, 'verify_attempts': 3, 'timeout': 600}}, 'liqpay': {'root_url': '', 'public_key': '********************', 'private_key': '********************', 'currency': 'UAH', 'test_mode': True, 'sandbox': True, 'bind': {'amount': 1, 'verify_attempts': 3, 'timeout': 600}, 'refill': {}, 'pay': {}}}
301PAYSYS_BIND_CARD_BACKENDS = ['liqpay']
302PAYSYS_DEFAULT_CARD_BIND_BACKEND = 'liqpay'
303PREPEND_WWW = False
304PROJECT_NAME = 'microfinance'
305RAVEN_CONFIG = {'dsn': 'https://3d8dc365729c4822847472f02376db93:c3ddc8cc725f48429fe8d5f3e41a8ca3@sentry.kit-xxi.com.ua/17', 'release': ''}
306REGISTRATION_PHONE_CONFIRMATION_CODE_LENGTH = 4
307REST_FRAMEWORK = {'DEFAULT_MODEL_SERIALIZER_CLASS': 'rest_framework.serializers.ModelSerializer', 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'], 'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication'], 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',)}
308ROOT_URLCONF = 'microfinance.urls'
309SECRET_KEY = '********************'
310SECURE_BROWSER_XSS_FILTER = False
311SECURE_CONTENT_TYPE_NOSNIFF = False
312SECURE_HSTS_INCLUDE_SUBDOMAINS = False
313SECURE_HSTS_PRELOAD = False
314SECURE_HSTS_SECONDS = 0
315SECURE_PROXY_SSL_HEADER = None
316SECURE_REDIRECT_EXEMPT = []
317SECURE_SERVICES = ['microfinance.libs.secure.service.UserSecureService']
318SECURE_SSL_HOST = None
319SECURE_SSL_REDIRECT = False
320SERVER_EMAIL = 'root@localhost'
321SESSION_CACHE_ALIAS = 'default'
322SESSION_COOKIE_AGE = 1209600
323SESSION_COOKIE_DOMAIN = None
324SESSION_COOKIE_HTTPONLY = True
325SESSION_COOKIE_NAME = 'sessionid'
326SESSION_COOKIE_PATH = '/'
327SESSION_COOKIE_SECURE = False
328SESSION_ENGINE = 'django.contrib.sessions.backends.db'
329SESSION_EXPIRE_AT_BROWSER_CLOSE = False
330SESSION_FILE_PATH = None
331SESSION_SAVE_EVERY_REQUEST = False
332SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
333SETTINGS_MODULE = 'microfinance.settings.staging'
334SHORT_DATETIME_FORMAT = 'm/d/Y P'
335SHORT_DATE_FORMAT = 'm/d/Y'
336SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
337SILENCED_SYSTEM_CHECKS = []
338SILKY_AUTHENTICATION = True
339SILKY_AUTHORISATION = True
340SILKY_MAX_RECORDED_REQUESTS = 2000
341SILKY_META = True
342SILKY_PYTHON_PROFILER = True
343SMS_SENDER_EXTENDED_MODE = False
344STATICFILES_DIRS = "('/app/microfinance/static', '/app/microfinance/var/static_build')"
345STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
346STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
347STATIC_ROOT = '/app/microfinance/var/static'
348STATIC_URL = '/static/'
349SWAGGER_SETTINGS = {'JSON_EDITOR': True, 'SHOW_REQUEST_HEADERS': True, 'DEFAULT_INFO': 'microfinance.urls.api_info'}
350TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/microfinance/templates/'], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}]
351TEMPORARY_BLOCK = True
352TEST_NON_SERIALIZED_APPS = []
353TEST_RUNNER = 'django.test.runner.DiscoverRunner'
354THOUSAND_SEPARATOR = ','
355TIME_FORMAT = 'P'
356TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
357TIME_ZONE = 'Europe/Kiev'
358USER_MODEL = 'authentication.User'
359USER_MODEL_APP = 'authentication'
360USER_MODEL_NAME = 'User'
361USER_MODEL_STR = 'microfinance.apps.authentication.models.User'
362USER_PERMISSION_CACHE_TIMEOUT = 3600
363USE_ETAGS = False
364USE_I18N = True
365USE_L10N = True
366USE_THOUSAND_SEPARATOR = False
367USE_TZ = False
368USE_X_FORWARDED_HOST = False
369USE_X_FORWARDED_PORT = False
370WSGI_APPLICATION = 'microfinance.wsgi.application'
371X_FRAME_OPTIONS = 'SAMEORIGIN'
372YEAR_MONTH_FORMAT = 'F Y'
373
374
375You're seeing this error because you have DEBUG = True in your
376Django settings file. Change that to False, and Django will
377display a standard page generated by the handler for this status code.