Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
536
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. TypeError at /api/geo-details/get_locality_options/
  2. get_locality_options() missing 1 required positional argument: 'search_request'
  3.  
  4. Request Method: POST
  5. Request URL: http://forza-dev.kitway.com.ua/api/geo-details/get_locality_options/
  6. Django Version: 1.11.8
  7. Python Executable: /usr/bin/python3
  8. Python Version: 3.6.3
  9. Python Path: ['/app', '/usr/bin', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/lib/python3.6/site-packages']
  10. Server time: Чт, 18 Січ 2018 12:15:03 +0200
  11. Installed 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. 'rest_framework_swagger',
  29. 'rangefilter',
  30. 'ckeditor',
  31. 'smart_docs',
  32. 'sms_sender',
  33. 'fixtures_migrator',
  34. 'tempometry',
  35. 'ukrmail',
  36. 'microfinance.libs',
  37. 'microfinance.apps.backoffice',
  38. 'microfinance.apps.user_profile',
  39. 'microfinance.apps.agent',
  40. 'microfinance.apps.documents',
  41. 'microfinance.apps.company',
  42. 'microfinance.libs.bankid',
  43. 'silk']
  44. Installed Middleware:
  45. ['silk.middleware.SilkyMiddleware',
  46. 'corsheaders.middleware.CorsMiddleware',
  47. 'django.middleware.security.SecurityMiddleware',
  48. 'django.contrib.sessions.middleware.SessionMiddleware',
  49. 'django.middleware.common.CommonMiddleware',
  50. 'django.middleware.csrf.CsrfViewMiddleware',
  51. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  52. 'django.contrib.messages.middleware.MessageMiddleware',
  53. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  54.  
  55.  
  56. Traceback:
  57.  
  58. File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  59. 41. response = get_response(request)
  60.  
  61. File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  62. 187. response = self.process_exception_by_middleware(e, request)
  63.  
  64. File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  65. 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  66.  
  67. File "/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  68. 58. return view_func(*args, **kwargs)
  69.  
  70. File "/usr/lib/python3.6/site-packages/django/views/generic/base.py" in view
  71. 68. return self.dispatch(request, *args, **kwargs)
  72.  
  73. File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  74. 494. response = self.handle_exception(exc)
  75.  
  76. File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
  77. 454. self.raise_uncaught_exception(exc)
  78.  
  79. File "/usr/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  80. 491. response = handler(request, *args, **kwargs)
  81.  
  82. File "/usr/lib/python3.6/site-packages/rest_framework/decorators.py" in handler
  83. 53. return func(*args, **kwargs)
  84.  
  85. File "/app/microfinance/apps/geo_service/views.py" in geo_details
  86. 54. context = getattr(service, method)(**request.data)
  87.  
  88. Exception Type: TypeError at /api/geo-details/get_locality_options/
  89. Exception Value: get_locality_options() missing 1 required positional argument: 'search_request'
  90. Request information:
  91. USER: d9925507-647a-4488-9ead-f4b1edced768
  92.  
  93. GET: No GET data
  94.  
  95. POST: No POST data
  96.  
  97. FILES: No FILES data
  98.  
  99. COOKIES: No cookie data
  100.  
  101. META:
  102. CONTENT_LENGTH = '59'
  103. CONTENT_TYPE = 'application/json;charset=UTF-8'
  104. HTTP_ACCEPT = 'application/json, text/plain, */*'
  105. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  106. HTTP_ACCEPT_LANGUAGE = 'ru,uk-UA;q=0.8,uk;q=0.6,en-US;q=0.4,en;q=0.2'
  107. HTTP_AUTHORIZATION = 'Token 7bed0c08e030e85f977f6bd3141f8453d5ab7f33'
  108. HTTP_CONNECTION = 'close'
  109. HTTP_HOST = 'forza-dev.kitway.com.ua'
  110. HTTP_ORIGIN = 'https://client.forza-dev.kitway.com.ua'
  111. HTTP_REFERER = 'https://client.forza-dev.kitway.com.ua/profile/'
  112. HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36'
  113. HTTP_X_FORWARDED_FOR = '77.120.243.5'
  114. HTTP_X_REAL_IP = '77.120.243.5'
  115. PATH_INFO = '/api/geo-details/get_locality_options/'
  116. QUERY_STRING = ''
  117. RAW_URI = '/api/geo-details/get_locality_options/'
  118. REMOTE_ADDR = '127.0.0.1'
  119. REMOTE_PORT = '54088'
  120. REQUEST_METHOD = 'POST'
  121. SCRIPT_NAME = ''
  122. SERVER_NAME = '127.0.0.1'
  123. SERVER_PORT = '8000'
  124. SERVER_PROTOCOL = 'HTTP/1.0'
  125. SERVER_SOFTWARE = 'gunicorn/19.7.1'
  126. gunicorn.socket = <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000), raddr=('127.0.0.1', 54088)>
  127. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb321522390>
  128. wsgi.file_wrapper = ''
  129. wsgi.input = <gunicorn.http.body.Body object at 0x7fb3215224e0>
  130. wsgi.multiprocess = True
  131. wsgi.multithread = False
  132. wsgi.run_once = False
  133. wsgi.url_scheme = 'http'
  134. wsgi.version = '(1, 0)'
  135.  
  136. Settings:
  137. Using settings module microfinance.settings.staging
  138. ABSOLUTE_URL_OVERRIDES = {}
  139. ADMINS = []
  140. ADMIN_URL_PREFIX = '^admin/'
  141. ALLOWED_HOSTS = ['*']
  142. API_URL_PREFIX = '********************'
  143. APPEND_SLASH = True
  144. ASSETS_AUTO_BUILD = True
  145. ASSETS_CACHE = True
  146. ASSETS_DEBUG = True
  147. ASSETS_LOAD_PATH = ['microfinance/apps/agent/static', 'microfinance/apps/authentication/static', 'microfinance/apps/backoffice/static', 'microfinance/apps/user_profile/static', 'microfinance/static']
  148. ASSETS_MANIFEST = 'cache'
  149. ASSETS_ROOT = '/app/microfinance/var/static_build'
  150. ASSETS_UPDATER = 'timestamp'
  151. ASSETS_URL_EXPIRE = None
  152. ASSETS_URL_MAPPING = {}
  153. ASSETS_VERSIONS = 'hash'
  154. AUTHENTICATION_BACKENDS = "('microfinance.apps.authentication.backends.PhonePasswordBackend', 'microfinance.apps.authentication.backends.InnPasswordBackend', 'microfinance.apps.authentication.backends.PhoneCodeBackend', 'microfinance.apps.authentication.backends.StaffEmailBackend')"
  155. AUTHORISATION_PHONE_CONFIRMATION_CODE_LENGTH = 8
  156. AUTH_PASSWORD_VALIDATORS = '********************'
  157. AUTH_USER_MODEL = 'authentication.User'
  158. BACKOFFICE_API_URL_PREFIX = '********************'
  159. BACKOFFICE_URL_PREFIX = '^backoffice/'
  160. BANK_ID_AUTH_DOMAIN = 'bankid.privatbank.ua'
  161. BANK_ID_CERT = '/app/microfinance/settings/bank_id_cert.rst'
  162. BANK_ID_CLIENT_ID = ''
  163. BANK_ID_CLIENT_SECRET = '********************'
  164. BASE_DIR = '/app/microfinance'
  165. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}}
  166. CACHE_FILE_MODE = None
  167. CACHE_MIDDLEWARE_ALIAS = 'default'
  168. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  169. CACHE_MIDDLEWARE_SECONDS = 600
  170. CKEDITOR_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'}}
  171. CORS_ORIGIN_ALLOW_ALL = True
  172. CSRF_COOKIE_AGE = 31449600
  173. CSRF_COOKIE_DOMAIN = None
  174. CSRF_COOKIE_HTTPONLY = False
  175. CSRF_COOKIE_NAME = 'csrftoken'
  176. CSRF_COOKIE_PATH = '/'
  177. CSRF_COOKIE_SECURE = False
  178. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  179. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  180. CSRF_TRUSTED_ORIGINS = []
  181. CSRF_USE_SESSIONS = False
  182. DASHBOARD_STATS_HANDLERS = "('microfinance.apps.authentication.dashboard.UserProfileDash',)"
  183. DATABASES = {'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}}}
  184. DATABASE_ROUTERS = []
  185. DATA_UPLOAD_MAX_MEMORY_SIZE = None
  186. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  187. DATETIME_FORMAT = '%d.%m.%Y %H:%M'
  188. DATETIME_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']
  189. DATE_FORMAT = '%d.%m.%Y'
  190. DATE_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']
  191. DEBUG = True
  192. DEBUG_PROPAGATE_EXCEPTIONS = False
  193. DECIMAL_SEPARATOR = '.'
  194. DEFAULT_CHARSET = 'utf-8'
  195. DEFAULT_CONTENT_TYPE = 'text/html'
  196. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  197. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  198. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  199. DEFAULT_INDEX_TABLESPACE = ''
  200. DEFAULT_PHONE_REGION_CODE = 'UA'
  201. DEFAULT_TABLESPACE = ''
  202. DISALLOWED_USER_AGENTS = []
  203. EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  204. EMAIL_HOST = 'localhost'
  205. EMAIL_HOST_PASSWORD = '********************'
  206. EMAIL_HOST_USER = ''
  207. EMAIL_PORT = 25
  208. EMAIL_SENDER_EXTENDED_MODE = False
  209. EMAIL_SSL_CERTFILE = None
  210. EMAIL_SSL_KEYFILE = '********************'
  211. EMAIL_SUBJECT_PREFIX = '[Django] '
  212. EMAIL_TIMEOUT = None
  213. EMAIL_USE_LOCALTIME = False
  214. EMAIL_USE_SSL = False
  215. EMAIL_USE_TLS = False
  216. FILE_CHARSET = 'utf-8'
  217. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  218. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  219. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  220. FILE_UPLOAD_PERMISSIONS = None
  221. FILE_UPLOAD_TEMP_DIR = None
  222. FIRST_DAY_OF_WEEK = 0
  223. FIXTURE_DIRS = []
  224. FORCE_SCRIPT_NAME = None
  225. FORMAT_MODULE_PATH = None
  226. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  227. HTTP_HOST = 'http://127.0.0.1:8890'
  228. IGNORABLE_404_URLS = []
  229. INPUT_DATE_FORMAT = '%Y-%m-%d'
  230. INSTALLED_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', 'rest_framework_swagger', 'rangefilter', 'ckeditor', 'smart_docs', 'sms_sender', 'fixtures_migrator', 'tempometry', 'ukrmail', 'microfinance.libs', 'microfinance.apps.backoffice', 'microfinance.apps.user_profile', 'microfinance.apps.agent', 'microfinance.apps.documents', 'microfinance.apps.company', 'microfinance.libs.bankid', 'silk']
  231. INTERNAL_IPS = []
  232. JS_REVERSE_INCLUDE_ONLY_NAMESPACES = ['authentication', 'authentication-api', 'backoffice', 'backoffice-api', 'user-profile', 'user-profile-api', 'agent', 'agent-api', '']
  233. JS_REVERSE_JS_VAR_NAME = 'Urls'
  234. LANGUAGES = "(('uk', 'Українська'), ('ru', 'Русский'))"
  235. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  236. LANGUAGE_CODE = 'uk'
  237. LANGUAGE_COOKIE_AGE = None
  238. LANGUAGE_COOKIE_DOMAIN = None
  239. LANGUAGE_COOKIE_NAME = '_locale_'
  240. LANGUAGE_COOKIE_PATH = '/'
  241. LOCALE_PATHS = ['/app/microfinance/locale']
  242. LOGGING = {'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'}}}
  243. LOGGING_CONFIG = 'logging.config.dictConfig'
  244. LOGIN_REDIRECT_URL = '/accounts/profile/'
  245. LOGIN_URL = '/accounts/login/'
  246. LOGOUT_REDIRECT_URL = None
  247. MANAGERS = []
  248. MEDIA_ROOT = '/app/microfinance/media/'
  249. MEDIA_URL = '/media/'
  250. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  251. MIDDLEWARE = ['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']
  252. MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
  253. MIGRATION_MODULES = {}
  254. MONTH_DAY_FORMAT = 'F j'
  255. NOTIFICATION_ADDRESSEE_DEFINITION = {'sms': 'microfinance.apps.authentication.helpers.get_user_phone_number'}
  256. NOTIFICATION_SERVICES = {'sms': 'sms_sender.service.SmsService'}
  257. NUMBER_GROUPING = 0
  258. OPENINGHOURS_PREMISES_MODEL = 'company.CompanyOffice'
  259. PASSWORD_HASHERS = '********************'
  260. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  261. PREPEND_WWW = False
  262. PROJECT_NAME = 'microfinance'
  263. RAVEN_CONFIG = {'dsn': 'https://de0c1d87ffbb485d9318676c8189dc14:4d7768b8b1334ae8940eb5dff41eca2d@sentry.kit-xxi.com.ua/15', 'release': ''}
  264. REGISTRATION_PHONE_CONFIRMATION_CODE_LENGTH = 4
  265. RESOLVER = <django_assets.env.DjangoResolver object at 0x7fb31e7e55f8>
  266. REST_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',)}
  267. ROOT_URLCONF = 'microfinance.urls'
  268. SECRET_KEY = '********************'
  269. SECURE_BROWSER_XSS_FILTER = False
  270. SECURE_CONTENT_TYPE_NOSNIFF = False
  271. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  272. SECURE_HSTS_PRELOAD = False
  273. SECURE_HSTS_SECONDS = 0
  274. SECURE_PROXY_SSL_HEADER = None
  275. SECURE_REDIRECT_EXEMPT = []
  276. SECURE_SSL_HOST = None
  277. SECURE_SSL_REDIRECT = False
  278. SERVER_EMAIL = 'root@localhost'
  279. SESSION_CACHE_ALIAS = 'default'
  280. SESSION_COOKIE_AGE = 1209600
  281. SESSION_COOKIE_DOMAIN = None
  282. SESSION_COOKIE_HTTPONLY = True
  283. SESSION_COOKIE_NAME = 'sessionid'
  284. SESSION_COOKIE_PATH = '/'
  285. SESSION_COOKIE_SECURE = False
  286. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  287. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  288. SESSION_FILE_PATH = None
  289. SESSION_SAVE_EVERY_REQUEST = False
  290. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  291. SETTINGS_MODULE = 'microfinance.settings.staging'
  292. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  293. SHORT_DATE_FORMAT = 'm/d/Y'
  294. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  295. SILENCED_SYSTEM_CHECKS = []
  296. SILKY_AUTHENTICATION = True
  297. SILKY_AUTHORISATION = True
  298. SILKY_MAX_RECORDED_REQUESTS = 2000
  299. SILKY_META = True
  300. SILKY_PYTHON_PROFILER = True
  301. SMS_SENDER_EXTENDED_MODE = False
  302. STATICFILES_DIRS = "('/app/microfinance/static', '/app/microfinance/var/static_build')"
  303. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  304. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  305. STATIC_ROOT = '/app/microfinance/var/static'
  306. STATIC_URL = '/static/'
  307. SWAGGER_SETTINGS = {'JSON_EDITOR': True, 'SHOW_REQUEST_HEADERS': True}
  308. TEMPLATES = [{'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']}}]
  309. TEST_NON_SERIALIZED_APPS = []
  310. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  311. THOUSAND_SEPARATOR = ','
  312. TIME_FORMAT = 'P'
  313. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  314. TIME_ZONE = 'Europe/Kiev'
  315. USER_MODEL = 'authentication.User'
  316. USER_MODEL_APP = 'authentication'
  317. USER_MODEL_NAME = 'User'
  318. USER_MODEL_STR = 'microfinance.apps.authentication.models.User'
  319. USER_PERMISSION_CACHE_TIMEOUT = 3600
  320. USE_ETAGS = False
  321. USE_I18N = True
  322. USE_L10N = True
  323. USE_THOUSAND_SEPARATOR = False
  324. USE_TZ = False
  325. USE_X_FORWARDED_HOST = False
  326. USE_X_FORWARDED_PORT = False
  327. WSGI_APPLICATION = 'microfinance.wsgi.application'
  328. X_FRAME_OPTIONS = 'SAMEORIGIN'
  329. YEAR_MONTH_FORMAT = 'F Y'
  330.  
  331.  
  332. You're seeing this error because you have DEBUG = True in your
  333. Django settings file. Change that to False, and Django will
  334. display a standard page generated by the handler for this status code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement