SHARE
TWEET

Untitled

a guest Sep 4th, 2018 563 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AssertionError at /api/recruiter/recruiter/
  2. The `.create()` method does not support writable nested fields by default.
  3. Write an explicit `.create()` method for serializer `recruiter.serializers.RecruiterDisplaySerializer`, or set `read_only=True` on nested serializer fields.
  4.  
  5. Request Method: POST
  6. Request URL: http://vps574049.ovh.net:8000/api/recruiter/recruiter/
  7. Django Version: 2.0.6
  8. Python Executable: /usr/local/bin/python
  9. Python Version: 3.6.5
  10. Python Path: ['/backend/backend', '/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']
  11. Server time: Mon, 3 Sep 2018 10:37:45 +0000
  12. Installed Applications:
  13. ['django.contrib.admin',
  14.  'django.contrib.auth',
  15.  'django.contrib.sites',
  16.  'django.contrib.contenttypes',
  17.  'django.contrib.sessions',
  18.  'django.contrib.messages',
  19.  'django.contrib.staticfiles',
  20.  'django_filters',
  21.  'django_extensions',
  22.  'rest_framework',
  23.  'rest_framework.authtoken',
  24.  'rest_auth',
  25.  'rest_framework_swagger',
  26.  'rest_framework_gis',
  27.  'reversion',
  28.  'allauth',
  29.  'allauth.account',
  30.  'allauth.socialaccount',
  31.  'allauth.socialaccount.providers.facebook',
  32.  'allauth.socialaccount.providers.google',
  33.  'corsheaders',
  34.  'authentication',
  35.  'backend',
  36.  'candidate',
  37.  'common',
  38.  'custom_user',
  39.  'organizations',
  40.  'place',
  41.  'recruiter',
  42.  'registration',
  43.  'drf_openapi',
  44.  'drf_yasg']
  45. Installed Middleware:
  46. ['django.middleware.security.SecurityMiddleware',
  47.  'whitenoise.middleware.WhiteNoiseMiddleware',
  48.  'django.contrib.sessions.middleware.SessionMiddleware',
  49.  'django.middleware.common.CommonMiddleware',
  50.  'django.middleware.csrf.CsrfViewMiddleware',
  51.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  52.  'django.contrib.messages.middleware.MessageMiddleware',
  53.  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  54.  'django.middleware.locale.LocaleMiddleware',
  55.  'corsheaders.middleware.CorsMiddleware']
  56.  
  57.  
  58. Traceback:
  59.  
  60. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  61.   35.             response = get_response(request)
  62.  
  63. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  64.   128.                 response = self.process_exception_by_middleware(e, request)
  65.  
  66. File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  67.   126.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  68.  
  69. File "/usr/local/lib/python3.6/contextlib.py" in inner
  70.   52.                 return func(*args, **kwds)
  71.  
  72. File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  73.   54.         return view_func(*args, **kwargs)
  74.  
  75. File "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py" in view
  76.   95.             return self.dispatch(request, *args, **kwargs)
  77.  
  78. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  79.   494.             response = self.handle_exception(exc)
  80.  
  81. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
  82.   454.             self.raise_uncaught_exception(exc)
  83.  
  84. File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
  85.   491.             response = handler(request, *args, **kwargs)
  86.  
  87. File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in create
  88.   21.         self.perform_create(serializer)
  89.  
  90. File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in perform_create
  91.   26.         serializer.save()
  92.  
  93. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in save
  94.   214.             self.instance = self.create(validated_data)
  95.  
  96. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in create
  97.   903.         raise_errors_on_nested_writes('create', self, validated_data)
  98.  
  99. File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in raise_errors_on_nested_writes
  100.   797.             class_name=serializer.__class__.__name__
  101.  
  102. Exception Type: AssertionError at /api/recruiter/recruiter/
  103. Exception Value: The `.create()` method does not support writable nested fields by default.
  104. Write an explicit `.create()` method for serializer `recruiter.serializers.RecruiterDisplaySerializer`, or set `read_only=True` on nested serializer fields.
  105. Request information:
  106. USER: candidate_1@medvo.com
  107.  
  108. GET: No GET data
  109.  
  110. POST: No POST data
  111.  
  112. FILES: No FILES data
  113.  
  114. COOKIES: No cookie data
  115.  
  116. META:
  117. CONTENT_LENGTH = '660'
  118. CONTENT_TYPE = 'application/json'
  119. HTTP_ACCEPT = '*/*'
  120. HTTP_ACCEPT_ENCODING = 'gzip, deflate'
  121. HTTP_AUTHORIZATION = 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTM1OTcxMzYxLCJqdGkiOiI1NjVlNTkzY2EwMDU0OTJmYTYyZWY1YzNhZGIzZmUxOCIsInVzZXJfaWQiOjIyfQ.0Z3P8mUMNbEypTLpUX_ZWa_RjDyRA5O_DdiJR7hulnw'
  122. HTTP_CACHE_CONTROL = 'no-cache'
  123. HTTP_CONNECTION = 'keep-alive'
  124. HTTP_HOST = 'vps574049.ovh.net:8000'
  125. HTTP_POSTMAN_TOKEN = '7e328596-cfa4-46e6-a994-7723361a7d83'
  126. HTTP_USER_AGENT = 'PostmanRuntime/7.2.0'
  127. PATH_INFO = '/api/recruiter/recruiter/'
  128. QUERY_STRING = ''
  129. RAW_URI = '/api/recruiter/recruiter/'
  130. REMOTE_ADDR = '178.235.240.250'
  131. REMOTE_PORT = '64110'
  132. REQUEST_METHOD = 'POST'
  133. SCRIPT_NAME = ''
  134. SERVER_NAME = '0.0.0.0'
  135. SERVER_PORT = '8000'
  136. SERVER_PROTOCOL = 'HTTP/1.1'
  137. SERVER_SOFTWARE = 'gunicorn/19.7.1'
  138. gunicorn.socket = <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.24.0.4', 8000), raddr=('178.235.240.250', 64110)>
  139. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f97a7597cc0>
  140. wsgi.file_wrapper = ''
  141. wsgi.input = <gunicorn.http.body.Body object at 0x7f97a7597ba8>
  142. wsgi.multiprocess = True
  143. wsgi.multithread = False
  144. wsgi.run_once = False
  145. wsgi.url_scheme = 'http'
  146. wsgi.version = '(1, 0)'
  147.  
  148. Settings:
  149. Using settings module backend.settings.local_dev
  150. ABSOLUTE_URL_OVERRIDES = {}
  151. ACCOUNT_AUTHENTICATION_METHOD = 'email'
  152. ACCOUNT_EMAIL_REQUIRED = True
  153. ACCOUNT_UNIQUE_EMAIL = True
  154. ACCOUNT_USERNAME_REQUIRED = False
  155. ACCOUNT_USER_MODEL_USERNAME_FIELD = None
  156. ADMINS = []
  157. ALLOWED_HOSTS = ['*']
  158. APPEND_SLASH = True
  159. AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend', 'rest_framework_simplejwt.authentication.JWTAuthentication')"
  160. AUTH_PASSWORD_VALIDATORS = '********************'
  161. AUTH_USER_MODEL = 'custom_user.CustomUser'
  162. BASE_DIR = '/backend/backend/backend'
  163. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
  164. CACHE_MIDDLEWARE_ALIAS = 'default'
  165. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  166. CACHE_MIDDLEWARE_SECONDS = 600
  167. CORS_ORIGIN_ALLOW_ALL = True
  168. CORS_ORIGIN_WHITELIST = "('http://localhost:8000/', 'http://localhost:4200/')"
  169. CSRF_COOKIE_AGE = 31449600
  170. CSRF_COOKIE_DOMAIN = None
  171. CSRF_COOKIE_HTTPONLY = False
  172. CSRF_COOKIE_NAME = 'csrftoken'
  173. CSRF_COOKIE_PATH = '/'
  174. CSRF_COOKIE_SECURE = False
  175. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  176. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  177. CSRF_TRUSTED_ORIGINS = []
  178. CSRF_USE_SESSIONS = False
  179. DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'postgres', 'USER': 'app_user', 'PASSWORD': '********************', 'HOST': 'db', 'PORT': 5432, 'ATOMIC_REQUESTS': True, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
  180. DATABASE_ROUTERS = []
  181. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  182. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  183. DATETIME_FORMAT = 'N j, Y, P'
  184. 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']
  185. DATE_FORMAT = 'N j, Y'
  186. 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']
  187. DEBUG = True
  188. DEBUG_PROPAGATE_EXCEPTIONS = False
  189. DECIMAL_SEPARATOR = '.'
  190. DEFAULT_CHARSET = 'utf-8'
  191. DEFAULT_CONTENT_TYPE = 'text/html'
  192. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  193. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  194. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  195. DEFAULT_INDEX_TABLESPACE = ''
  196. DEFAULT_TABLESPACE = ''
  197. DISALLOWED_USER_AGENTS = []
  198. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  199. EMAIL_HOST = 'localhost'
  200. EMAIL_HOST_PASSWORD = '********************'
  201. EMAIL_HOST_USER = ''
  202. EMAIL_PORT = 25
  203. EMAIL_SSL_CERTFILE = None
  204. EMAIL_SSL_KEYFILE = '********************'
  205. EMAIL_SUBJECT_PREFIX = '[Django] '
  206. EMAIL_TIMEOUT = None
  207. EMAIL_USE_LOCALTIME = False
  208. EMAIL_USE_SSL = False
  209. EMAIL_USE_TLS = False
  210. FACEBOOK_APP_ID = '314978399039976'
  211. FACEBOOK_APP_SECRET = '********************'
  212. FILE_CHARSET = 'utf-8'
  213. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  214. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  215. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  216. FILE_UPLOAD_PERMISSIONS = None
  217. FILE_UPLOAD_TEMP_DIR = None
  218. FIRST_DAY_OF_WEEK = 0
  219. FIXTURE_DIRS = []
  220. FORCE_SCRIPT_NAME = None
  221. FORMAT_MODULE_PATH = None
  222. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  223. GOOGLE_CLIENT_ID = '835222586490-8derpb5lilg4t2pfclbe343lk0iahr0i.apps.googleusercontent.com'
  224. GOOGLE_SECRET = '********************'
  225. HTTP_HOST = 'http://vps574049.ovh.net:8000/'
  226. IGNORABLE_404_URLS = []
  227. INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_filters', 'django_extensions', 'rest_framework', 'rest_framework.authtoken', 'rest_auth', 'rest_framework_swagger', 'rest_framework_gis', 'reversion', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.google', 'corsheaders', 'authentication', 'backend', 'candidate', 'common', 'custom_user', 'organizations', 'place', 'recruiter', 'registration', 'drf_openapi', 'drf_yasg']
  228. INTERNAL_IPS = []
  229. 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')]
  230. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  231. LANGUAGE_CODE = 'en-us'
  232. LANGUAGE_COOKIE_AGE = None
  233. LANGUAGE_COOKIE_DOMAIN = None
  234. LANGUAGE_COOKIE_NAME = 'django_language'
  235. LANGUAGE_COOKIE_PATH = '/'
  236. LOCALE_PATHS = []
  237. LOGGING = {'version': 1, 'disable_existing_loggers': False, 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}, 'simple': {'format': '%(levelname)s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple'}}, 'loggers': {'django': {'handlers': ['console'], 'level': 'INFO'}, 'registration': {'handlers': ['console'], 'level': 'INFO'}, 'links': {'handlers': ['console'], 'level': 'INFO'}}}
  238. LOGGING_CONFIG = 'logging.config.dictConfig'
  239. LOGIN_REDIRECT_URL = '/accounts/profile/'
  240. LOGIN_URL = '/accounts/login/'
  241. LOGOUT_REDIRECT_URL = None
  242. MANAGERS = []
  243. MEDIA_ROOT = ''
  244. MEDIA_URL = ''
  245. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  246. MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.locale.LocaleMiddleware', 'corsheaders.middleware.CorsMiddleware']
  247. MIGRATION_MODULES = {}
  248. MONTH_DAY_FORMAT = 'F j'
  249. NUMBER_GROUPING = 0
  250. PASSWORD_HASHERS = '********************'
  251. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  252. PREPEND_WWW = False
  253. REGISTRATION = {'LOGIN_USER_URL': 'http://localhost:4200/api/accounts/login/', 'REGISTER_VERIFICATION_URL': 'http://localhost:4200/verify-user/', 'RESET_PASSWORD_VERIFICATION_URL': '********************', 'REGISTER_EMAIL_VERIFICATION_URL': 'http://localhost:4200/verify-email/', 'VERIFICATION_FROM_EMAIL': 'no-reply@example.com'}
  254. REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.AllowAny',), 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication',), 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning', 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'PAGE_SIZE': 20, 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.JSONParser',)}
  255. ROOT_URLCONF = 'backend.urls'
  256. SECRET_KEY = '********************'
  257. SECURE_BROWSER_XSS_FILTER = False
  258. SECURE_CONTENT_TYPE_NOSNIFF = False
  259. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  260. SECURE_HSTS_PRELOAD = False
  261. SECURE_HSTS_SECONDS = 0
  262. SECURE_PROXY_SSL_HEADER = None
  263. SECURE_REDIRECT_EXEMPT = []
  264. SECURE_SSL_HOST = None
  265. SECURE_SSL_REDIRECT = False
  266. SERVER_EMAIL = 'root@localhost'
  267. SESSION_CACHE_ALIAS = 'default'
  268. SESSION_COOKIE_AGE = 1209600
  269. SESSION_COOKIE_DOMAIN = None
  270. SESSION_COOKIE_HTTPONLY = True
  271. SESSION_COOKIE_NAME = 'sessionid'
  272. SESSION_COOKIE_PATH = '/'
  273. SESSION_COOKIE_SECURE = False
  274. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  275. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  276. SESSION_FILE_PATH = None
  277. SESSION_SAVE_EVERY_REQUEST = False
  278. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  279. SETTINGS_MODULE = 'backend.settings.local_dev'
  280. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  281. SHORT_DATE_FORMAT = 'm/d/Y'
  282. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  283. SILENCED_SYSTEM_CHECKS = []
  284. SITE_ID = 1
  285. SOCIALACCOUNT_PROVIDERS = {'google': {'SCOPE': ['profile', 'email'], 'AUTH_PARAMS': {'access_type': 'online'}}, 'facebook': {'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile', 'user_friends'], 'AUTH_PARAMS': {'auth_type': 'reauthenticate'}, 'INIT_PARAMS': {'cookie': True}, 'FIELDS': ['id', 'email', 'name', 'first_name', 'last_name', 'verified', 'locale', 'timezone', 'link', 'gender', 'updated_time'], 'EXCHANGE_TOKEN': '********************', 'LOCALE_FUNC': 'path.to.callable', 'VERIFIED_EMAIL': False, 'VERSION': 'v2.12'}}
  286. STATICFILES_DIRS = []
  287. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  288. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  289. STATIC_ROOT = '/backend/backend/backend/static'
  290. STATIC_URL = '/static/'
  291. SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'api_key': '********************'}}
  292. TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.debug']}}]
  293. TEST_NON_SERIALIZED_APPS = []
  294. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  295. THOUSAND_SEPARATOR = ','
  296. TIME_FORMAT = 'P'
  297. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  298. TIME_ZONE = 'UTC'
  299. USE_ETAGS = False
  300. USE_I18N = True
  301. USE_L10N = True
  302. USE_THOUSAND_SEPARATOR = False
  303. USE_TZ = True
  304. USE_X_FORWARDED_HOST = False
  305. USE_X_FORWARDED_PORT = False
  306. WSGI_APPLICATION = 'backend.wsgi.application'
  307. X_FRAME_OPTIONS = 'SAMEORIGIN'
  308. YEAR_MONTH_FORMAT = 'F Y'
  309.  
  310.  
  311. You're seeing this error because you have DEBUG = True in your
  312. Django settings file. Change that to False, and Django will
  313. 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