daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Sep 4th, 2018 195 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JSONDecodeError at /v1/payments/207/pre_auth
  2. Extra data: line 1 column 10 (char 9)
  3.  
  4. Request Method: POST
  5. Request URL: https://api-dev.ezteam.ru/v1/payments/207/pre_auth
  6. Django Version: 2.0
  7. Python Executable: /usr/local/bin/python
  8. Python Version: 3.6.6
  9. Python Path: ['/app', '/usr/local/bin', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', '/usr/local/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/site-packages', '/app', '/app', '/app']
  10. Server time: Вт, 4 Сен 2018 09:28:36 +0000
  11. Installed Applications:
  12. ['django.contrib.auth',
  13.  'django.contrib.contenttypes',
  14.  'django.contrib.sessions',
  15.  'django.contrib.staticfiles',
  16.  'django.contrib.admin',
  17.  'django.contrib.humanize',
  18.  'django.contrib.messages',
  19.  'haystack',
  20.  'ezteam.azure_filestorage.apps.AzureFileStorage',
  21.  'ezteam.accounts.apps.AccountFeeConfig',
  22.  'ezteam.beta_sign.apps.BetaSignConfig',
  23.  'ezteam.camp.apps.CampConfig',
  24.  'ezteam.core.apps.CoreConfig',
  25.  'ezteam.competitions.apps.CompetitionsConfig',
  26.  'ezteam.events.apps.EventsConfig',
  27.  'ezteam.front.apps.FrontConfig',
  28.  'ezteam.landing.apps.LandingConfig',
  29.  'ezteam.news.apps.NewsConfig',
  30.  'ezteam.orders.apps.OrderConfig',
  31.  'ezteam.payments.apps.PaymentsConfig',
  32.  'ezteam.rest_framework_friendly_errors.apps.RestFrameworkFriendlyErrorsConfig',
  33.  'ezteam.roles.apps.RolesConfig',
  34.  'ezteam.sites.apps.SitesConfig',
  35.  'ezteam.swim_manual_results.apps.SwimManualResultsConfig',
  36.  'ezteam.users.apps.UsersConfig',
  37.  'ezteam.webinars.apps.WebinarsConfig',
  38.  'ezteam.import_file.apps.ImportFileConfig',
  39.  'corsheaders',
  40.  'django_filters',
  41.  'rest_framework',
  42.  'rest_framework_swagger',
  43.  'bootstrapform',
  44.  'markdown_deux',
  45.  'ezteam.helpdesk.apps.HelpdeskConfig',
  46.  'ezteam.forum.spirit',
  47.  'ezteam.forum.spirit.core',
  48.  'ezteam.forum.spirit.admin',
  49.  'ezteam.forum.spirit.search',
  50.  'ezteam.forum.spirit.user',
  51.  'ezteam.forum.spirit.user.admin',
  52.  'ezteam.forum.spirit.user.auth',
  53.  'ezteam.forum.spirit.category',
  54.  'ezteam.forum.spirit.category.admin',
  55.  'ezteam.forum.spirit.topic',
  56.  'ezteam.forum.spirit.topic.admin',
  57.  'ezteam.forum.spirit.topic.favorite',
  58.  'ezteam.forum.spirit.topic.moderate',
  59.  'ezteam.forum.spirit.topic.notification',
  60.  'ezteam.forum.spirit.topic.poll',
  61.  'ezteam.forum.spirit.topic.private',
  62.  'ezteam.forum.spirit.topic.unread',
  63.  'ezteam.forum.spirit.comment',
  64.  'ezteam.forum.spirit.comment.bookmark',
  65.  'ezteam.forum.spirit.comment.flag',
  66.  'ezteam.forum.spirit.comment.flag.admin',
  67.  'ezteam.forum.spirit.comment.history',
  68.  'ezteam.forum.spirit.comment.like',
  69.  'ezteam.forum.spirit.comment.poll',
  70.  'django.contrib.sitemaps',
  71.  'djconfig',
  72.  'gunicorn',
  73.  'debug_toolbar']
  74. Installed Middleware:
  75. ['corsheaders.middleware.CorsMiddleware',
  76.  'django.middleware.security.SecurityMiddleware',
  77.  'django.contrib.sessions.middleware.SessionMiddleware',
  78.  'django.middleware.locale.LocaleMiddleware',
  79.  'django.middleware.common.CommonMiddleware',
  80.  'debug_toolbar.middleware.DebugToolbarMiddleware',
  81.  'django.middleware.csrf.CsrfViewMiddleware',
  82.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  83.  'django.contrib.messages.middleware.MessageMiddleware',
  84.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  85.  'ezteam.forum.spirit.user.middleware.TimezoneMiddleware',
  86.  'ezteam.forum.spirit.user.middleware.LastIPMiddleware',
  87.  'ezteam.forum.spirit.user.middleware.LastSeenMiddleware',
  88.  'ezteam.forum.spirit.user.middleware.ActiveUserMiddleware',
  89.  'ezteam.forum.spirit.core.middleware.PrivateForumMiddleware',
  90.  'djconfig.middleware.DjConfigMiddleware']
  91.  
  92.  
  93. Traceback:
  94.  
  95. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  96.   35.             response = get_response(request)
  97.  
  98. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  99.   128.                 response = self.process_exception_by_middleware(e, request)
  100.  
  101. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  102.   126.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  103.  
  104. File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  105.   54.         return view_func(*args, **kwargs)
  106.  
  107. File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
  108.   69.             return self.dispatch(request, *args, **kwargs)
  109.  
  110. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  111.   489.             response = self.handle_exception(exc)
  112.  
  113. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
  114.   449.             self.raise_uncaught_exception(exc)
  115.  
  116. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  117.   486.             response = handler(request, *args, **kwargs)
  118.  
  119. File "/app/ezteam/payments/views.py" in post
  120.   339.                     response_dict = json.loads(responst_str)
  121.  
  122. File "/usr/local/lib/python3.6/json/__init__.py" in loads
  123.   354.         return _default_decoder.decode(s)
  124.  
  125. File "/usr/local/lib/python3.6/json/decoder.py" in decode
  126.   342.             raise JSONDecodeError("Extra data", s, end)
  127.  
  128. Exception Type: JSONDecodeError at /v1/payments/207/pre_auth
  129. Exception Value: Extra data: line 1 column 10 (char 9)
  130. Request information:
  131. USER: Java
  132.  
  133. GET: No GET data
  134.  
  135. POST: No POST data
  136.  
  137. FILES: No FILES data
  138.  
  139. COOKIES: No cookie data
  140.  
  141. META:
  142. CONTENT_LENGTH = '0'
  143. HTTP_ACCEPT = 'application/json'
  144. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  145. HTTP_ACCEPT_LANGUAGE = 'ru,en-US;q=0.9,en;q=0.8,uk;q=0.7'
  146. HTTP_AUTHORIZATION = 'JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjp7ImlkIjoyLCJmaXJzdF9uYW1lIjoiSmF2YSIsIm1pZGRsZV9uYW1lIjoiU2NyaXB0IiwibGFzdF9uYW1lIjoiQ2FwaXRhbiIsImVtYWlsIjoiZXp0ZWFtQGluYm94LnJ1IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImdyb3VwcyI6WyJXZWJpbmFyIEFkbWlucyJdLCJyb2xlcyI6W3sidHlwZSI6ImNvYWNoIiwiaWRzIjpbNSwyMCw0LDgsMjEsMjIsMSwyOCw2XX0seyJ0eXBlIjoiYXRobGV0ZSIsImlkcyI6WzE0NCwyLDI3ODE3LDM2ODQsMTBdfSx7InR5cGUiOiJwYXJlbnQiLCJpZHMiOlszNzg4LDE1OF19XSwidHlwZSI6InN0YWZmIn0sImV4cCI6MTUzNjIyNTk3Nywib3JpZ19pYXQiOjE1MzYwNTMxNzd9.qBOKjn4E81DJIFbk6OvoIqEF2r4AxzmZdEjR48VvhwA'
  147. HTTP_DNT = '1'
  148. HTTP_HOST = 'api-dev.ezteam.ru'
  149. HTTP_ORIGIN = 'http://localhost:3000'
  150. HTTP_REFERER = 'http://localhost:3000/payment'
  151. HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
  152. HTTP_X_FORWARDED_FOR = '5.143.177.142'
  153. HTTP_X_FORWARDED_PROTO = 'https'
  154. HTTP_X_REAL_IP = '5.143.177.142'
  155. PATH_INFO = '/v1/payments/207/pre_auth'
  156. QUERY_STRING = ''
  157. RAW_URI = '/v1/payments/207/pre_auth'
  158. REMOTE_ADDR = '172.18.0.6'
  159. REMOTE_PORT = '35404'
  160. REQUEST_METHOD = 'POST'
  161. SCRIPT_NAME = ''
  162. SERVER_NAME = '0.0.0.0'
  163. SERVER_PORT = '5000'
  164. SERVER_PROTOCOL = 'HTTP/1.1'
  165. SERVER_SOFTWARE = 'gunicorn/19.7.1'
  166. gunicorn.socket = <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.0.4', 5000), raddr=('172.18.0.6', 35404)>
  167. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb0db2a8e80>
  168. wsgi.file_wrapper = ''
  169. wsgi.input = <gunicorn.http.body.Body object at 0x7fb0db2a8ba8>
  170. wsgi.multiprocess = True
  171. wsgi.multithread = False
  172. wsgi.run_once = False
  173. wsgi.url_scheme = 'http'
  174. wsgi.version = '(1, 0)'
  175.  
  176. Settings:
  177. Using settings module config.settings.dev
  178. ABSOLUTE_URL_OVERRIDES = {}
  179. ACCOUNTS_FORBIDDEN_USERNAMES = "('signup', 'signout', 'signin', 'activate', 'me', 'password', 'admin')"
  180. ADDRESS_PRE_AUTH = 'https://3dsec.sberbank.ru/payment/rest/registerPreAuth.do'
  181. ADMINS = []
  182. ALLOWED_HOSTS = ['ez-docker.westeurope.cloudapp.azure.com', 'localhost', '0.0.0.0', '127.0.0.1', '52.174.255.203', 'api-dev.ezteam.ru', 'service.ezteam.ru', '51.15.55.90', 'forum.ezteam.ru']
  183. ANONYMOUS_USER_ID = 123
  184. API_ENABLE = '********************'
  185. APPEND_SLASH = True
  186. APPS_DIR = <Path:/app/ezteam>
  187. AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend', 'ezteam.forum.spirit.user.auth.backends.UsernameAuthBackend', 'ezteam.forum.spirit.user.auth.backends.EmailAuthBackend']
  188. AUTH_PASSWORD_VALIDATORS = '********************'
  189. AUTH_USER_MODEL = 'users.User'
  190. AZURE_ACCOUNT_KEY = '********************'
  191. AZURE_ACCOUNT_NAME = 'ezteamfiles'
  192. AZURE_CONTAINER = 'ezteam'
  193. AZURE_FILE_STORAGE_URL = 'files.ezteam.ru'
  194. AZURE_SSL = True
  195. CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://redis:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}, 'KEY_PREFIX': '********************'}, 'st_rate_limit': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://redis:6379/2', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}, 'KEY_PREFIX': '********************', 'TIMEOUT': None}}
  196. CACHE_MIDDLEWARE_ALIAS = 'default'
  197. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  198. CACHE_MIDDLEWARE_SECONDS = 600
  199. CACHE_TTL = 900
  200. CELERY_BROKER_URL = 'redis://redis:6379/0'
  201. CELERY_IGNORE_RESULT = True
  202. CELERY_RESULT_BACKEND = 'redis://redis:6379/0'
  203. CORS_ALLOW_METHODS = "('DELETE', 'GET', 'OPTIONS', 'PATCH', 'POST', 'PUT')"
  204. CORS_ORIGIN_ALLOW_ALL = True
  205. CSRF_COOKIE_AGE = 31449600
  206. CSRF_COOKIE_DOMAIN = None
  207. CSRF_COOKIE_HTTPONLY = False
  208. CSRF_COOKIE_NAME = 'csrftoken'
  209. CSRF_COOKIE_PATH = '/'
  210. CSRF_COOKIE_SECURE = False
  211. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  212. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  213. CSRF_TRUSTED_ORIGINS = []
  214. CSRF_USE_SESSIONS = False
  215. DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql', 'NAME': 'ezteam_db', 'USER': 'ez_admin', 'PASSWORD': '********************', 'HOST': 'postgres', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
  216. DATABASE_ROUTERS = []
  217. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  218. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  219. DATETIME_FORMAT = 'N j, Y, P'
  220. 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']
  221. DATE_FORMAT = 'N j, Y'
  222. DATE_INPUT_FORMATS = '%d.%m.%Y'
  223. DEBUG = True
  224. DEBUG_PROPAGATE_EXCEPTIONS = False
  225. DECIMAL_SEPARATOR = '.'
  226. DEFAULT_CHARSET = 'utf-8'
  227. DEFAULT_CONTENT_TYPE = 'text/html'
  228. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  229. DEFAULT_FILE_STORAGE = 'ezteam.azure_filestorage.backends.azure_storage.AzureStorage'
  230. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  231. DEFAULT_INDEX_TABLESPACE = ''
  232. DEFAULT_TABLESPACE = ''
  233. DEPOSIT = 'https://3dsec.sberbank.ru/payment/rest/deposit.do'
  234. DISALLOWED_USER_AGENTS = []
  235. EMAIL_BACKEND = 'config.settings.smtp_dev.DevEmailBackend'
  236. EMAIL_CHANGE_CONFIRMATION_TIMEOUT_HOURS = 2
  237. EMAIL_FILE_PATH = '/app/tmp/email_messages'
  238. EMAIL_HOST = 'smtp.outlook.office365.com'
  239. EMAIL_HOST_PASSWORD = '********************'
  240. EMAIL_HOST_USER = 'ezteam@ezteam.ru'
  241. EMAIL_PORT = '587'
  242. EMAIL_SSL_CERTFILE = None
  243. EMAIL_SSL_KEYFILE = '********************'
  244. EMAIL_SUBJECT_PREFIX = '[Django] '
  245. EMAIL_TIMEOUT = None
  246. EMAIL_USE_LOCALTIME = False
  247. EMAIL_USE_SSL = False
  248. EMAIL_USE_TLS = True
  249. FILE_CHARSET = 'utf-8'
  250. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  251. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  252. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  253. FILE_UPLOAD_PERMISSIONS = None
  254. FILE_UPLOAD_TEMP_DIR = None
  255. FIRST_DAY_OF_WEEK = 0
  256. FIXTURE_DIRS = []
  257. FORCE_SCRIPT_NAME = None
  258. FORMAT_MODULE_PATH = None
  259. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  260. FORM_URL = 'https://3dsec.sberbank.ru/payment/merchants/sbersafe/payment_ru.html'
  261. FORUM_ENABLE = True
  262. FRIENDLY_ERRORS = {'EXCEPTION_DICT': {'APIException': '********************', 'ParseError': 'PARSE_ERROR', 'AuthenticationFailed': 'AUTHENTICATION_FAILED', 'NotAuthenticated': 'NOT_AUTHENTICATED', 'PermissionDenied': 'PERMISSION_DENIED', 'NotFound': 'NOT_FOUND', 'Http404': 'NOT_FOUND', 'MethodNotAllowed': 'METHOD_NOT_ALLOWED', 'NotAcceptable': 'NOT_ACCEPTABLE', 'UnsupportedMediaType': 'UNSUPPORTED_MEDIA_TYPE', 'Throttled': 'THROTTLED', 'Duplicate': 'DUPLICATE', 'InvalidCursor': 'INVALID_CURSOR'}, 'VALIDATOR_ERRORS': {'validate_password': '********************'}, 'VALIDATION_FAILED_CODE': 'VALIDATION_FAILED', 'VALIDATION_FAILED_MESSAGE': 'Validation failed', 'FIELD_ERRORS': {'BooleanField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD'}, 'NullBooleanField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD'}, 'CharField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'EmailField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'RegexField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'SlugField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'URLField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'UUIDField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'FilePathField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'invalid_choice': 'INVALID_FIELD'}, 'IPAddressField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'blank': 'MISSING_FIELD', 'max_length': 2041, 'min_length': 2051}, 'IntegerField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'max_string_length': 2042, 'min_value': 2071, 'max_value': 2061}, 'FloatField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'max_string_length': 2042, 'min_value': 2071, 'max_value': 2061}, 'DecimalField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'max_string_length': 2042, 'min_value': 2071, 'max_value': 2061, 'max_whole_digits': 2011, 'max_digits': 2012, 'max_decimal_places': 2013}, 'ChoiceField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'invalid_choice': 'INVALID_FIELD'}, 'MultipleChoiceField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'invalid_choice': 'INVALID_FIELD', 'not_a_list': 2121, 'empty': 2092}, 'FileField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'max_length': 2043, 'empty': 2091, 'no_name': 2101}, 'ImageField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'max_length': 2043, 'empty': 2091, 'no_name': 2101, 'invalid_image': 2111}, 'ListField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'not_a_list': 2122, 'empty': 2015, 'max_length': 2041, 'min_length': 2051}, 'DictField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'not_a_dict': 2131, 'empty': 2015}, 'JSONField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD'}, 'StringRequiredField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD'}, 'PrimaryKeyRelatedField': '********************', 'HyperlinkedRelatedField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'does_not_exist': 2151, 'incorrect_type': 2161, 'incorrect_match': 2171, 'no_match': 2171}, 'SlugRelatedField': {'required': 'MISSING_FIELD', 'invalid': 'INVALID_FIELD', 'null': 'MISSING_FIELD', 'does_not_exist': 2151, 'incorrect_type': 2161}, 'HyperlinkedIdentityField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'does_not_exist': 2151, 'incorrect_type': 2161, 'incorrect_match': 2171, 'no_match': 2171}, 'ManyRelatedField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'invalid_choice': 'INVALID_FIELD', 'not_a_list': 2123, 'empty': 2093}, 'ReadOnlyField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD'}, 'HiddenField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD'}, 'ModelField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD', 'max_length': 2041}, 'SerializerMethodField': {'required': 'MISSING_FIELD', 'null': 'MISSING_FIELD'}, 'DateTimeField': {'invalid': 'INVALID_FIELD', 'date': 2181}, 'DateField': {'invalid': 'INVALID_FIELD', 'datetime': 2191}, 'TimeField': {'invalid': 'INVALID_FIELD'}, 'DurationField': {'invalid': 'INVALID_FIELD'}}}
  263. GET_ORDERS_STATUS = 'https://3dsec.sberbank.ru/payment/rest/getOrderStatus.do'
  264. HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/app/ezteam/whoosh_index'}}
  265. HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
  266. HELPDESK_ENABLE = True
  267. IGNORABLE_404_URLS = []
  268. INSTALLED_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.messages', 'haystack', 'ezteam.azure_filestorage.apps.AzureFileStorage', 'ezteam.accounts.apps.AccountFeeConfig', 'ezteam.beta_sign.apps.BetaSignConfig', 'ezteam.camp.apps.CampConfig', 'ezteam.core.apps.CoreConfig', 'ezteam.competitions.apps.CompetitionsConfig', 'ezteam.events.apps.EventsConfig', 'ezteam.front.apps.FrontConfig', 'ezteam.landing.apps.LandingConfig', 'ezteam.news.apps.NewsConfig', 'ezteam.orders.apps.OrderConfig', 'ezteam.payments.apps.PaymentsConfig', 'ezteam.rest_framework_friendly_errors.apps.RestFrameworkFriendlyErrorsConfig', 'ezteam.roles.apps.RolesConfig', 'ezteam.sites.apps.SitesConfig', 'ezteam.swim_manual_results.apps.SwimManualResultsConfig', 'ezteam.users.apps.UsersConfig', 'ezteam.webinars.apps.WebinarsConfig', 'ezteam.import_file.apps.ImportFileConfig', 'corsheaders', 'django_filters', 'rest_framework', 'rest_framework_swagger', 'bootstrapform', 'markdown_deux', 'ezteam.helpdesk.apps.HelpdeskConfig', 'ezteam.forum.spirit', 'ezteam.forum.spirit.core', 'ezteam.forum.spirit.admin', 'ezteam.forum.spirit.search', 'ezteam.forum.spirit.user', 'ezteam.forum.spirit.user.admin', 'ezteam.forum.spirit.user.auth', 'ezteam.forum.spirit.category', 'ezteam.forum.spirit.category.admin', 'ezteam.forum.spirit.topic', 'ezteam.forum.spirit.topic.admin', 'ezteam.forum.spirit.topic.favorite', 'ezteam.forum.spirit.topic.moderate', 'ezteam.forum.spirit.topic.notification', 'ezteam.forum.spirit.topic.poll', 'ezteam.forum.spirit.topic.private', 'ezteam.forum.spirit.topic.unread', 'ezteam.forum.spirit.comment', 'ezteam.forum.spirit.comment.bookmark', 'ezteam.forum.spirit.comment.flag', 'ezteam.forum.spirit.comment.flag.admin', 'ezteam.forum.spirit.comment.history', 'ezteam.forum.spirit.comment.like', 'ezteam.forum.spirit.comment.poll', 'django.contrib.sitemaps', 'djconfig', 'gunicorn', 'debug_toolbar']
  269. INTERNAL_IPS = ['127.0.0.1']
  270. JWT_AUTH = {'JWT_ALLOW_REFRESH': True, 'JWT_EXPIRATION_DELTA': datetime.timedelta(2), 'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(7), 'JWT_PAYLOAD_HANDLER': 'ezteam.core.utils.jwt.jwt_payload_handler', 'JWT_PAYLOAD_GET_USERNAME_HANDLER': 'ezteam.core.utils.jwt.jwt_get_username_from_payload_handler'}
  271. LANGUAGES = [('ru', 'Русский'), ('en', 'English'), ('en-gb', 'British English')]
  272. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  273. LANGUAGE_CODE = 'en'
  274. LANGUAGE_COOKIE_AGE = None
  275. LANGUAGE_COOKIE_DOMAIN = None
  276. LANGUAGE_COOKIE_NAME = 'django_language'
  277. LANGUAGE_COOKIE_PATH = '/'
  278. LOCALE_PATHS = ['/app/templates/locale']
  279. LOGGING = {}
  280. LOGGING_CONFIG = 'logging.config.dictConfig'
  281. LOGIN_REDIRECT_URL = 'spirit:user:update'
  282. LOGIN_URL = 'spirit:user:auth:login'
  283. LOGOUT_REDIRECT_URL = None
  284. LOGOUT_URL = 'rest_framework:logout'
  285. MANAGERS = []
  286. MEDIA_ROOT = '/app/ezteam/mediafiles'
  287. MEDIA_URL = '/mediafiles/'
  288. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  289. MIDDLEWARE = ['corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'ezteam.forum.spirit.user.middleware.TimezoneMiddleware', 'ezteam.forum.spirit.user.middleware.LastIPMiddleware', 'ezteam.forum.spirit.user.middleware.LastSeenMiddleware', 'ezteam.forum.spirit.user.middleware.ActiveUserMiddleware', 'ezteam.forum.spirit.core.middleware.PrivateForumMiddleware', 'djconfig.middleware.DjConfigMiddleware']
  290. MIGRATION_MODULES = {}
  291. MONTH_DAY_FORMAT = 'F j'
  292. NOREPLY_EMAIL_ADDRESS = 'ezteam@ezteam.ru'
  293. NUMBER_GROUPING = 0
  294. PASSWORD_HASHERS = '********************'
  295. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  296. PREPEND_WWW = False
  297. QUEUE_EMAIL_BOX_HOST = 'smtp.outlook.office365.com'
  298. QUEUE_EMAIL_BOX_PASSWORD = '********************'
  299. QUEUE_EMAIL_BOX_SSL = 'True'
  300. QUEUE_EMAIL_BOX_TO = 'service@ezteam.ru'
  301. QUEUE_EMAIL_BOX_TYPE = 'pop3'
  302. QUEUE_EMAIL_BOX_USER = 'ezteam@ezteam.ru'
  303. READ_DOT_ENV_FILE = False
  304. REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.SessionAuthentication'), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'EXCEPTION_HANDLER': 'ezteam.rest_framework_friendly_errors.handlers.friendly_exception_handler', 'DEFAULT_THROTTLE_CLASSES': ('rest_framework.throttling.ScopedRateThrottle',), 'DEFAULT_THROTTLE_RATES': {'password_reset': '********************', 'confirm_password_reset': '********************'}, 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',)}
  305. RETURN_URL = 'http://localhost:3000/payment-status/'
  306. ROOT_DIR = <Path:/app>
  307. ROOT_TEMPLATES_DIR = <Path:/app/templates>
  308. ROOT_URLCONF = 'config.urls'
  309. SECRET_KEY = '********************'
  310. SECURE_BROWSER_XSS_FILTER = True
  311. SECURE_CONTENT_TYPE_NOSNIFF = True
  312. SECURE_HSTS_INCLUDE_SUBDOMAINS = True
  313. SECURE_HSTS_PRELOAD = False
  314. SECURE_HSTS_SECONDS = 60
  315. SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
  316. SECURE_REDIRECT_EXEMPT = []
  317. SECURE_SSL_HOST = None
  318. SECURE_SSL_REDIRECT = False
  319. SEND_REPORT_TO_ADMINS = False
  320. SERVER_EMAIL = 'root@localhost'
  321. SESSION_CACHE_ALIAS = 'default'
  322. SESSION_COOKIE_AGE = 1209600
  323. SESSION_COOKIE_DOMAIN = None
  324. SESSION_COOKIE_HTTPONLY = True
  325. SESSION_COOKIE_NAME = 'sessionid'
  326. SESSION_COOKIE_PATH = '/'
  327. SESSION_COOKIE_SECURE = False
  328. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  329. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  330. SESSION_FILE_PATH = None
  331. SESSION_SAVE_EVERY_REQUEST = False
  332. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  333. SETTINGS_MODULE = 'config.settings.dev'
  334. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  335. SHORT_DATE_FORMAT = 'm/d/Y'
  336. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  337. SIGNUP_CONFIRMATION_TIMEOUT_HOURS = 48
  338. SILENCED_SYSTEM_CHECKS = []
  339. SITES = {'api': '********************', 'front': {'domain': 'fe-dev.ezteam.ru', 'scheme': 'http:', 'name': 'front'}, 'helpdesk': {'domain': 'service.ezteam.ru', 'scheme': 'https', 'name': 'helpdesk'}}
  340. STATICFILES_DIRS = "('/app/ezteam/common-static', '/app/ezteam/helpdesk', '/app/docs')"
  341. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  342. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  343. STATIC_ROOT = '/app/static'
  344. STATIC_URL = '/static/'
  345. ST_ALLOWED_UPLOAD_FILE_MEDIA_TYPE = {'doc': 'application/msword', 'docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'pdf': 'application/pdf'}
  346. ST_ALLOWED_UPLOAD_IMAGE_FORMAT = "('jpeg', 'jpg', 'gif')"
  347. ST_ALLOWED_URL_PROTOCOLS = {'http', 'irc', 'ftps', 'mailto', 'ftp', 'svn', 'ircs', 'git', 'https', 'magnet'}
  348. ST_BASE_DIR = '/app/config/settings'
  349. ST_CASE_INSENSITIVE_EMAILS = True
  350. ST_COMMENT_MAX_LEN = 3000
  351. ST_DOUBLE_POST_THRESHOLD_MINUTES = 30
  352. ST_MENTIONS_PER_COMMENT = 30
  353. ST_NOTIFICATIONS_PER_PAGE = 20
  354. ST_PRIVATE_FORUM = False
  355. ST_RATELIMIT_CACHE = 'default'
  356. ST_RATELIMIT_CACHE_PREFIX = 'srl'
  357. ST_RATELIMIT_ENABLE = True
  358. ST_RATELIMIT_SKIP_TIMEOUT_CHECK = False
  359. ST_SEARCH_QUERY_MIN_LEN = 3
  360. ST_TESTS_RATELIMIT_NEVER_EXPIRE = False
  361. ST_TOPIC_PRIVATE_CATEGORY_PK = 1
  362. ST_UNICODE_SLUGS = True
  363. ST_UNIQUE_EMAILS = True
  364. ST_UPLOAD_FILE_ENABLED = True
  365. ST_UPLOAD_IMAGE_ENABLED = True
  366. ST_USER_LAST_SEEN_THRESHOLD_MINUTES = 1
  367. ST_YT_PAGINATOR_PAGE_RANGE = 3
  368. SUPPORT_EMAIL_ADDRESS = 'support@ezteam.ru'
  369. SWAGGER_ENABLE = True
  370. SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'api_key': '********************'}, 'DOC_EXPANSION': 'list', 'APIS_SORTER': '********************', 'OPERATIONS_SORTER': 'method', 'JSON_EDITOR': True, 'SHOW_REQUEST_HEADERS': True}
  371. TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/ezteam/templates'], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.contrib.auth.context_processors.auth', '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', 'django.template.context_processors.request', 'djconfig.context_processors.config']}}]
  372. TEST_NON_SERIALIZED_APPS = []
  373. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  374. THOUSAND_SEPARATOR = ','
  375. TIME_FORMAT = 'P'
  376. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  377. TIME_ZONE = 'UTC'
  378. TINKOFF_LOGIN = '1518528312524DEMO'
  379. TINKOFF_PASSWORD = '********************'
  380. USE_ETAGS = False
  381. USE_I18N = True
  382. USE_L10N = True
  383. USE_THOUSAND_SEPARATOR = False
  384. USE_TZ = True
  385. USE_X_FORWARDED_HOST = False
  386. USE_X_FORWARDED_PORT = False
  387. WSGI_APPLICATION = 'config.wsgi.application'
  388. X_FRAME_OPTIONS = 'SAMEORIGIN'
  389. YEAR_MONTH_FORMAT = 'F Y'
  390.  
  391.  
  392. You're seeing this error because you have DEBUG = True in your
  393. Django settings file. Change that to False, and Django will
  394. display a standard page generated by the handler for this status code.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top