SHARE
TWEET

Untitled

a guest Dec 14th, 2018 206 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AttributeError at /api/user/registration/
  2. Got AttributeError when attempting to get a value for field `full_name` on serializer `UserRegistrationSerializer`.
  3. The serializer field might be named incorrectly and not match any attribute or key on the `Response` instance.
  4. Original exception text was: 'Response' object has no attribute 'full_name'.
  5.  
  6. Request Method: POST
  7. Request URL: http://95.163.210.46/api/user/registration/
  8. Django Version: 2.0.4
  9. Python Executable: /usr/local/bin/python
  10. Python Version: 3.6.4
  11. Python Path: ['/skynet', '/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', '/skynet']
  12. Server time: Fri, 14 Dec 2018 20:55:43 +0300
  13. Installed Applications:
  14. ('django.contrib.admin',
  15.  'django.contrib.admindocs',
  16.  'django.contrib.auth',
  17.  'django.contrib.contenttypes',
  18.  'django.contrib.sessions',
  19.  'django.contrib.messages',
  20.  'django.contrib.staticfiles',
  21.  'django.contrib.humanize',
  22.  'django_extensions',
  23.  'nested_admin',
  24.  'rest_framework',
  25.  'drf_yasg',
  26.  'dynamic_rest',
  27.  'rest_framework_jwt',
  28.  'corsheaders',
  29.  'django_celery_results',
  30.  'django_celery_beat',
  31.  'djoser',
  32.  'cacheops',
  33.  'web.apps.swagger',
  34.  'web.apps.users',
  35.  'web.apps.area',
  36.  'web.apps.catalog',
  37.  'web.apps.timetable',
  38.  'web.apps.motivation',
  39.  'health_check',
  40.  'health_check.db',
  41.  'health_check.cache',
  42.  'health_check.storage',
  43.  'health_check.contrib.psutil',
  44.  'debug_toolbar')
  45. Installed Middleware:
  46. ('django.middleware.security.SecurityMiddleware',
  47.  'django.contrib.sessions.middleware.SessionMiddleware',
  48.  'corsheaders.middleware.CorsMiddleware',
  49.  'django.middleware.common.CommonMiddleware',
  50.  'django.middleware.csrf.CsrfViewMiddleware',
  51.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  52.  'django.contrib.messages.middleware.MessageMiddleware',
  53.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  54.  'debug_toolbar.middleware.DebugToolbarMiddleware')
  55.  
  56.  
  57. Traceback:
  58.  
  59. File "/usr/local/lib/python3.6/site-packages/rest_framework/fields.py" in get_attribute
  60.   441.             return get_attribute(instance, self.source_attrs)
  61.  
  62. File "/usr/local/lib/python3.6/site-packages/rest_framework/fields.py" in get_attribute
  63.   100.                 instance = getattr(instance, attr)
  64.  
  65. During handling of the above exception ('Response' object has no attribute 'full_name'), another exception occurred:
  66.  
  67. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  68.   35.             response = get_response(request)
  69.  
  70. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  71.   128.                 response = self.process_exception_by_middleware(e, request)
  72.  
  73. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  74.   126.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  75.  
  76. File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  77.   54.         return view_func(*args, **kwargs)
  78.  
  79. File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
  80.   69.             return self.dispatch(request, *args, **kwargs)
  81.  
  82. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  83.   494.             response = self.handle_exception(exc)
  84.  
  85. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
  86.   454.             self.raise_uncaught_exception(exc)
  87.  
  88. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  89.   491.             response = handler(request, *args, **kwargs)
  90.  
  91. File "/usr/local/lib/python3.6/site-packages/rest_framework/generics.py" in post
  92.   192.         return self.create(request, *args, **kwargs)
  93.  
  94. File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in create
  95.   22.         headers = self.get_success_headers(serializer.data)
  96.  
  97. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in data
  98.   537.         ret = super(Serializer, self).data
  99.  
  100. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in data
  101.   262.                 self._data = self.to_representation(self.instance)
  102.  
  103. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
  104.   491.                 attribute = field.get_attribute(instance)
  105.  
  106. File "/usr/local/lib/python3.6/site-packages/rest_framework/fields.py" in get_attribute
  107.   462.             raise type(exc)(msg)
  108.  
  109. Exception Type: AttributeError at /api/user/registration/
  110. Exception Value: Got AttributeError when attempting to get a value for field `full_name` on serializer `UserRegistrationSerializer`.
  111. The serializer field might be named incorrectly and not match any attribute or key on the `Response` instance.
  112. Original exception text was: 'Response' object has no attribute 'full_name'.
  113. Request information:
  114. USER: chongkal@picasel.agency
  115.  
  116. GET: No GET data
  117.  
  118. POST:
  119. full_name = 'sd'
  120. phone = '812381828231'
  121. email = '123@gmail.com'
  122. role = '5'
  123. agency = '2'
  124.  
  125. FILES:
  126. photo = <InMemoryUploadedFile: 1233 2.png (image/png)>
  127.  
  128. COOKIES: No cookie data
  129.  
  130. META:
  131. CONTENT_LENGTH = '32826'
  132. CONTENT_TYPE = 'multipart/form-data; boundary=----WebKitFormBoundaryCSJv3eDuB2fHpdkA'
  133. HTTP_ACCEPT = 'application/json, text/plain, */*'
  134. HTTP_ACCEPT_ENCODING = 'gzip, deflate'
  135. HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'
  136. HTTP_AUTHORIZATION = 'JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNiwidXNlcm5hbWUiOiJjaG9uZ2thbEBwaWNhc2VsLmFnZW5jeSIsImV4cCI6MTU0NDgxOTgyMX0.2l-Xzsi_xgUcbZ9fs5CmE5qOrEfcTVxXZ-hFBsEwK44'
  137. HTTP_CONNECTION = 'close'
  138. HTTP_HOST = '95.163.210.46'
  139. HTTP_ORIGIN = 'http://localhost:4200'
  140. HTTP_REFERER = 'http://localhost:4200/create/profile'
  141. HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36'
  142. HTTP_X_FORWARDED_FOR = '146.185.136.157'
  143. HTTP_X_REAL_IP = '146.185.136.157'
  144. PATH_INFO = '/api/user/registration/'
  145. QUERY_STRING = ''
  146. RAW_URI = '/api/user/registration/'
  147. REMOTE_ADDR = '10.42.54.83'
  148. REMOTE_PORT = '49782'
  149. REQUEST_METHOD = 'POST'
  150. SCRIPT_NAME = ''
  151. SERVER_NAME = '0.0.0.0'
  152. SERVER_PORT = '8000'
  153. SERVER_PROTOCOL = 'HTTP/1.0'
  154. SERVER_SOFTWARE = 'gunicorn/19.7.1'
  155. gunicorn.socket = <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.42.240.75', 8000), raddr=('10.42.54.83', 49782)>
  156. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7ff5d8b02e10>
  157. wsgi.file_wrapper = ''
  158. wsgi.input = <gunicorn.http.body.Body object at 0x7ff5d8b02780>
  159. wsgi.multiprocess = True
  160. wsgi.multithread = False
  161. wsgi.run_once = False
  162. wsgi.url_scheme = 'http'
  163. wsgi.version = '(1, 0)'
  164.  
  165. Settings:
  166. Using settings module web.settings
  167. ABSOLUTE_URL_OVERRIDES = {}
  168. ADMINS = []
  169. ALLOWED_HOSTS = ['127.0.0.1', '185.224.215.63', '95.163.210.46']
  170. APPEND_SLASH = True
  171. AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
  172. AUTH_PASSWORD_VALIDATORS = '********************'
  173. AUTH_USER_MODEL = 'users.User'
  174. BASE_DIR = '/skynet'
  175. CACHEOPS = {}
  176. CACHEOPS_REDIS = {'host': 'localhost', 'port': 6379}
  177. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
  178. CACHE_MIDDLEWARE_ALIAS = 'default'
  179. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  180. CACHE_MIDDLEWARE_SECONDS = 600
  181. CELERY_ACCEPT_CONTENT = ['application/json']
  182. CELERY_BEAT_SCHEDULE = {'create_sales_plans_for_new_mount': {'task': 'motivation.tasks.create_sales_plans_for_new_mount', 'schedule': <crontab: * 1 * 15 * (m/h/d/dM/MY)>}}
  183. CELERY_BROKER_URL = 'redis://localhost:6379'
  184. CELERY_RESULT_BACKEND = 'redis://localhost:6379'
  185. CELERY_RESULT_SERIALIZER = 'json'
  186. CELERY_TASK_SERIALIZER = 'json'
  187. CORS_ORIGIN_ALLOW_ALL = True
  188. CSRF_COOKIE_AGE = 31449600
  189. CSRF_COOKIE_DOMAIN = None
  190. CSRF_COOKIE_HTTPONLY = False
  191. CSRF_COOKIE_NAME = 'csrftoken'
  192. CSRF_COOKIE_PATH = '/'
  193. CSRF_COOKIE_SECURE = False
  194. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  195. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  196. CSRF_TRUSTED_ORIGINS = []
  197. CSRF_USE_SESSIONS = False
  198. DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'skynet', 'USER': 'postgres', 'PASSWORD': '********************', 'PORT': '5432', 'HOST': 'postgres', 'CONN_MAX_AGE': 900, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
  199. DATABASE_ROUTERS = []
  200. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  201. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  202. DATETIME_FORMAT = 'N j, Y, P'
  203. 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']
  204. DATE_FORMAT = 'N j, Y'
  205. DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
  206. DEBUG = True
  207. DEBUG_PROPAGATE_EXCEPTIONS = False
  208. DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'ENABLE_STACKTRACES': True}
  209. DECIMAL_SEPARATOR = '.'
  210. DEFAULT_CHARSET = 'utf-8'
  211. DEFAULT_CONTENT_TYPE = 'text/html'
  212. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  213. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  214. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  215. DEFAULT_INDEX_TABLESPACE = ''
  216. DEFAULT_TABLESPACE = ''
  217. DISALLOWED_USER_AGENTS = []
  218. DJOSER = {'SERIALIZERS': {'user': 'web.apps.users.serializers.UserProfileSerializer'}}
  219. DYNAMIC_REST = {'DEBUG': True, 'ENABLE_BULK_PARTIAL_CREATION': True, 'ENABLE_BULK_UPDATE': True}
  220. EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  221. EMAIL_FROM = 'sayhello@picasel.agency'
  222. EMAIL_HOST = 'smtp.sendgrid.net'
  223. EMAIL_HOST_PASSWORD = '********************'
  224. EMAIL_HOST_USER = 'chongkal'
  225. EMAIL_PORT = 587
  226. EMAIL_SSL_CERTFILE = None
  227. EMAIL_SSL_KEYFILE = '********************'
  228. EMAIL_SUBJECT_PREFIX = '[Django] '
  229. EMAIL_TIMEOUT = None
  230. EMAIL_USE_LOCALTIME = False
  231. EMAIL_USE_SSL = False
  232. EMAIL_USE_TLS = True
  233. FILE_CHARSET = 'utf-8'
  234. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  235. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  236. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  237. FILE_UPLOAD_PERMISSIONS = None
  238. FILE_UPLOAD_TEMP_DIR = None
  239. FIRST_DAY_OF_WEEK = 0
  240. FIXTURE_DIRS = []
  241. FORCE_SCRIPT_NAME = None
  242. FORMAT_MODULE_PATH = None
  243. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  244. IGNORABLE_404_URLS = "(re.compile('/favicon.ico'), re.compile('/robots.txt'))"
  245. INSTALLED_APPS = "('django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django_extensions', 'nested_admin', 'rest_framework', 'drf_yasg', 'dynamic_rest', 'rest_framework_jwt', 'corsheaders', 'django_celery_results', 'django_celery_beat', 'djoser', 'cacheops', 'web.apps.swagger', 'web.apps.users', 'web.apps.area', 'web.apps.catalog', 'web.apps.timetable', 'web.apps.motivation', 'health_check', 'health_check.db', 'health_check.cache', 'health_check.storage', 'health_check.contrib.psutil', 'debug_toolbar')"
  246. INTERNAL_IPS = '127.0.0.1:8000'
  247. JWT_AUTH = {'JWT_EXPIRATION_DELTA': datetime.timedelta(0, 10000)}
  248. LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian BokmГҐl'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
  249. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  250. LANGUAGE_CODE = 'en'
  251. LANGUAGE_COOKIE_AGE = None
  252. LANGUAGE_COOKIE_DOMAIN = None
  253. LANGUAGE_COOKIE_NAME = 'django_language'
  254. LANGUAGE_COOKIE_PATH = '/'
  255. LOCALE_PATHS = "('/skynet/web/conf/locale',)"
  256. LOGGING = {'version': 1, 'disable_existing_loggers': True, 'root': {'level': 'WARNING', 'handlers': ['console']}, 'formatters': {'verbose': {'format': '%(asctime)s %(levelname)s %(message)s'}}, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'verbose'}}, 'loggers': {'django.db.backends': {'level': 'INFO', 'handlers': ['console'], 'propagate': False}, 'django.request': {'level': 'ERROR', 'handlers': ['console'], 'propagate': False}, 'django.server': {'level': 'INFO', 'handlers': ['console'], 'propagate': False}, 'django.security': {'level': 'INFO', 'handlers': ['console'], 'propagate': False}}}
  257. LOGGING_CONFIG = 'logging.config.dictConfig'
  258. LOGIN_REDIRECT_URL = '/accounts/profile/'
  259. LOGIN_URL = '/accounts/login/'
  260. LOGOUT_REDIRECT_URL = None
  261. MANAGERS = []
  262. MEDIA_ROOT = '/skynet/web/media'
  263. MEDIA_URL = '/media/'
  264. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  265. MIDDLEWARE = "('django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware')"
  266. MIGRATION_MODULES = {}
  267. MONTH_DAY_FORMAT = 'F j'
  268. NUMBER_GROUPING = 0
  269. PASSWORD_HASHERS = '********************'
  270. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  271. PREPEND_WWW = False
  272. PRODUCTION = False
  273. PROJECT_DIR = '/skynet/web'
  274. RAVEN_CONFIG = {'dsn': 'https://715e5801fb954856a8ad4b6eac5962c7:7333b166cf644414bb5f6422fa3ca2c0@sentry.io/1262720', 'release': '0ade80bda0cc0eca969ee69c1a05c213b055e00d'}
  275. REMOTE_DB = {'NAME': 'PhilipsCRM', 'USER': 'user', 'PASSWORD': '********************', 'HOST': 'host:port'}
  276. REST_FRAMEWORK = {'DEFAULT_RENDERER_CLASSES': ['rest_framework.renderers.JSONRenderer', 'dynamic_rest.renderers.DynamicBrowsableAPIRenderer'], 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.AllowAny',), 'DEFAULT_AUTHENTICATION_CLASSES': ('web.utils.CsrfExemptSessionAuthentication', 'rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.BasicAuthentication')}
  277. ROOT_URLCONF = 'web.urls'
  278. SECRET_KEY = '********************'
  279. SECURE_BROWSER_XSS_FILTER = False
  280. SECURE_CONTENT_TYPE_NOSNIFF = False
  281. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  282. SECURE_HSTS_PRELOAD = False
  283. SECURE_HSTS_SECONDS = 0
  284. SECURE_PROXY_SSL_HEADER = None
  285. SECURE_REDIRECT_EXEMPT = []
  286. SECURE_SSL_HOST = None
  287. SECURE_SSL_REDIRECT = False
  288. SERVER_EMAIL = 'root@localhost'
  289. SESSION_CACHE_ALIAS = 'default'
  290. SESSION_COOKIE_AGE = 5184000
  291. SESSION_COOKIE_DOMAIN = None
  292. SESSION_COOKIE_HTTPONLY = True
  293. SESSION_COOKIE_NAME = 'sid'
  294. SESSION_COOKIE_PATH = '/'
  295. SESSION_COOKIE_SECURE = False
  296. SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
  297. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  298. SESSION_FILE_PATH = None
  299. SESSION_SAVE_EVERY_REQUEST = False
  300. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
  301. SETTINGS_MODULE = 'web.settings'
  302. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  303. SHORT_DATE_FORMAT = 'm/d/Y'
  304. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  305. SILENCED_SYSTEM_CHECKS = []
  306. STATICFILES_DIRS = []
  307. STATICFILES_FINDERS = "('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')"
  308. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
  309. STATIC_ROOT = '/skynet/web/static'
  310. STATIC_URL = '/static/'
  311. TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/skynet/web/templates'], 'OPTIONS': {'debug': True, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages'], 'loaders': ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')}}]
  312. TEST_NON_SERIALIZED_APPS = []
  313. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  314. THOUSAND_SEPARATOR = ','
  315. TIME_FORMAT = 'P'
  316. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  317. TIME_ZONE = 'Europe/Moscow'
  318. USE_ETAGS = False
  319. USE_I18N = True
  320. USE_L10N = True
  321. USE_THOUSAND_SEPARATOR = False
  322. USE_TZ = True
  323. USE_X_FORWARDED_HOST = False
  324. USE_X_FORWARDED_PORT = False
  325. WSGI_APPLICATION = 'web.wsgi.application'
  326. X_FRAME_OPTIONS = 'SAMEORIGIN'
  327. YEAR_MONTH_FORMAT = 'F Y'
  328. _DEBUG_ENV = 'true'
  329. _PRODUCTION_ENV = None
  330.  
  331.  
  332. You're seeing this error because you have DEBUG = True in your
  333. Django settings file. Change that to False, and Django will
  334. display a standard page generated by the handler for this status code.
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top