SHARE
TWEET

Untitled

a guest Jan 25th, 2016 380 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Request URL:http://cab.pre.dp.vpn/api/2/user/account/register
  2. Request Method:POST
  3. Status Code:500 INTERNAL SERVER ERROR
  4. Remote Address:192.168.176.70:80
  5. Response Headers
  6. view source
  7. Access-Control-Allow-Credentials:true
  8. Access-Control-Allow-Origin:http://pre.dp.vpn
  9. Connection:keep-alive
  10. Content-Type:text/html
  11. Date:Mon, 25 Jan 2016 16:08:05 GMT
  12. Server:nginx/1.8.0
  13. Set-Cookie:csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3; Domain=.pre.dp.vpn; expires=Mon, 23-Jan-2017 16:08:05 GMT; Max-Age=31449600; Path=/
  14. Transfer-Encoding:chunked
  15. Vary:Cookie
  16. X-Api-Version:2
  17. X-Frame-Options:SAMEORIGIN
  18. Request Headers
  19. view source
  20. Accept:application/json, text/javascript, */*; q=0.01
  21. Accept-Encoding:gzip, deflate
  22. Accept-Language:ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
  23. Cache-Control:no-cache
  24. Connection:keep-alive
  25. Content-Length:573
  26. Content-Type:application/json
  27. Cookie:_ym_uid=1448286951108738338; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; _ym_isad=1; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; _CAP=7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3; _ga=GA1.2.2146856858.1450951838; _gat=1; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3
  28. Host:cab.pre.dp.vpn
  29. Origin:http://pre.dp.vpn
  30. Pragma:no-cache
  31. Referer:http://pre.dp.vpn/
  32. User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
  33. X-CSRFToken:biw0CBTMMqho9kNygH4i8JY6MwLGn1f3
  34. Request Payload
  35. view source
  36. {email: "cccccc@yhg.biz", name: "asdfasd", password: "asdfasdf", password_repeat: "asdfasdf",…}
  37. captcha_challenge: "03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA"
  38. captcha_response: "417"
  39. email: "cccccc@yhg.biz"
  40. icq: ""
  41. invite_code: "ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c"
  42. lname: ""
  43. name: "asdfasd"
  44. nickname: ""
  45. password: "asdfasdf"
  46. password_repeat: "asdfasdf"
  47. phone: null
  48. skype: ""
  49.  
  50.  
  51.  
  52.  
  53. KeyError at /api/2/user/account/register
  54. 'last_name'
  55. Request Method: POST
  56. Request URL:    http://pre.park.dp.vpn/api/2/user/account/register
  57. Django Version: 1.8.2
  58. Exception Type: KeyError
  59. Exception Value:   
  60. 'last_name'
  61. Exception Location: /usr/lib/python2.7/collections.py in pop, line 146
  62. Python Executable:  /home/web/services/pre.park.dp.vpn/env/bin/python
  63. Python Version: 2.7.3
  64. Python Path:   
  65. ['/home/web/services/pre.park.dp.vpn',
  66.  '/home/web/services/pre.park.dp.vpn/env/bin',
  67.  '/home/web/services/pre.park.dp.vpn/env/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
  68.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/newrelic-2.54.0.41',
  69.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages',
  70.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7',
  71.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/plat-linux2',
  72.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/lib-tk',
  73.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/lib-old',
  74.  '/home/web/services/pre.park.dp.vpn/env/lib/python2.7/lib-dynload',
  75.  '/usr/lib/python2.7',
  76.  '/usr/lib/python2.7/plat-linux2',
  77.  '/usr/lib/python2.7/lib-tk']
  78. Server time:    Mon, 25 Jan 2016 19:08:05 +0300
  79. Traceback Switch to copy-and-paste view
  80.  
  81. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
  82.                     response = middleware_method(request, callback, callback_args, callback_kwargs)
  83.                     if response:
  84.                         break
  85.             if response is None:
  86.                 wrapped_callback = self.make_view_atomic(callback)
  87.                 try:
  88.                                 response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
  89.                 except Exception as e:
  90.                     # If the view raised an exception, run it through exception
  91.                     # middleware, and if the exception middleware returns a
  92.                     # response, use that. Otherwise, reraise the exception.
  93.                     for middleware_method in self._exception_middleware:
  94.                         response = middleware_method(request, e)
  95. ▶ Local vars
  96. Variable    Value
  97. e  
  98. KeyError('last_name',)
  99. callback_args  
  100. ()
  101. resolver_match 
  102. ResolverMatch(func=rest_framework.decorators.register, args=(), kwargs={}, url_name=register, app_name=None, namespaces=[])
  103. middleware_method  
  104. <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5fa43855d0>>
  105. self   
  106. <django.core.handlers.wsgi.WSGIHandler object at 0x26311d0>
  107. request
  108. "<WSGIRequest\npath:/api/2/user/account/register,\nGET:<QueryDict: {}>,\nPOST:<could not parse>,\nCOOKIES:{'SID': '3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2',\n '_CAP': '7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590',\n '_ga': 'GA1.2.2146856858.1450951838',\n '_gat': '1',\n '_ym_isad': '1',\n '_ym_uid': '1448286951108738338',\n 'csrf_token': 'b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f',\n 'csrftoken': 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'},\nMETA:{'CONTENT_LENGTH': '573',\n 'CONTENT_TYPE': 'application/json',\n u'CSRF_COOKIE': u'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n u'CSRF_COOKIE_USED': True,\n 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',\n 'HTTP_CACHE_CONTROL': 'no-cache',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_COOKIE': '_ym_uid=1448286951108738338; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; _ym_isad=1; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; _CAP=7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3; _ga=GA1.2.2146856858.1450951838; _gat=1; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n 'HTTP_HOST': 'pre.park.dp.vpn',\n 'HTTP_ORIGIN': 'http://pre.dp.vpn',\n 'HTTP_PRAGMA': 'no-cache',\n 'HTTP_REFERER': 'http://pre.dp.vpn/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36',\n 'HTTP_X_CSRFTOKEN': 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n 'HTTP_X_FORWARDED_FOR': '192.168.180.134, 192.168.176.70',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_REAL_IP': '192.168.176.70',\n 'PATH_INFO': u'/api/2/user/account/register',\n 'QUERY_STRING': '',\n 'RAW_URI': '/api/2/user/account/register',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_PORT': '44292',\n 'REQUEST_METHOD': 'POST',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '0.0.0.0',\n 'SERVER_PORT': '6004',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.3.0',\n 'gunicorn.socket': <socket._socketobject object at 0x56eb590>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x59effd0>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x59eff90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"
  109. callback   
  110. <function register at 0x519f140>
  111. wrapped_callback   
  112. <function register at 0x519f140>
  113. resolver   
  114. <RegexURLResolver 'park_dp_vpn.urls' (None:None) ^/>
  115. callback_kwargs
  116. {}
  117. response   
  118. None
  119. urlconf
  120. 'park_dp_vpn.urls'
  121. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/views/decorators/csrf.py in wrapped_view
  122.     """
  123.     Marks a view function as being exempt from the CSRF view protection.
  124.     """
  125.     # We could just do view_func.csrf_exempt = True, but decorators
  126.     # are nicer if they don't have side-effects, so we return a new
  127.     # function.
  128.     def wrapped_view(*args, **kwargs):
  129.                     return view_func(*args, **kwargs) ...
  130.     wrapped_view.csrf_exempt = True
  131.     return wraps(view_func, assigned=available_attrs(view_func))(wrapped_view)
  132. ▶ Local vars
  133. Variable    Value
  134. args   
  135. (<WSGIRequest: POST '/api/2/user/account/register'>,)
  136. view_func  
  137. <function register at 0x519af50>
  138. kwargs 
  139. {}
  140. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/views/generic/base.py in view
  141.         def view(request, *args, **kwargs):
  142.             self = cls(**initkwargs)
  143.             if hasattr(self, 'get') and not hasattr(self, 'head'):
  144.                 self.head = self.get
  145.             self.request = request
  146.             self.args = args
  147.             self.kwargs = kwargs
  148.                         return self.dispatch(request, *args, **kwargs) ...
  149.         # take name and docstring from class
  150.         update_wrapper(view, cls, updated=())
  151.         # and possible attributes set by decorators
  152.         # like csrf_exempt from dispatch
  153. ▶ Local vars
  154. Variable    Value
  155. initkwargs 
  156. {}
  157. self   
  158. <rest_framework.decorators.register object at 0x59f73d0>
  159. args   
  160. ()
  161. request
  162. "<WSGIRequest\npath:/api/2/user/account/register,\nGET:<QueryDict: {}>,\nPOST:<could not parse>,\nCOOKIES:{'SID': '3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2',\n '_CAP': '7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590',\n '_ga': 'GA1.2.2146856858.1450951838',\n '_gat': '1',\n '_ym_isad': '1',\n '_ym_uid': '1448286951108738338',\n 'csrf_token': 'b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f',\n 'csrftoken': 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'},\nMETA:{'CONTENT_LENGTH': '573',\n 'CONTENT_TYPE': 'application/json',\n u'CSRF_COOKIE': u'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n u'CSRF_COOKIE_USED': True,\n 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',\n 'HTTP_CACHE_CONTROL': 'no-cache',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_COOKIE': '_ym_uid=1448286951108738338; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; _ym_isad=1; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; _CAP=7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3; _ga=GA1.2.2146856858.1450951838; _gat=1; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n 'HTTP_HOST': 'pre.park.dp.vpn',\n 'HTTP_ORIGIN': 'http://pre.dp.vpn',\n 'HTTP_PRAGMA': 'no-cache',\n 'HTTP_REFERER': 'http://pre.dp.vpn/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36',\n 'HTTP_X_CSRFTOKEN': 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3',\n 'HTTP_X_FORWARDED_FOR': '192.168.180.134, 192.168.176.70',\n 'HTTP_X_FORWARDED_PROTO': 'http',\n 'HTTP_X_REAL_IP': '192.168.176.70',\n 'PATH_INFO': u'/api/2/user/account/register',\n 'QUERY_STRING': '',\n 'RAW_URI': '/api/2/user/account/register',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_PORT': '44292',\n 'REQUEST_METHOD': 'POST',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': '0.0.0.0',\n 'SERVER_PORT': '6004',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.3.0',\n 'gunicorn.socket': <socket._socketobject object at 0x56eb590>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x59effd0>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x59eff90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"
  163. kwargs 
  164. {}
  165. cls
  166. <class 'rest_framework.decorators.register'>
  167. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/views.py in dispatch
  168.                                   self.http_method_not_allowed)
  169.             else:
  170.                 handler = self.http_method_not_allowed
  171.             response = handler(request, *args, **kwargs)
  172.         except Exception as exc:
  173.                         response = self.handle_exception(exc) ...
  174.         self.response = self.finalize_response(request, response, *args, **kwargs)
  175.         return self.response
  176.     def options(self, request, *args, **kwargs):
  177.         """
  178. ▶ Local vars
  179. Variable    Value
  180. exc
  181. KeyError('last_name',)
  182. self   
  183. <rest_framework.decorators.register object at 0x59f73d0>
  184. args   
  185. ()
  186. request
  187. <rest_framework.request.Request object at 0x59f7510>
  188. handler
  189. <bound method register.handler of <rest_framework.decorators.register object at 0x59f73d0>>
  190. kwargs 
  191. {}
  192. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/views.py in dispatch
  193.             # Get the appropriate handler method
  194.             if request.method.lower() in self.http_method_names:
  195.                 handler = getattr(self, request.method.lower(),
  196.                                   self.http_method_not_allowed)
  197.             else:
  198.                 handler = self.http_method_not_allowed
  199.                         response = handler(request, *args, **kwargs) ...
  200.         except Exception as exc:
  201.             response = self.handle_exception(exc)
  202.         self.response = self.finalize_response(request, response, *args, **kwargs)
  203.         return self.response
  204. ▶ Local vars
  205. Variable    Value
  206. exc
  207. KeyError('last_name',)
  208. self   
  209. <rest_framework.decorators.register object at 0x59f73d0>
  210. args   
  211. ()
  212. request
  213. <rest_framework.request.Request object at 0x59f7510>
  214. handler
  215. <bound method register.handler of <rest_framework.decorators.register object at 0x59f73d0>>
  216. kwargs 
  217. {}
  218. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/decorators.py in handler
  219.         assert isinstance(http_method_names, (list, tuple)), \
  220.             '@api_view expected a list of strings, received %s' % type(http_method_names).__name__
  221.         allowed_methods = set(http_method_names) | set(('options',))
  222.         WrappedAPIView.http_method_names = [method.lower() for method in allowed_methods]
  223.         def handler(self, *args, **kwargs):
  224.                         return func(*args, **kwargs) ...
  225.         for method in http_method_names:
  226.             setattr(WrappedAPIView, method.lower(), handler)
  227.         WrappedAPIView.__name__ = func.__name__
  228. ▶ Local vars
  229. Variable    Value
  230. self   
  231. <rest_framework.decorators.register object at 0x59f73d0>
  232. args   
  233. (<rest_framework.request.Request object at 0x59f7510>,)
  234. func   
  235. <function register at 0x519f0c8>
  236. kwargs 
  237. {}
  238. /home/web/services/pre.park.dp.vpn/app/core/decorators.py in c
  239.             serializer = serializerClass(data=dataGetter(request), context={
  240.                 "request": request,
  241.                 "view": self
  242.             }, **kwargs)
  243.             if serializer.is_valid():
  244.                 a += (serializer, )
  245.                             out = func(*a, **k) ...
  246.                 if not isinstance(out, HttpResponse):
  247.                     return Response(out, status=success_code)
  248.                 return out
  249.             else:
  250.                 return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  251. ▶ Local vars
  252. Variable    Value
  253. a  
  254. (<rest_framework.request.Request object at 0x59f7510>,
  255.  RegistrationSerializer(context={'request': <rest_framework.request.Request object>, 'view': None}, data={u'password_repeat': u'asdfasdf', u'name': u'asdfasd', u'captcha_response': u'417', u'invite_code': u'ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c', u'lname': u'', u'phone': None, u'skype': u'', u'captcha_challenge': u'03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA', u'icq': u'', u'password': u'asdfasdf', u'nickname': u'', u'email': u'cccccc@yhg.biz'}):
  256.     name = CharField(allow_null=False, max_length=100, required=False)
  257.     last_name = CharField(allow_null=False, max_length=100, required=False)
  258.     phone = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  259.     icq = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  260.     skype = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  261.     representer_of = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  262.     locale = ChoiceField(choices=[('ru', 'ru'), ('en', 'en')], required=False)
  263.     type = ChoiceField(choices=[('webmaster', 'webmaster'), ('vendor', 'vendor')], required=False)
  264.     allow_auto_payments = BooleanField(required=False)
  265.     currency = PrimaryKeyRelatedField(queryset=Currency.objects.all(), required=False)
  266.     email = EmailField(required=True, validators=[<UniqueValidator(queryset=[<User: admin>, <User: Dolmatov>, <User: sinhron>, <User: user-1062>, <User: user-975>, <User: althazari>, <User: user-4>, <User: user-1794>, <User: user-1012>, <User: Pasa>, <User: user-1786>, <User: sashasus>, <User: user-5>, <User: user-1790>, <User: user-1826>, <User: Double Trouble>, <User: flashbiz>, <User: witek645>, <User: user-1824>, <User: user-903>, '...(remaining elements truncated)...'])>])
  267.     notifies = ModelField(allow_null=True, model_field=<jsonfield.fields.JSONField: notifies>, required=False, validators=[<function notifies_validator>])
  268.     partners_user_id = IntegerField(read_only=True)
  269.     django_user = PrimaryKeyRelatedField(read_only=True)
  270.     id = IntegerField(label='ID', read_only=True)
  271.     groups = SerializerMethodField(read_only=True)
  272.     manager = PrimaryKeyRelatedField(read_only=True)
  273.     webmaster_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  274.     webmaster_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  275.     webmaster_mobile_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  276.     webmaster_mobile_hold_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  277.     vendor_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  278.     vendor_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  279.     wmr_pouche = CharField(read_only=True)
  280.     wmz_pouche = CharField(read_only=True)
  281.     registered = DateTimeField(read_only=True)
  282.     ref_webmaster_comission_is_default = BooleanField(read_only=True)
  283.     ref_webmaster_comission = ModelField(model_field=<jsonfield.fields.JSONField: ref_webmaster_comission>, read_only=True)
  284.     password = CharField(max_length=20, min_length=6, required=True)
  285.     password_repeat = CharField(max_length=20, min_length=6, required=True)
  286.     captcha_challenge = CharField(max_length=1000, required=True)
  287.     captcha_response = CharField(max_length=100, required=True)
  288.     invite_code = CharField(max_length=1000, required=False))
  289. dataGetter 
  290. <function <lambda> at 0x4025320>
  291. self   
  292. None
  293. success_code   
  294. 201
  295. request
  296. <rest_framework.request.Request object at 0x59f7510>
  297. serializerClass
  298. <class 'users.resources.account.RegistrationSerializer'>
  299. func   
  300. <function register at 0x519f050>
  301. kwargs 
  302. {}
  303. k  
  304. {}
  305. serializer 
  306. RegistrationSerializer(context={'request': <rest_framework.request.Request object>, 'view': None}, data={u'password_repeat': u'asdfasdf', u'name': u'asdfasd', u'captcha_response': u'417', u'invite_code': u'ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c', u'lname': u'', u'phone': None, u'skype': u'', u'captcha_challenge': u'03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA', u'icq': u'', u'password': u'asdfasdf', u'nickname': u'', u'email': u'cccccc@yhg.biz'}):
  307.     name = CharField(allow_null=False, max_length=100, required=False)
  308.     last_name = CharField(allow_null=False, max_length=100, required=False)
  309.     phone = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  310.     icq = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  311.     skype = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  312.     representer_of = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  313.     locale = ChoiceField(choices=[('ru', 'ru'), ('en', 'en')], required=False)
  314.     type = ChoiceField(choices=[('webmaster', 'webmaster'), ('vendor', 'vendor')], required=False)
  315.     allow_auto_payments = BooleanField(required=False)
  316.     currency = PrimaryKeyRelatedField(queryset=Currency.objects.all(), required=False)
  317.     email = EmailField(required=True, validators=[<UniqueValidator(queryset=[<User: admin>, <User: Dolmatov>, <User: sinhron>, <User: user-1062>, <User: user-975>, <User: althazari>, <User: user-4>, <User: user-1794>, <User: user-1012>, <User: Pasa>, <User: user-1786>, <User: sashasus>, <User: user-5>, <User: user-1790>, <User: user-1826>, <User: Double Trouble>, <User: flashbiz>, <User: witek645>, <User: user-1824>, <User: user-903>, '...(remaining elements truncated)...'])>])
  318.     notifies = ModelField(allow_null=True, model_field=<jsonfield.fields.JSONField: notifies>, required=False, validators=[<function notifies_validator>])
  319.     partners_user_id = IntegerField(read_only=True)
  320.     django_user = PrimaryKeyRelatedField(read_only=True)
  321.     id = IntegerField(label='ID', read_only=True)
  322.     groups = SerializerMethodField(read_only=True)
  323.     manager = PrimaryKeyRelatedField(read_only=True)
  324.     webmaster_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  325.     webmaster_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  326.     webmaster_mobile_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  327.     webmaster_mobile_hold_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  328.     vendor_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  329.     vendor_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  330.     wmr_pouche = CharField(read_only=True)
  331.     wmz_pouche = CharField(read_only=True)
  332.     registered = DateTimeField(read_only=True)
  333.     ref_webmaster_comission_is_default = BooleanField(read_only=True)
  334.     ref_webmaster_comission = ModelField(model_field=<jsonfield.fields.JSONField: ref_webmaster_comission>, read_only=True)
  335.     password = CharField(max_length=20, min_length=6, required=True)
  336.     password_repeat = CharField(max_length=20, min_length=6, required=True)
  337.     captcha_challenge = CharField(max_length=1000, required=True)
  338.     captcha_response = CharField(max_length=100, required=True)
  339.     invite_code = CharField(max_length=1000, required=False)
  340. /home/web/services/pre.park.dp.vpn/users/resources/account.py in register
  341. @with_serializer(RegistrationSerializer)
  342. def register(request, serializer, **k):
  343.     """
  344.     ---
  345.     request_serializer: RegistrationSerializer
  346.     response_serializer: AccountSerializer
  347.     """
  348.                 acc = serializer.create(serializer.validated_data) ...
  349.     return AccountSerializer(acc).data
  350. @api_view(["GET"])
  351. @permission_classes([AllowAny])
  352. def captcha_required(request):
  353.     return Response(data=RegistrationSerializer._is_captcha_enabled_on_request(request))
  354. ▶ Local vars
  355. Variable    Value
  356. k  
  357. {}
  358. request
  359. <rest_framework.request.Request object at 0x59f7510>
  360. serializer 
  361. RegistrationSerializer(context={'request': <rest_framework.request.Request object>, 'view': None}, data={u'password_repeat': u'asdfasdf', u'name': u'asdfasd', u'captcha_response': u'417', u'invite_code': u'ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c', u'lname': u'', u'phone': None, u'skype': u'', u'captcha_challenge': u'03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA', u'icq': u'', u'password': u'asdfasdf', u'nickname': u'', u'email': u'cccccc@yhg.biz'}):
  362.     name = CharField(allow_null=False, max_length=100, required=False)
  363.     last_name = CharField(allow_null=False, max_length=100, required=False)
  364.     phone = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  365.     icq = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  366.     skype = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  367.     representer_of = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  368.     locale = ChoiceField(choices=[('ru', 'ru'), ('en', 'en')], required=False)
  369.     type = ChoiceField(choices=[('webmaster', 'webmaster'), ('vendor', 'vendor')], required=False)
  370.     allow_auto_payments = BooleanField(required=False)
  371.     currency = PrimaryKeyRelatedField(queryset=Currency.objects.all(), required=False)
  372.     email = EmailField(required=True, validators=[<UniqueValidator(queryset=[<User: admin>, <User: Dolmatov>, <User: sinhron>, <User: user-1062>, <User: user-975>, <User: althazari>, <User: user-4>, <User: user-1794>, <User: user-1012>, <User: Pasa>, <User: user-1786>, <User: sashasus>, <User: user-5>, <User: user-1790>, <User: user-1826>, <User: Double Trouble>, <User: flashbiz>, <User: witek645>, <User: user-1824>, <User: user-903>, '...(remaining elements truncated)...'])>])
  373.     notifies = ModelField(allow_null=True, model_field=<jsonfield.fields.JSONField: notifies>, required=False, validators=[<function notifies_validator>])
  374.     partners_user_id = IntegerField(read_only=True)
  375.     django_user = PrimaryKeyRelatedField(read_only=True)
  376.     id = IntegerField(label='ID', read_only=True)
  377.     groups = SerializerMethodField(read_only=True)
  378.     manager = PrimaryKeyRelatedField(read_only=True)
  379.     webmaster_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  380.     webmaster_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  381.     webmaster_mobile_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  382.     webmaster_mobile_hold_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  383.     vendor_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  384.     vendor_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  385.     wmr_pouche = CharField(read_only=True)
  386.     wmz_pouche = CharField(read_only=True)
  387.     registered = DateTimeField(read_only=True)
  388.     ref_webmaster_comission_is_default = BooleanField(read_only=True)
  389.     ref_webmaster_comission = ModelField(model_field=<jsonfield.fields.JSONField: ref_webmaster_comission>, read_only=True)
  390.     password = CharField(max_length=20, min_length=6, required=True)
  391.     password_repeat = CharField(max_length=20, min_length=6, required=True)
  392.     captcha_challenge = CharField(max_length=1000, required=True)
  393.     captcha_response = CharField(max_length=100, required=True)
  394.     invite_code = CharField(max_length=1000, required=False)
  395. /home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/utils/decorators.py in inner
  396.         """
  397.         A base class that enables a context manager to also be used as a decorator.
  398.         """
  399.         def __call__(self, func):
  400.             @wraps(func, assigned=available_attrs(func))
  401.             def inner(*args, **kwargs):
  402.                 with self:
  403.                                 return func(*args, **kwargs) ...
  404.             return inner
  405. ▶ Local vars
  406. Variable    Value
  407. self   
  408. <django.db.transaction.Atomic object at 0x5194ad0>
  409. args   
  410. (RegistrationSerializer(context={'request': <rest_framework.request.Request object>, 'view': None}, data={u'password_repeat': u'asdfasdf', u'name': u'asdfasd', u'captcha_response': u'417', u'invite_code': u'ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c', u'lname': u'', u'phone': None, u'skype': u'', u'captcha_challenge': u'03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA', u'icq': u'', u'password': u'asdfasdf', u'nickname': u'', u'email': u'cccccc@yhg.biz'}):
  411.     name = CharField(allow_null=False, max_length=100, required=False)
  412.     last_name = CharField(allow_null=False, max_length=100, required=False)
  413.     phone = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  414.     icq = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  415.     skype = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  416.     representer_of = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  417.     locale = ChoiceField(choices=[('ru', 'ru'), ('en', 'en')], required=False)
  418.     type = ChoiceField(choices=[('webmaster', 'webmaster'), ('vendor', 'vendor')], required=False)
  419.     allow_auto_payments = BooleanField(required=False)
  420.     currency = PrimaryKeyRelatedField(queryset=Currency.objects.all(), required=False)
  421.     email = EmailField(required=True, validators=[<UniqueValidator(queryset=[<User: admin>, <User: Dolmatov>, <User: sinhron>, <User: user-1062>, <User: user-975>, <User: althazari>, <User: user-4>, <User: user-1794>, <User: user-1012>, <User: Pasa>, <User: user-1786>, <User: sashasus>, <User: user-5>, <User: user-1790>, <User: user-1826>, <User: Double Trouble>, <User: flashbiz>, <User: witek645>, <User: user-1824>, <User: user-903>, '...(remaining elements truncated)...'])>])
  422.     notifies = ModelField(allow_null=True, model_field=<jsonfield.fields.JSONField: notifies>, required=False, validators=[<function notifies_validator>])
  423.     partners_user_id = IntegerField(read_only=True)
  424.     django_user = PrimaryKeyRelatedField(read_only=True)
  425.     id = IntegerField(label='ID', read_only=True)
  426.     groups = SerializerMethodField(read_only=True)
  427.     manager = PrimaryKeyRelatedField(read_only=True)
  428.     webmaster_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  429.     webmaster_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  430.     webmaster_mobile_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  431.     webmaster_mobile_hold_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  432.     vendor_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  433.     vendor_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  434.     wmr_pouche = CharField(read_only=True)
  435.     wmz_pouche = CharField(read_only=True)
  436.     registered = DateTimeField(read_only=True)
  437.     ref_webmaster_comission_is_default = BooleanField(read_only=True)
  438.     ref_webmaster_comission = ModelField(model_field=<jsonfield.fields.JSONField: ref_webmaster_comission>, read_only=True)
  439.     password = CharField(max_length=20, min_length=6, required=True)
  440.     password_repeat = CharField(max_length=20, min_length=6, required=True)
  441.     captcha_challenge = CharField(max_length=1000, required=True)
  442.     captcha_response = CharField(max_length=100, required=True)
  443.     invite_code = CharField(max_length=1000, required=False),
  444.  OrderedDict([(u'phone', None), (u'icq', u''), (u'skype', u'')]))
  445. func   
  446. <function create at 0x519a410>
  447. kwargs 
  448. {}
  449. /home/web/services/pre.park.dp.vpn/users/resources/account.py in create
  450.     def create(self, validated_data):
  451.         email = validated_data.pop("email")
  452.         password = validated_data.pop("password")
  453.         invite_code = validated_data.pop("invite_code", None)
  454.         request = self.context["request"]
  455.         name = validated_data.pop("name")
  456.                     last_name = validated_data.pop("last_name") ...
  457.         user = User.objects.create(
  458.             username=hashlib.sha256(str(random.randrange(10, 10**100, 1))).hexdigest()[:20],
  459.             email=email,
  460.             first_name=name,
  461.             last_name=last_name
  462. ▶ Local vars
  463. Variable    Value
  464. name   
  465. u'asdfasd'
  466. self   
  467. RegistrationSerializer(context={'request': <rest_framework.request.Request object>, 'view': None}, data={u'password_repeat': u'asdfasdf', u'name': u'asdfasd', u'captcha_response': u'417', u'invite_code': u'ca52e578289dd0d3dea7e9857d8770b13c55e935e12eb3d07bb3c32a512ff80c', u'lname': u'', u'phone': None, u'skype': u'', u'captcha_challenge': u'03AHJ_VuvKM0AkrfcDEYZ3sRJhndcxfq1ytM8h8hzPwvbkPzlN-uqY1hOhua7cHHf1Bl5Ry1lXqcZAXVrYHMvzxcmSeVuQdExfCR1uGwY8dRdMnu6IvQ9hl4rRdcXgAkl7LT0NomKUi409JzOa2YvnPqbuyCXiWXdhila3IK9uKHn6NVW-d2IREmUB4a_b895uhtmBL0k_mqOhReyR4PvxkM0DacguCZL6F2GRItVxV0dvtVstaP4kbiELar-RXjsJaI05hwlUf07QdV2uPXEdyUDsKmZ2p4wZFA', u'icq': u'', u'password': u'asdfasdf', u'nickname': u'', u'email': u'cccccc@yhg.biz'}):
  468.     name = CharField(allow_null=False, max_length=100, required=False)
  469.     last_name = CharField(allow_null=False, max_length=100, required=False)
  470.     phone = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  471.     icq = CharField(allow_blank=True, allow_null=True, max_length=20, required=False, validators=[<django.core.validators.RegexValidator object>])
  472.     skype = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  473.     representer_of = CharField(allow_blank=True, allow_null=True, max_length=100, required=False)
  474.     locale = ChoiceField(choices=[('ru', 'ru'), ('en', 'en')], required=False)
  475.     type = ChoiceField(choices=[('webmaster', 'webmaster'), ('vendor', 'vendor')], required=False)
  476.     allow_auto_payments = BooleanField(required=False)
  477.     currency = PrimaryKeyRelatedField(queryset=Currency.objects.all(), required=False)
  478.     email = EmailField(required=True, validators=[<UniqueValidator(queryset=[<User: admin>, <User: Dolmatov>, <User: sinhron>, <User: user-1062>, <User: user-975>, <User: althazari>, <User: user-4>, <User: user-1794>, <User: user-1012>, <User: Pasa>, <User: user-1786>, <User: sashasus>, <User: user-5>, <User: user-1790>, <User: user-1826>, <User: Double Trouble>, <User: flashbiz>, <User: witek645>, <User: user-1824>, <User: user-903>, '...(remaining elements truncated)...'])>])
  479.     notifies = ModelField(allow_null=True, model_field=<jsonfield.fields.JSONField: notifies>, required=False, validators=[<function notifies_validator>])
  480.     partners_user_id = IntegerField(read_only=True)
  481.     django_user = PrimaryKeyRelatedField(read_only=True)
  482.     id = IntegerField(label='ID', read_only=True)
  483.     groups = SerializerMethodField(read_only=True)
  484.     manager = PrimaryKeyRelatedField(read_only=True)
  485.     webmaster_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  486.     webmaster_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  487.     webmaster_mobile_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  488.     webmaster_mobile_hold_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  489.     vendor_balance_rub = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  490.     vendor_balance_usd = DecimalField(decimal_places=2, max_digits=20, read_only=True)
  491.     wmr_pouche = CharField(read_only=True)
  492.     wmz_pouche = CharField(read_only=True)
  493.     registered = DateTimeField(read_only=True)
  494.     ref_webmaster_comission_is_default = BooleanField(read_only=True)
  495.     ref_webmaster_comission = ModelField(model_field=<jsonfield.fields.JSONField: ref_webmaster_comission>, read_only=True)
  496.     password = CharField(max_length=20, min_length=6, required=True)
  497.     password_repeat = CharField(max_length=20, min_length=6, required=True)
  498.     captcha_challenge = CharField(max_length=1000, required=True)
  499.     captcha_response = CharField(max_length=100, required=True)
  500.     invite_code = CharField(max_length=1000, required=False)
  501. request
  502. <rest_framework.request.Request object at 0x59f7510>
  503. invite_code
  504. <InviteCode: InviteCode[15]>
  505. validated_data 
  506. OrderedDict([(u'phone', None), (u'icq', u''), (u'skype', u'')])
  507. password   
  508. u'asdfasdf'
  509. email  
  510. u'cccccc@yhg.biz'
  511. /usr/lib/python2.7/collections.py in pop
  512.         '''
  513.         if key in self:
  514.             result = self[key]
  515.             del self[key]
  516.             return result
  517.         if default is self.__marker:
  518.                         raise KeyError(key) ...
  519.         return default
  520.     def setdefault(self, key, default=None):
  521.         'od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od'
  522.         if key in self:
  523.             return self[key]
  524. ▶ Local vars
  525. Variable    Value
  526. default
  527. <object object at 0x7f5fd7ea80b0>
  528. self   
  529. OrderedDict([(u'phone', None), (u'icq', u''), (u'skype', u'')])
  530. key
  531. 'last_name'
  532.  
  533. Environment:
  534.  
  535.  
  536. Request Method: POST
  537. Request URL: http://pre.park.dp.vpn/api/2/user/account/register
  538.  
  539. Django Version: 1.8.2
  540. Python Version: 2.7.3
  541. Installed Applications:
  542. ('django.contrib.admin',
  543.  'django.contrib.auth',
  544.  'django.contrib.contenttypes',
  545.  'django.contrib.sessions',
  546.  'django.contrib.messages',
  547.  'django.contrib.staticfiles',
  548.  'rest_framework',
  549.  'rest_framework_swagger',
  550.  'rest_framework.authtoken',
  551.  'djcelery',
  552.  'app',
  553.  'desktop_campaigns',
  554.  'targeting',
  555.  'delivery',
  556.  'billing',
  557.  'webmaster',
  558.  'users',
  559.  'payments',
  560.  'infrastructure',
  561.  'system',
  562.  'invites',
  563.  'monitoring',
  564.  'corsheaders')
  565. Installed Middleware:
  566. ('corsheaders.middleware.CorsMiddleware',
  567.  'app.middlewares.version_middleware.VersionMiddleware',
  568.  'django.contrib.sessions.middleware.SessionMiddleware',
  569.  'django.middleware.common.CommonMiddleware',
  570.  'django.middleware.csrf.CsrfViewMiddleware',
  571.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  572.  'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
  573.  'django.contrib.messages.middleware.MessageMiddleware',
  574.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  575.  'django.middleware.security.SecurityMiddleware',
  576.  'app.middlewares.request_cache.RequestCacheMiddleware',
  577.  'global_core.global_request_middleware.GlobalRequestMiddleware')
  578.  
  579.  
  580. Traceback:
  581. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  582.   132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  583. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
  584.   58.         return view_func(*args, **kwargs)
  585. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/views/generic/base.py" in view
  586.   71.             return self.dispatch(request, *args, **kwargs)
  587. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  588.   456.             response = self.handle_exception(exc)
  589. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  590.   453.             response = handler(request, *args, **kwargs)
  591. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/rest_framework/decorators.py" in handler
  592.   50.             return func(*args, **kwargs)
  593. File "/home/web/services/pre.park.dp.vpn/app/core/decorators.py" in c
  594.   66.                 out = func(*a, **k)
  595. File "/home/web/services/pre.park.dp.vpn/users/resources/account.py" in register
  596.   419.     acc = serializer.create(serializer.validated_data)
  597. File "/home/web/services/pre.park.dp.vpn/env/lib/python2.7/site-packages/django/utils/decorators.py" in inner
  598.   145.                     return func(*args, **kwargs)
  599. File "/home/web/services/pre.park.dp.vpn/users/resources/account.py" in create
  600.   61.         last_name = validated_data.pop("last_name")
  601. File "/usr/lib/python2.7/collections.py" in pop
  602.   146.             raise KeyError(key)
  603.  
  604. Exception Type: KeyError at /api/2/user/account/register
  605. Exception Value: 'last_name'
  606.  
  607.  
  608.  
  609. Share this traceback on a public Web site
  610. Request information
  611.  
  612. GET
  613. No GET data
  614. POST
  615. No POST data
  616. FILES
  617. No FILES data
  618. COOKIES
  619. Variable    Value
  620. csrf_token 
  621. 'b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f'
  622. _CAP   
  623. '7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590'
  624. _ym_isad   
  625. '1'
  626. _ga
  627. 'GA1.2.2146856858.1450951838'
  628. _ym_uid
  629. '1448286951108738338'
  630. SID
  631. '3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2'
  632. csrftoken  
  633. 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'
  634. _gat   
  635. '1'
  636. META
  637. Variable    Value
  638. HTTP_REFERER   
  639. 'http://pre.dp.vpn/'
  640. SERVER_SOFTWARE
  641. 'gunicorn/19.3.0'
  642. SCRIPT_NAME
  643. u''
  644. HTTP_X_CSRFTOKEN   
  645. 'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'
  646. REQUEST_METHOD 
  647. 'POST'
  648. PATH_INFO  
  649. u'/api/2/user/account/register'
  650. HTTP_ORIGIN
  651. 'http://pre.dp.vpn'
  652. SERVER_PROTOCOL
  653. 'HTTP/1.0'
  654. QUERY_STRING   
  655. ''
  656. HTTP_X_REAL_IP 
  657. '192.168.176.70'
  658. CONTENT_LENGTH 
  659. '573'
  660. HTTP_USER_AGENT
  661. 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36'
  662. HTTP_CONNECTION
  663. 'close'
  664. HTTP_COOKIE
  665. '_ym_uid=1448286951108738338; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; SID=3061529e3df3cef02a32d01ec2619b000af7dcfa8488e92d78771403acd42ec2; _ym_isad=1; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; csrf_token=b1fcdc3bdb235cea8c9fdf7ce8f09faf8d572ac23afdb3f202222c2e19895f4f; _CAP=7b763c4be250731152a4fed4d7147e5e8cff0101b91e2364b1290d5588558590; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3; _ga=GA1.2.2146856858.1450951838; _gat=1; csrftoken=biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'
  666. SERVER_NAME
  667. '0.0.0.0'
  668. REMOTE_ADDR
  669. '127.0.0.1'
  670. wsgi.url_scheme
  671. 'http'
  672. SERVER_PORT
  673. '6004'
  674. HTTP_PRAGMA
  675. 'no-cache'
  676. REMOTE_PORT
  677. '44292'
  678. HTTP_X_FORWARDED_PROTO 
  679. 'http'
  680. wsgi.input 
  681. <gunicorn.http.body.Body object at 0x59eff90>
  682. HTTP_HOST  
  683. 'pre.park.dp.vpn'
  684. wsgi.multithread   
  685. False
  686. HTTP_CACHE_CONTROL 
  687. 'no-cache'
  688. HTTP_ACCEPT
  689. 'application/json, text/javascript, */*; q=0.01'
  690. wsgi.version   
  691. (1, 0)
  692. RAW_URI
  693. '/api/2/user/account/register'
  694. wsgi.run_once  
  695. False
  696. wsgi.errors
  697. <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x59effd0>
  698. wsgi.multiprocess  
  699. True
  700. HTTP_ACCEPT_LANGUAGE   
  701. 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4'
  702. CSRF_COOKIE_USED   
  703. True
  704. gunicorn.socket
  705. <socket._socketobject object at 0x56eb590>
  706. CONTENT_TYPE   
  707. 'application/json'
  708. HTTP_X_FORWARDED_FOR   
  709. '192.168.180.134, 192.168.176.70'
  710. wsgi.file_wrapper  
  711. ''
  712. CSRF_COOKIE
  713. u'biw0CBTMMqho9kNygH4i8JY6MwLGn1f3'
  714. HTTP_ACCEPT_ENCODING   
  715. 'gzip, deflate'
  716. Settings
  717. Using settings module park_dp_vpn.settings.pre
  718. Setting Value
  719. TELEGRAM_NOTIFICATION_IDS  
  720. [123711820]
  721. ANSIBLE_DEFAULT_HOST   
  722. 'c32-bin'
  723. USE_THOUSAND_SEPARATOR 
  724. False
  725. CSRF_COOKIE_SECURE 
  726. False
  727. LANGUAGE_CODE  
  728. 'en-us'
  729. ROOT_URLCONF   
  730. 'park_dp_vpn.urls'
  731. MANAGERS   
  732. ()
  733. BROKER_URL 
  734. 'redis://localhost/5'
  735. BASE_DIR   
  736. '/home/web/services/pre.park.dp.vpn/park_dp_vpn'
  737. SILENCED_SYSTEM_CHECKS 
  738. []
  739. DEFAULT_CHARSET
  740. 'utf-8'
  741. CORS_ALLOW_HEADERS 
  742. ('x-requested-with',
  743.  'content-type',
  744.  'accept',
  745.  'origin',
  746.  'authorization',
  747.  'x-csrftoken',
  748.  'x-csrf-token')
  749. SESSION_SERIALIZER 
  750. 'django.contrib.sessions.serializers.JSONSerializer'
  751. STATIC_ROOT
  752. 'static'
  753. CELERYBEAT_SCHEDULER   
  754. 'djcelery.schedulers.DatabaseScheduler'
  755. WM_PURSES  
  756. {'rub': 'R298878367078', 'usd': 'Z317797412798'}
  757. ALLOWED_HOSTS  
  758. []
  759. MESSAGE_STORAGE
  760. 'django.contrib.messages.storage.fallback.FallbackStorage'
  761. EMAIL_SUBJECT_PREFIX   
  762. '[Django] '
  763. SERVER_EMAIL   
  764. 'mailer@coin32.com'
  765. SECURE_HSTS_SECONDS
  766. 0
  767. APP_INFLUXDB_PREFIX
  768. '__'
  769. SESSION_CACHE_ALIAS
  770. 'default'
  771. REDIS  
  772. {'billing': {'host': '192.168.176.70'}, 'default': {}}
  773. SESSION_COOKIE_DOMAIN  
  774. '.pre.dp.vpn'
  775. SESSION_COOKIE_NAME
  776. 'sessionid'
  777. TIME_INPUT_FORMATS 
  778. ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
  779. SECURE_REDIRECT_EXEMPT 
  780. []
  781. DATABASES  
  782. {'default': {'ATOMIC_REQUESTS': False,
  783.              'AUTOCOMMIT': True,
  784.              'CONN_MAX_AGE': 0,
  785.              'ENGINE': 'django.db.backends.mysql',
  786.              'HOST': '',
  787.              'NAME': 'partners2_pre',
  788.              'OPTIONS': {},
  789.              'PASSWORD': u'********************',
  790.              'PORT': '',
  791.              'TEST': {'CHARSET': None,
  792.                       'COLLATION': None,
  793.                       'MIRROR': None,
  794.                       'NAME': None},
  795.              'TIME_ZONE': 'Europe/Moscow',
  796.              'USER': 'partners'},
  797.  'partners': {'ATOMIC_REQUESTS': False,
  798.               'AUTOCOMMIT': True,
  799.               'CONN_MAX_AGE': 0,
  800.               'ENGINE': 'django.db.backends.mysql',
  801.               'HOST': 'localhost',
  802.               'NAME': 'partners_pre',
  803.               'OPTIONS': {},
  804.               'PASSWORD': u'********************',
  805.               'PORT': '',
  806.               'SKIP': True,
  807.               'TEST': {'CHARSET': None,
  808.                        'COLLATION': None,
  809.                        'MIRROR': None,
  810.                        'NAME': None},
  811.               'TIME_ZONE': 'Europe/Moscow',
  812.               'USER': 'partners'},
  813.  'partners-ro': {'ATOMIC_REQUESTS': False,
  814.                  'AUTOCOMMIT': True,
  815.                  'CONN_MAX_AGE': 0,
  816.                  'ENGINE': 'django.db.backends.mysql',
  817.                  'HOST': 'localhost',
  818.                  'NAME': 'partners2_pre',
  819.                  'OPTIONS': {},
  820.                  'PASSWORD': u'********************',
  821.                  'PORT': '',
  822.                  'SKIP': True,
  823.                  'TEST': {'CHARSET': None,
  824.                           'COLLATION': None,
  825.                           'MIRROR': None,
  826.                           'NAME': None},
  827.                  'TIME_ZONE': 'Europe/Moscow',
  828.                  'USER': 'partners'}}
  829. EMAIL_SSL_KEYFILE  
  830. u'********************'
  831. FILE_UPLOAD_DIRECTORY_PERMISSIONS  
  832. None
  833. FILE_UPLOAD_PERMISSIONS
  834. None
  835. ANSIBLE_DEBUG  
  836. True
  837. FILE_UPLOAD_HANDLERS   
  838. ('django.core.files.uploadhandler.MemoryFileUploadHandler',
  839.  'django.core.files.uploadhandler.TemporaryFileUploadHandler')
  840. DEFAULT_CONTENT_TYPE   
  841. 'text/html'
  842. CAPTCHA_PRIVATE_KEY
  843. u'********************'
  844. TEST_RUNNER
  845. 'app.core.test_runner.MyTestRunner'
  846. APPEND_SLASH   
  847. True
  848. FIRST_DAY_OF_WEEK  
  849. 0
  850. DATABASE_ROUTERS   
  851. []
  852. DEFAULT_TABLESPACE 
  853. ''
  854. SFX_VERSION_PATH   
  855. '/home/web/static/libs/sfx/version.txt'
  856. ROBOKASSA_LOGIN
  857. 'coin32_test'
  858. YEAR_MONTH_FORMAT  
  859. 'F Y'
  860. ENCRYPTION_KEY_PUBLIC  
  861. u'********************'
  862. STATICFILES_STORAGE
  863. 'django.contrib.staticfiles.storage.StaticFilesStorage'
  864. CACHES 
  865. {'default': {'BACKEND': 'redis_cache.RedisCache',
  866.              'LOCATION': ['localhost:6379']}}
  867. PLUGINS_HOST   
  868. '192.168.176.70'
  869. CORS_ORIGIN_REGEX_WHITELIST
  870. ('^(https?:\\/\\/)?(\\w+\\.)*(?:dp\\.vpn|coin32\\.com)$',)
  871. SESSION_COOKIE_PATH
  872. '/'
  873. MOCK_PARK_CLASS
  874. 'app.core.mocks.MockedParkService'
  875. ENCRYPTION_KEY_PRIVATE 
  876. u'********************'
  877. SECURE_CONTENT_TYPE_NOSNIFF
  878. False
  879. MIDDLEWARE_CLASSES 
  880. ('corsheaders.middleware.CorsMiddleware',
  881.  'app.middlewares.version_middleware.VersionMiddleware',
  882.  'django.contrib.sessions.middleware.SessionMiddleware',
  883.  'django.middleware.common.CommonMiddleware',
  884.  'django.middleware.csrf.CsrfViewMiddleware',
  885.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  886.  'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
  887.  'django.contrib.messages.middleware.MessageMiddleware',
  888.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  889.  'django.middleware.security.SecurityMiddleware',
  890.  'app.middlewares.request_cache.RequestCacheMiddleware',
  891.  'global_core.global_request_middleware.GlobalRequestMiddleware')
  892. USE_I18N   
  893. True
  894. THOUSAND_SEPARATOR 
  895. ','
  896. ANSIBLE_PATH   
  897. 'Ansible'
  898. LANGUAGE_COOKIE_NAME   
  899. 'django_language'
  900. TELEGRAM_NOTIFICATION_BOT  
  901. <telegram.bot.Bot object at 0x2627ad0>
  902. DEFAULT_INDEX_TABLESPACE   
  903. ''
  904. ROBOKASSA_PASSWORD2
  905. u'********************'
  906. LOGGING_CONFIG 
  907. 'logging.config.dictConfig'
  908. SIGNING_BACKEND
  909. 'django.core.signing.TimestampSigner'
  910. CELERYD_HIJACK_ROOT_LOGGER 
  911. False
  912. TEMPLATE_LOADERS   
  913. ('django.template.loaders.filesystem.Loader',
  914.  'django.template.loaders.app_directories.Loader')
  915. WSGI_APPLICATION   
  916. 'park_dp_vpn.wsgi.application'
  917. TEMPLATE_DEBUG 
  918. False
  919. X_FRAME_OPTIONS
  920. 'SAMEORIGIN'
  921. CSRF_COOKIE_NAME   
  922. 'csrftoken'
  923. FORCE_SCRIPT_NAME  
  924. None
  925. USE_X_FORWARDED_HOST   
  926. False
  927. CORS_ALLOW_CREDENTIALS 
  928. True
  929. EMAIL_TIMEOUT  
  930. None
  931. SECURE_SSL_HOST
  932. None
  933. CHECK_SERVICE_URL  
  934. 'http://av.dp.vpn:1080'
  935. SESSION_COOKIE_SECURE  
  936. False
  937. SECURE_BROWSER_XSS_FILTER  
  938. False
  939. CSRF_COOKIE_DOMAIN 
  940. '.pre.dp.vpn'
  941. FILE_CHARSET   
  942. 'utf-8'
  943. DEBUG  
  944. True
  945. LANGUAGE_COOKIE_DOMAIN 
  946. None
  947. DEFAULT_FILE_STORAGE   
  948. 'django.core.files.storage.FileSystemStorage'
  949. INSTALLED_APPS 
  950. ('django.contrib.admin',
  951.  'django.contrib.auth',
  952.  'django.contrib.contenttypes',
  953.  'django.contrib.sessions',
  954.  'django.contrib.messages',
  955.  'django.contrib.staticfiles',
  956.  'rest_framework',
  957.  'rest_framework_swagger',
  958.  'rest_framework.authtoken',
  959.  'djcelery',
  960.  'app',
  961.  'desktop_campaigns',
  962.  'targeting',
  963.  'delivery',
  964.  'billing',
  965.  'webmaster',
  966.  'users',
  967.  'payments',
  968.  'infrastructure',
  969.  'system',
  970.  'invites',
  971.  'monitoring',
  972.  'corsheaders')
  973. LANGUAGES_BIDI 
  974. ('he', 'ar', 'fa', 'ur')
  975. USE_L10N   
  976. True
  977. MOCK_SERVICES  
  978. True
  979. SECURE_HSTS_INCLUDE_SUBDOMAINS 
  980. False
  981. STATICFILES_DIRS   
  982. ()
  983. IP_ROLES_MAPPING   
  984. {'loader': ['94.228.218.220', '178.32.46.49'],
  985.  'mobile_resource': ['188.165.28.76', '94.228.216.237'],
  986.  'mobile_targetator': ['188.165.28.76', '94.228.216.237'],
  987.  'mobile_tracker': ['188.165.28.76', '94.228.216.237'],
  988.  'replacer': ['94.228.218.214', '178.32.201.109'],
  989.  'resource': ['94.228.218.215', '151.80.243.158']}
  990. PREPEND_WWW
  991. False
  992. SECURE_PROXY_SSL_HEADER
  993. None
  994. LANGUAGE_COOKIE_AGE
  995. None
  996. SESSION_COOKIE_HTTPONLY
  997. True
  998. DEBUG_PROPAGATE_EXCEPTIONS 
  999. False
  1000. INTERNAL_IPS   
  1001. ()
  1002. TELEGRAM_ERROR_BOT 
  1003. <telegram.bot.Bot object at 0x2627a90>
  1004. ROBOKASSA_PASSWORD 
  1005. u'********************'
  1006. MOCK_CHECK_CLASS   
  1007. 'app.core.mocks.MockedWriteCheckService'
  1008. MONTH_DAY_FORMAT   
  1009. 'F j'
  1010. LOGIN_URL  
  1011. '/accounts/login/'
  1012. SESSION_EXPIRE_AT_BROWSER_CLOSE
  1013. False
  1014. WM_TEST_MODE   
  1015. 0
  1016. TIME_FORMAT
  1017. 'P'
  1018. SFX_VERSION_HOST   
  1019. 'web@192.168.176.70'
  1020. AUTH_USER_MODEL
  1021. 'auth.User'
  1022. DATE_INPUT_FORMATS 
  1023. ('%Y-%m-%d',
  1024.  '%m/%d/%Y',
  1025.  '%m/%d/%y',
  1026.  '%b %d %Y',
  1027.  '%b %d, %Y',
  1028.  '%d %b %Y',
  1029.  '%d %b, %Y',
  1030.  '%B %d %Y',
  1031.  '%B %d, %Y',
  1032.  '%d %B %Y',
  1033.  '%d %B, %Y')
  1034. AUTHENTICATION_BACKENDS
  1035. ('django.contrib.auth.backends.ModelBackend',)
  1036. EMAIL_HOST_PASSWORD
  1037. u'********************'
  1038. REDIS_EVENT_PREFIX 
  1039. 'pre'
  1040. PASSWORD_RESET_TIMEOUT_DAYS
  1041. u'********************'
  1042. SESSION_FILE_PATH  
  1043. None
  1044. CACHE_MIDDLEWARE_ALIAS 
  1045. 'default'
  1046. SESSION_SAVE_EVERY_REQUEST 
  1047. False
  1048. NUMBER_GROUPING
  1049. 0
  1050. SESSION_ENGINE 
  1051. 'redis_sessions.session'
  1052. CSRF_FAILURE_VIEW  
  1053. 'django.views.csrf.csrf_failure'
  1054. CSRF_COOKIE_PATH   
  1055. '/'
  1056. LOGIN_REDIRECT_URL 
  1057. '/accounts/profile/'
  1058. DECIMAL_SEPARATOR  
  1059. '.'
  1060. IGNORABLE_404_URLS 
  1061. ()
  1062. LOCALE_PATHS   
  1063. ()
  1064. TEMPLATE_STRING_IF_INVALID 
  1065. ''
  1066. LOGOUT_URL 
  1067. '/accounts/logout/'
  1068. EMAIL_USE_TLS  
  1069. True
  1070. FIXTURE_DIRS   
  1071. ()
  1072. EMAIL_HOST 
  1073. 'smtp.yandex.ru'
  1074. DATE_FORMAT
  1075. 'N j, Y'
  1076. MEDIA_ROOT 
  1077. 'uploads'
  1078. DEFAULT_EXCEPTION_REPORTER_FILTER  
  1079. 'django.views.debug.SafeExceptionReporterFilter'
  1080. ADMINS 
  1081. ()
  1082. FORMAT_MODULE_PATH 
  1083. None
  1084. DEFAULT_FROM_EMAIL 
  1085. 'webmaster@localhost'
  1086. REST_FRAMEWORK 
  1087. {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication',
  1088.                                     'rest_framework.authentication.TokenAuthentication'),
  1089.  'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',
  1090.                              'rest_framework.filters.OrderingFilter'),
  1091.  'DEFAULT_PAGINATION_CLASS': 'app.pagination.DefaultPaginationClass',
  1092.  'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),
  1093.  'VIEW_DESCRIPTION_FUNCTION': 'rest_framework_swagger.views.get_restructuredtext'}
  1094. MEDIA_URL  
  1095. '/uploads2/'
  1096. DATETIME_FORMAT
  1097. 'N j, Y, P'
  1098. TEMPLATE_DIRS  
  1099. ()
  1100. DISALLOWED_USER_AGENTS 
  1101. ()
  1102. ALLOWED_INCLUDE_ROOTS  
  1103. ()
  1104. CELERY_TIMEZONE
  1105. 'Europe/Moscow'
  1106. LOGGING
  1107. {'disable_existing_loggers': False,
  1108.  'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
  1109.  'formatters': {'default': {'format': '%(asctime)s [%(levelname)s][%(filename)s:%(lineno)s] %(name)s: %(message)s'}},
  1110.  'handlers': {'default': {'class': 'logging.StreamHandler',
  1111.                           'formatter': 'default',
  1112.                           'level': 'INFO'},
  1113.               'error': {'class': 'logging.handlers.RotatingFileHandler',
  1114.                         'filename': 'err.log',
  1115.                         'formatter': 'default',
  1116.                         'level': 'ERROR',
  1117.                         'maxBytes': 1073741824},
  1118.               'file': {'class': 'logging.handlers.RotatingFileHandler',
  1119.                        'filename': 'info.log',
  1120.                        'formatter': 'default',
  1121.                        'level': 'INFO',
  1122.                        'maxBytes': 1073741824},
  1123.               'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
  1124.                               'filters': ['require_debug_false'],
  1125.                               'level': 'ERROR'},
  1126.               'warning': {'class': 'logging.handlers.RotatingFileHandler',
  1127.                           'filename': 'warn.log',
  1128.                           'formatter': 'default',
  1129.                           'level': 'WARNING',
  1130.                           'maxBytes': 1073741824}},
  1131.  'loggers': {'': {'handlers': ['default', 'file', 'warning', 'error'],
  1132.                   'level': 'INFO'},
  1133.              'django.request': {'handlers': ['default',
  1134.                                              'file',
  1135.                                              'warning',
  1136.                                              'error'],
  1137.                                 'level': 'INFO',
  1138.                                 'propagate': True},
  1139.              'park': {'handlers': ['default', 'file', 'warning', 'error'],
  1140.                       'level': 'INFO',
  1141.                       'propagate': True},
  1142.              'root': {'handlers': ['default', 'file', 'warning', 'error'],
  1143.                       'level': 'INFO'}},
  1144.  'version': 1}
  1145. SHORT_DATE_FORMAT  
  1146. 'm/d/Y'
  1147. SECRET_KEY 
  1148. u'********************'
  1149. TEMPLATES  
  1150. [{'APP_DIRS': True,
  1151.   'BACKEND': 'django.template.backends.django.DjangoTemplates',
  1152.   'DIRS': [],
  1153.   'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
  1154.                                      'django.template.context_processors.request',
  1155.                                      'django.contrib.auth.context_processors.auth',
  1156.                                      'django.contrib.messages.context_processors.messages']}}]
  1157. STATICFILES_FINDERS
  1158. ('django.contrib.staticfiles.finders.FileSystemFinder',
  1159.  'django.contrib.staticfiles.finders.AppDirectoriesFinder')
  1160. CABINET_HOST   
  1161. 'http://cab.pre.dp.vpn'
  1162. CACHE_MIDDLEWARE_KEY_PREFIX
  1163. u'********************'
  1164. SECURE_SSL_REDIRECT
  1165. False
  1166. TIME_ZONE  
  1167. 'Europe/Moscow'
  1168. FILE_UPLOAD_MAX_MEMORY_SIZE
  1169. 2621440
  1170. EMAIL_BACKEND  
  1171. 'django.core.mail.backends.smtp.EmailBackend'
  1172. EMAIL_USE_SSL  
  1173. False
  1174. TEMPLATE_CONTEXT_PROCESSORS
  1175. ('django.contrib.auth.context_processors.auth',
  1176.  'django.template.context_processors.debug',
  1177.  'django.template.context_processors.i18n',
  1178.  'django.template.context_processors.media',
  1179.  'django.template.context_processors.static',
  1180.  'django.template.context_processors.tz',
  1181.  'django.contrib.messages.context_processors.messages')
  1182. MIGRATION_MODULES  
  1183. {}
  1184. SESSION_COOKIE_AGE 
  1185. 1209600
  1186. SETTINGS_MODULE
  1187. 'park_dp_vpn.settings.pre'
  1188. USE_ETAGS  
  1189. False
  1190. SFX_MODULE_PATH
  1191. '/home/web/static/libs/sfx/coin32sfx.sfx'
  1192. LANGUAGES  
  1193. (('af', 'Afrikaans'),
  1194.  ('ar', 'Arabic'),
  1195.  ('ast', 'Asturian'),
  1196.  ('az', 'Azerbaijani'),
  1197.  ('bg', 'Bulgarian'),
  1198.  ('be', 'Belarusian'),
  1199.  ('bn', 'Bengali'),
  1200.  ('br', 'Breton'),
  1201.  ('bs', 'Bosnian'),
  1202.  ('ca', 'Catalan'),
  1203.  ('cs', 'Czech'),
  1204.  ('cy', 'Welsh'),
  1205.  ('da', 'Danish'),
  1206.  ('de', 'German'),
  1207.  ('el', 'Greek'),
  1208.  ('en', 'English'),
  1209.  ('en-au', 'Australian English'),
  1210.  ('en-gb', 'British English'),
  1211.  ('eo', 'Esperanto'),
  1212.  ('es', 'Spanish'),
  1213.  ('es-ar', 'Argentinian Spanish'),
  1214.  ('es-mx', 'Mexican Spanish'),
  1215.  ('es-ni', 'Nicaraguan Spanish'),
  1216.  ('es-ve', 'Venezuelan Spanish'),
  1217.  ('et', 'Estonian'),
  1218.  ('eu', 'Basque'),
  1219.  ('fa', 'Persian'),
  1220.  ('fi', 'Finnish'),
  1221.  ('fr', 'French'),
  1222.  ('fy', 'Frisian'),
  1223.  ('ga', 'Irish'),
  1224.  ('gl', 'Galician'),
  1225.  ('he', 'Hebrew'),
  1226.  ('hi', 'Hindi'),
  1227.  ('hr', 'Croatian'),
  1228.  ('hu', 'Hungarian'),
  1229.  ('ia', 'Interlingua'),
  1230.  ('id', 'Indonesian'),
  1231.  ('io', 'Ido'),
  1232.  ('is', 'Icelandic'),
  1233.  ('it', 'Italian'),
  1234.  ('ja', 'Japanese'),
  1235.  ('ka', 'Georgian'),
  1236.  ('kk', 'Kazakh'),
  1237.  ('km', 'Khmer'),
  1238.  ('kn', 'Kannada'),
  1239.  ('ko', 'Korean'),
  1240.  ('lb', 'Luxembourgish'),
  1241.  ('lt', 'Lithuanian'),
  1242.  ('lv', 'Latvian'),
  1243.  ('mk', 'Macedonian'),
  1244.  ('ml', 'Malayalam'),
  1245.  ('mn', 'Mongolian'),
  1246.  ('mr', 'Marathi'),
  1247.  ('my', 'Burmese'),
  1248.  ('nb', 'Norwegian Bokmal'),
  1249.  ('ne', 'Nepali'),
  1250.  ('nl', 'Dutch'),
  1251.  ('nn', 'Norwegian Nynorsk'),
  1252.  ('os', 'Ossetic'),
  1253.  ('pa', 'Punjabi'),
  1254.  ('pl', 'Polish'),
  1255.  ('pt', 'Portuguese'),
  1256.  ('pt-br', 'Brazilian Portuguese'),
  1257.  ('ro', 'Romanian'),
  1258.  ('ru', 'Russian'),
  1259.  ('sk', 'Slovak'),
  1260.  ('sl', 'Slovenian'),
  1261.  ('sq', 'Albanian'),
  1262.  ('sr', 'Serbian'),
  1263.  ('sr-latn', 'Serbian Latin'),
  1264.  ('sv', 'Swedish'),
  1265.  ('sw', 'Swahili'),
  1266.  ('ta', 'Tamil'),
  1267.  ('te', 'Telugu'),
  1268.  ('th', 'Thai'),
  1269.  ('tr', 'Turkish'),
  1270.  ('tt', 'Tatar'),
  1271.  ('udm', 'Udmurt'),
  1272.  ('uk', 'Ukrainian'),
  1273.  ('ur', 'Urdu'),
  1274.  ('vi', 'Vietnamese'),
  1275.  ('zh-cn', 'Simplified Chinese'),
  1276.  ('zh-hans', 'Simplified Chinese'),
  1277.  ('zh-hant', 'Traditional Chinese'),
  1278.  ('zh-tw', 'Traditional Chinese'))
  1279. WM_SECRET  
  1280. u'********************'
  1281. FILE_UPLOAD_TEMP_DIR   
  1282. None
  1283. CSRF_COOKIE_AGE
  1284. 31449600
  1285. STATIC_URL 
  1286. '/static/'
  1287. EMAIL_PORT 
  1288. 25
  1289. TELEGRAM_ERROR_CHAT_IDS
  1290. [123711820]
  1291. USE_TZ 
  1292. False
  1293. SHORT_DATETIME_FORMAT  
  1294. 'm/d/Y P'
  1295. CELERY_RESULT_BACKEND  
  1296. 'redis://localhost/5'
  1297. TEST_NON_SERIALIZED_APPS   
  1298. []
  1299. PASSWORD_HASHERS   
  1300. u'********************'
  1301. ABSOLUTE_URL_OVERRIDES 
  1302. {}
  1303. LANGUAGE_COOKIE_PATH   
  1304. '/'
  1305. CELERYBEAT_SCHEDULE
  1306. {'autostart_campaigns': {'options': {'queue': 'crontab'},
  1307.                          'schedule': <crontab: 0 0 * * * (m/h/d/dM/MY)>,
  1308.                          'task': 'desktop_campaigns.tasks.autostart_campaigns'},
  1309.  'calculate-cpm-rate': {'options': {'queue': 'crontab'},
  1310.                         'schedule': datetime.timedelta(0, 1800),
  1311.                         'task': 'webmaster.tasks.calculate_cpm_rate'},
  1312.  'calculate-rates': {'options': {'queue': 'crontab'},
  1313.                      'schedule': datetime.timedelta(0, 900),
  1314.                      'task': 'desktop_campaigns.tasks.calculate_rates'},
  1315.  'fill-developer-stat': {'options': {'queue': 'crontab'},
  1316.                          'schedule': datetime.timedelta(0, 300),
  1317.                          'task': 'infrastructure.tasks.fill_developer_stat'},
  1318.  'fill-pricer_click_cost': {'options': {'queue': 'crontab'},
  1319.                             'schedule': datetime.timedelta(0, 600),
  1320.                             'task': 'infrastructure.tasks.fill_pricer_click_cost'},
  1321.  'gsb-download-scan': {'options': {'queue': 'crontab'},
  1322.                        'schedule': datetime.timedelta(0, 3600),
  1323.                        'task': 'app.tasks.gsb_scan'},
  1324.  'rebuild-all-binaries': {'options': {'queue': 'crontab'},
  1325.                           'schedule': datetime.timedelta(0, 1800),
  1326.                           'task': 'app.tasks.resign_binaries'},
  1327.  'redownload-link-binaries': {'options': {'queue': 'crontab'},
  1328.                               'schedule': datetime.timedelta(0, 21600),
  1329.                               'task': 'app.tasks.redownload_binaries'},
  1330.  'redownload_distrs': {'options': {'queue': 'crontab'},
  1331.                        'schedule': datetime.timedelta(0, 1800),
  1332.                        'task': 'desktop_campaigns.tasks.redownload_distrs'},
  1333.  'scan-domains-every-hour': {'options': {'queue': 'crontab'},
  1334.                              'schedule': datetime.timedelta(0, 3600),
  1335.                              'task': 'app.tasks.check_domains'},
  1336.  'scan-files-every-hour': {'options': {'queue': 'crontab'},
  1337.                            'schedule': datetime.timedelta(0, 3600),
  1338.                            'task': 'app.tasks.check_files'},
  1339.  'scan_crypts': {'options': {'queue': 'crontab'},
  1340.                  'schedule': datetime.timedelta(0, 3600),
  1341.                  'task': 'delivery.tasks.scan_crypts'},
  1342.  'sync-payments': {'options': {'queue': 'crontab'},
  1343.                    'schedule': datetime.timedelta(0, 600),
  1344.                    'task': 'billing.tasks.sync_payments'},
  1345.  'update-count-detects': {'options': {'queue': 'crontab'},
  1346.                           'schedule': datetime.timedelta(0, 300),
  1347.                           'task': 'app.tasks.update_count_detects'},
  1348.  'update-cources': {'options': {'queue': 'crontab'},
  1349.                     'schedule': datetime.timedelta(0, 3600),
  1350.                     'task': 'billing.tasks.update_courses'},
  1351.  'upload_custom_files_to_ftp': {'options': {'queue': 'crontab'},
  1352.                                 'schedule': datetime.timedelta(0, 600),
  1353.                                 'task': 'app.tasks.upload_custom_files_to_ftp'}}
  1354. CACHE_MIDDLEWARE_SECONDS   
  1355. 600
  1356. EMAIL_SSL_CERTFILE 
  1357. None
  1358. CSRF_COOKIE_HTTPONLY   
  1359. False
  1360. DATETIME_INPUT_FORMATS 
  1361. ('%Y-%m-%d %H:%M:%S',
  1362.  '%Y-%m-%d %H:%M:%S.%f',
  1363.  '%Y-%m-%d %H:%M',
  1364.  '%Y-%m-%d',
  1365.  '%m/%d/%Y %H:%M:%S',
  1366.  '%m/%d/%Y %H:%M:%S.%f',
  1367.  '%m/%d/%Y %H:%M',
  1368.  '%m/%d/%Y',
  1369.  '%m/%d/%y %H:%M:%S',
  1370.  '%m/%d/%y %H:%M:%S.%f',
  1371.  '%m/%d/%y %H:%M',
  1372.  '%m/%d/%y')
  1373. EMAIL_HOST_USER
  1374. 'mailer@coin32.com'
  1375. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will 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