· 7 years ago · Feb 07, 2018, 03:26 PM
1AttributeError at /api/loan/loan_request/
2'NoneType' object has no attribute 'age'
3
4Request Method: POST
5Request URL: http://127.0.0.1:8892/api/loan/loan_request/
6Django Version: 1.11.8
7Python Executable: /usr/bin/python3.6
8Python Version: 3.6.3
9Python Path: ['/app', '/app', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/lib/python3.6/site-packages', '/app']
10Server time: Ср, 7 Лют 2018 15:23:28 +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 'behave_django',
53 'microfinance.libs.test_api',
54 'silk']
55Installed Middleware:
56['silk.middleware.SilkyMiddleware',
57 'corsheaders.middleware.CorsMiddleware',
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
66
67Traceback:
68
69File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
70 41. response = get_response(request)
71
72File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
73 187. response = self.process_exception_by_middleware(e, request)
74
75File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
76 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
77
78File "/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
79 58. return view_func(*args, **kwargs)
80
81File "/usr/lib/python3.6/site-packages/rest_framework/viewsets.py" in view
82 95. return self.dispatch(request, *args, **kwargs)
83
84File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
85 494. response = self.handle_exception(exc)
86
87File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
88 454. self.raise_uncaught_exception(exc)
89
90File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
91 491. response = handler(request, *args, **kwargs)
92
93File "/app/microfinance/apps/loan_client/views/loan_request.py" in create
94 56. if not service.config.min_age < user.user_personal_data.actual().age < service.config.max_age:
95
96Exception Type: AttributeError at /api/loan/loan_request/
97Exception Value: 'NoneType' object has no attribute 'age'
98Request information:
99USER: Ð˜Ð¼Ñ Ð¤Ð°Ð¼Ð¸Ð»Ð¸Ñ ÐžÑ‚Ñ‡ÐµÑтво
100
101GET: No GET data
102
103POST:
104loan_type = 'pdl'
105amount = '1000'
106term = '10'
107
108FILES: No FILES data
109
110COOKIES: No cookie data
111
112META:
113CONTENT_LENGTH = '381'
114CONTENT_TYPE = 'multipart/form-data; boundary=--------------------------741847769046383266977403'
115DJANGO_SETTINGS_MODULE = 'microfinance.settings.dev'
116GATEWAY_INTERFACE = 'CGI/1.1'
117HOME = '/root'
118HTTP_ACCEPT = '*/*'
119HTTP_ACCEPT_ENCODING = 'gzip, deflate'
120HTTP_AUTHORIZATION = 'Token 18363ef8642a27228050485ee91ee7b7a1a43bcd'
121HTTP_CACHE_CONTROL = 'no-cache'
122HTTP_CONNECTION = 'keep-alive'
123HTTP_HOST = '127.0.0.1:8892'
124HTTP_POSTMAN_TOKEN = '5fcf8520-e210-455d-aa0e-a10e5adff2f6'
125HTTP_USER_AGENT = 'PostmanRuntime/7.1.1'
126JETBRAINS_REMOTE_RUN = '1'
127LOGNAME = 'root'
128MAIL = '/var/mail/root'
129OLDPWD = '/root'
130PATH = '/bin:/usr/bin:/sbin:/usr/sbin'
131PATH_INFO = '/api/loan/loan_request/'
132PWD = '/app'
133PYCHARM_HOSTED = '1'
134PYTHONIOENCODING = 'UTF-8'
135PYTHONPATH = '/app'
136PYTHONUNBUFFERED = '1'
137QUERY_STRING = ''
138REMOTE_ADDR = '172.18.0.1'
139REMOTE_HOST = ''
140REQUEST_METHOD = 'POST'
141RUN_MAIN = 'true'
142SCRIPT_NAME = ''
143SERVER_NAME = '2ca05840fb88'
144SERVER_PORT = '8890'
145SERVER_PROTOCOL = 'HTTP/1.1'
146SERVER_SOFTWARE = 'WSGIServer/0.2'
147SHELL = '/bin/ash'
148SHLVL = '1'
149SSH_CLIENT = '172.18.0.1 55326 2227'
150SSH_CONNECTION = '172.18.0.1 55326 172.18.0.2 2227'
151SSH_TTY = '/dev/pts/0'
152TERM = 'vt100'
153TZ = 'Europe/Kiev'
154USER = 'root'
155wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
156wsgi.file_wrapper = ''
157wsgi.input = <_io.BufferedReader name=8>
158wsgi.multiprocess = False
159wsgi.multithread = True
160wsgi.run_once = False
161wsgi.url_scheme = 'http'
162wsgi.version = '(1, 0)'
163
164Settings:
165Using settings module microfinance.settings.dev
166ABSOLUTE_URL_OVERRIDES = {}
167ADMINS = []
168ADMIN_URL_PREFIX = '^admin/'
169ALLOWED_HOSTS = ['*']
170API_CACHING_TIMEOUT = '********************'
171API_URL_PREFIX = '********************'
172APPEND_SLASH = True
173ASSETS_AUTO_BUILD = True
174ASSETS_CACHE = True
175ASSETS_DEBUG = True
176ASSETS_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']
177ASSETS_MANIFEST = 'cache'
178ASSETS_ROOT = '/app/microfinance/var/static_build'
179ASSETS_UPDATER = 'timestamp'
180ASSETS_URL_EXPIRE = None
181ASSETS_URL_MAPPING = {}
182ASSETS_VERSIONS = 'hash'
183AUTHENTICATION_BACKENDS = "('microfinance.apps.authentication.backends.PhonePasswordBackend', 'microfinance.apps.authentication.backends.InnPasswordBackend', 'microfinance.apps.authentication.backends.PhoneCodeBackend', 'microfinance.apps.authentication.backends.StaffEmailBackend')"
184AUTHORISATION_PHONE_CONFIRMATION_CODE_LENGTH = 4
185AUTH_PASSWORD_VALIDATORS = '********************'
186AUTH_USER_MODEL = 'authentication.User'
187BACKOFFICE_API_URL_PREFIX = '********************'
188BACKOFFICE_URL_PREFIX = '^backoffice/'
189BANKID_REDIRECT_URL = None
190BANK_ID_AUTH_DOMAIN = 'bankid.org.ua'
191BANK_ID_CERT = '/app/microfinance/settings/private.pem'
192BANK_ID_CLIENT_ID = None
193BANK_ID_CLIENT_SECRET = '********************'
194BANK_ID_DATA_GATHER_DOMAIN_SPECIAL = 'biprocessing.org.ua'
195BASE_DIR = '/app/microfinance'
196BLOCK_PERIOD_INDEFINITE = 2147483647
197CACHES = {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}}
198CACHE_FILE_MODE = None
199CACHE_MIDDLEWARE_ALIAS = 'default'
200CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
201CACHE_MIDDLEWARE_SECONDS = 600
202CELERY_ROUTES = {'microfinance.apps.loan_core.tasks.chech_loan_request': {'queue': 'celery'}, 'microfinance.libs.notifications.tasks.task_send_recently': {'queue': 'celery'}}
203CKEDITOR_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'}}
204CORS_ORIGIN_ALLOW_ALL = True
205CSRF_COOKIE_AGE = 31449600
206CSRF_COOKIE_DOMAIN = None
207CSRF_COOKIE_HTTPONLY = False
208CSRF_COOKIE_NAME = 'csrftoken'
209CSRF_COOKIE_PATH = '/'
210CSRF_COOKIE_SECURE = False
211CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
212CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
213CSRF_TRUSTED_ORIGINS = []
214CSRF_USE_SESSIONS = False
215DASHBOARD_STATS_HANDLERS = "('microfinance.apps.authentication.dashboard.UserProfileDash',)"
216DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'microfinance_db', 'USER': 'microfinance', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': '5432', 'TEST': {'MIRROR': 'default', 'CHARSET': None, 'COLLATION': None, 'NAME': None}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None}}
217DATABASE_ROUTERS = []
218DATA_UPLOAD_MAX_MEMORY_SIZE = None
219DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
220DATETIME_FORMAT = '%d.%m.%Y %H:%M'
221DATETIME_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']
222DATE_FORMAT = '%d.%m.%Y'
223DATE_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']
224DEBUG = True
225DEBUG_PROPAGATE_EXCEPTIONS = False
226DECIMAL_SEPARATOR = '.'
227DEFAULT_CHARSET = 'utf-8'
228DEFAULT_CONTENT_TYPE = 'text/html'
229DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
230DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
231DEFAULT_FROM_EMAIL = 'webmaster@localhost'
232DEFAULT_INDEX_TABLESPACE = ''
233DEFAULT_PHONE_REGION_CODE = 'UA'
234DEFAULT_TABLESPACE = ''
235DISALLOWED_USER_AGENTS = []
236DJANGO_ADMIN_DEBUG = True
237EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
238EMAIL_HOST = 'localhost'
239EMAIL_HOST_PASSWORD = '********************'
240EMAIL_HOST_USER = ''
241EMAIL_PORT = 25
242EMAIL_SENDER_EXTENDED_MODE = False
243EMAIL_SSL_CERTFILE = None
244EMAIL_SSL_KEYFILE = '********************'
245EMAIL_SUBJECT_PREFIX = '[Django] '
246EMAIL_TIMEOUT = None
247EMAIL_USE_LOCALTIME = False
248EMAIL_USE_SSL = False
249EMAIL_USE_TLS = False
250FILE_CHARSET = 'utf-8'
251FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
252FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
253FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
254FILE_UPLOAD_PERMISSIONS = None
255FILE_UPLOAD_TEMP_DIR = None
256FIRST_DAY_OF_WEEK = 0
257FIXTURE_DIRS = "('microfinance/apps/authentication/fixtures',)"
258FORCE_SCRIPT_NAME = None
259FORMAT_MODULE_PATH = None
260FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
261HTTP_HOST = 'http://127.0.0.1:8892'
262IGNORABLE_404_URLS = []
263INPUT_DATE_FORMAT = '%Y-%m-%d'
264INSTALLED_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', 'behave_django', 'microfinance.libs.test_api', 'silk']
265INTERNAL_IPS = []
266JS_REVERSE_INCLUDE_ONLY_NAMESPACES = ['authentication', 'authentication-api', 'backoffice', 'backoffice-api', 'user-profile', 'user-profile-api', 'agent', 'agent-api', 'loan-api', 'system_secure', '']
267JS_REVERSE_JS_VAR_NAME = 'Urls'
268LANGUAGES = "(('uk', 'УкраїнÑька'), ('ru', 'РуÑÑкий'))"
269LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
270LANGUAGE_CODE = 'uk'
271LANGUAGE_COOKIE_AGE = None
272LANGUAGE_COOKIE_DOMAIN = None
273LANGUAGE_COOKIE_NAME = '_locale_'
274LANGUAGE_COOKIE_PATH = '/'
275LOCALE_PATHS = ['/app/microfinance/locale']
276LOGGING = {'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': ['console', 'error_file'], 'propagate': True, 'level': 'ERROR'}, 'microfinance': {'handlers': ['console', 'debug_file'], 'propagate': True, 'level': 'DEBUG'}, 'django.server': {'handlers': ['requests_file'], 'propagate': True, 'level': 'INFO'}}}
277LOGGING_CONFIG = 'logging.config.dictConfig'
278LOGIN_REDIRECT_URL = '/accounts/profile/'
279LOGIN_URL = '/accounts/login/'
280LOGOUT_REDIRECT_URL = None
281MANAGERS = []
282MEDIA_ROOT = '/app/microfinance/media/'
283MEDIA_URL = '/media/'
284MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
285MIDDLEWARE = ['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']
286MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
287MIGRATION_MODULES = {}
288MONTH_DAY_FORMAT = 'F j'
289NOTIFICATION_ADDRESSEE_DEFINITION = {'sms': 'microfinance.apps.authentication.helpers.get_user_phone_number'}
290NOTIFICATION_SERVICES = {'sms': 'sms_sender.service.SmsService'}
291NUMBER_GROUPING = 0
292OPENINGHOURS_PREMISES_MODEL = 'company.CompanyOffice'
293PASSWORD_HASHERS = '********************'
294PASSWORD_RESET_TIMEOUT_DAYS = '********************'
295PAYBOX_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': 30}, 'refill': {}, 'pay': {}}}
296PAYSYS_BIND_CARD_BACKENDS = ['liqpay']
297PAYSYS_DEFAULT_CARD_BIND_BACKEND = 'liqpay'
298PREPEND_WWW = False
299PROJECT_NAME = 'microfinance'
300RAVEN_CONFIG = {'dsn': None, 'release': ''}
301REGISTRATION_PHONE_CONFIRMATION_CODE_LENGTH = 4
302RESOLVER = <django_assets.env.DjangoResolver object at 0x7f982da13cc0>
303REST_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',)}
304ROOT_URLCONF = 'microfinance.urls'
305SCORING_SIMULATION = True
306SECRET_KEY = '********************'
307SECURE_BROWSER_XSS_FILTER = False
308SECURE_CONTENT_TYPE_NOSNIFF = False
309SECURE_HSTS_INCLUDE_SUBDOMAINS = False
310SECURE_HSTS_PRELOAD = False
311SECURE_HSTS_SECONDS = 0
312SECURE_PROXY_SSL_HEADER = None
313SECURE_REDIRECT_EXEMPT = []
314SECURE_SERVICES = ['microfinance.libs.secure.service.UserSecureService']
315SECURE_SSL_HOST = None
316SECURE_SSL_REDIRECT = False
317SERVER_EMAIL = 'root@localhost'
318SESSION_CACHE_ALIAS = 'default'
319SESSION_COOKIE_AGE = 1209600
320SESSION_COOKIE_DOMAIN = None
321SESSION_COOKIE_HTTPONLY = True
322SESSION_COOKIE_NAME = 'sessionid'
323SESSION_COOKIE_PATH = '/'
324SESSION_COOKIE_SECURE = False
325SESSION_ENGINE = 'django.contrib.sessions.backends.db'
326SESSION_EXPIRE_AT_BROWSER_CLOSE = False
327SESSION_FILE_PATH = None
328SESSION_SAVE_EVERY_REQUEST = False
329SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
330SETTINGS_MODULE = 'microfinance.settings.dev'
331SHORT_DATETIME_FORMAT = 'm/d/Y P'
332SHORT_DATE_FORMAT = 'm/d/Y'
333SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
334SILENCED_SYSTEM_CHECKS = []
335SILKY_AUTHENTICATION = True
336SILKY_AUTHORISATION = True
337SILKY_MAX_RECORDED_REQUESTS = 2000
338SILKY_META = True
339SILKY_PYTHON_PROFILER = True
340SMS_SENDER_EXTENDED_MODE = True
341STATICFILES_DIRS = "('/app/microfinance/static', '/app/microfinance/var/static_build')"
342STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
343STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
344STATIC_ROOT = '/app/microfinance/var/static'
345STATIC_URL = '/static/'
346SWAGGER_SETTINGS = {'DEFAULT_INFO': 'microfinance.urls.api_info'}
347TEMPLATES = [{'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']}}]
348TEMPORARY_BLOCK = True
349TEST_NON_SERIALIZED_APPS = ['openinghours']
350TEST_RUNNER = 'django.test.runner.DiscoverRunner'
351THOUSAND_SEPARATOR = ','
352TIME_FORMAT = 'P'
353TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
354TIME_ZONE = 'Europe/Kiev'
355USER_IS_STAFF = <function _default_user_is_staff at 0x7f9831fa01e0>
356USER_MODEL = 'authentication.User'
357USER_MODEL_APP = 'authentication'
358USER_MODEL_NAME = 'User'
359USER_MODEL_STR = 'microfinance.apps.authentication.models.User'
360USER_PERMISSION_CACHE_TIMEOUT = 3600
361USE_ETAGS = False
362USE_I18N = True
363USE_L10N = True
364USE_THOUSAND_SEPARATOR = False
365USE_TZ = False
366USE_X_FORWARDED_HOST = False
367USE_X_FORWARDED_PORT = False
368WSGI_APPLICATION = 'microfinance.wsgi.application'
369X_FRAME_OPTIONS = 'SAMEORIGIN'
370YEAR_MONTH_FORMAT = 'F Y'
371
372
373You're seeing this error because you have DEBUG = True in your
374Django settings file. Change that to False, and Django will
375display a standard page generated by the handler for this status code.