Advertisement
Guest User

Untitled

a guest
Jan 4th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.15 KB | None | 0 0
  1. FieldError at /api/v1/linearstructure/26/
  2. Cannot resolve keyword 'owner' into field. Choices are: id, length, linearstructurewidth, plot, plot_id, structuretype, superficie_del_rodal
  3.  
  4. Request Method: PUT
  5. Request URL: http://pluriforserver.korpoweb.com/api/v1/linearstructure/26/
  6. Django Version: 2.1.3
  7. Python Executable: /home/csmant/.venv/bin/python3
  8. Python Version: 3.5.3
  9. Python Path: ['/home/csmant/django/buildout/src/pluriforserver', '/home/csmant/django/buildout/eggs/MarkupSafe-1.1.0-py3.5-linux-x86_64.egg', '/home/csmant/django/buildout/eggs/Jinja2-2.10-py3.5.egg', '/home/csmant/django/buildout/eggs/certifi-2018.11.29-py3.5.egg', '/home/csmant/django/buildout/eggs/idna-2.8-py3.5.egg', '/home/csmant/django/buildout/eggs/PyJWT-1.7.1-py3.5.egg', '/home/csmant/django/buildout/eggs/six-1.12.0-py3.5.egg', '/home/csmant/django/buildout/eggs/coreschema-0.0.4-py3.5.egg', '/home/csmant/django/buildout/eggs/itypes-1.1.0-py3.5.egg', '/home/csmant/django/buildout/eggs/requests-2.21.0-py3.5.egg', '/home/csmant/django/buildout/eggs/uritemplate-3.0.0-py3.5.egg', '/home/csmant/django/buildout/eggs/coreapi-2.3.3-py3.5.egg', '/home/csmant/django/buildout/eggs/PyYAML-3.13-py3.5-linux-x86_64.egg', '/home/csmant/django/buildout/eggs/gunicorn-19.9.0-py3.5.egg', '/home/csmant/django/buildout/eggs/djangorecipe-2.2.1-py3.5.egg', '/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg', '/home/csmant/django/buildout/eggs/zc.recipe.egg-2.0.7-py3.5.egg', '/home/csmant/django/buildout/eggs/django_cors_headers-2.4.0-py3.5.egg', '/home/csmant/django/buildout/eggs/django_rest_auth-0.9.3-py3.5.egg', '/home/csmant/django/buildout/eggs/djangorestframework_jwt-1.11.0-py3.5.egg', '/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg', '/home/csmant/django/buildout/eggs/django_allauth-0.38.0-py3.5.egg', '/home/csmant/django/buildout/eggs/pytz-2018.7-py3.5.egg', '/home/csmant/django/buildout/eggs/requests_oauthlib-1.0.0-py3.5.egg', '/home/csmant/django/buildout/eggs/python3_openid-3.1.0-py3.5.egg', '/home/csmant/django/buildout/eggs/urllib3-1.24.1-py3.5.egg', '/home/csmant/django/buildout/eggs/chardet-3.0.4-py3.5.egg', '/home/csmant/django/buildout/eggs/oauthlib-2.1.0-py3.5.egg', '/home/csmant/django/buildout/eggs/defusedxml-0.5.0-py3.5.egg', '/home/csmant/.venv/lib/python3.5/site-packages', '/home/csmant/django/buildout', '/home/csmant/django/buildout/bin', '/home/csmant/.venv/lib/python35.zip', '/home/csmant/.venv/lib/python3.5', '/home/csmant/.venv/lib/python3.5/plat-x86_64-linux-gnu', '/home/csmant/.venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/csmant/.venv/lib/python3.5/site-packages']
  10. Server time: Fri, 4 Jan 2019 11:51:14 +0000
  11. Installed Applications:
  12. ['django.contrib.admin',
  13. 'django.contrib.auth',
  14. 'django.contrib.contenttypes',
  15. 'django.contrib.sessions',
  16. 'django.contrib.messages',
  17. 'django.contrib.staticfiles',
  18. 'django.contrib.sites',
  19. 'pluriforserver.users',
  20. 'pluriforserver.plot',
  21. 'pluriforserver',
  22. 'allauth',
  23. 'allauth.account',
  24. 'rest_framework',
  25. 'rest_auth.registration',
  26. 'corsheaders']
  27. Installed Middleware:
  28. ['django.middleware.security.SecurityMiddleware',
  29. 'django.contrib.sessions.middleware.SessionMiddleware',
  30. 'corsheaders.middleware.CorsMiddleware',
  31. 'django.middleware.common.CommonMiddleware',
  32. 'django.middleware.csrf.CsrfViewMiddleware',
  33. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  34. 'django.contrib.messages.middleware.MessageMiddleware',
  35. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  36.  
  37.  
  38. Traceback:
  39.  
  40. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/core/handlers/exception.py" in inner
  41. 34. response = get_response(request)
  42.  
  43. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/core/handlers/base.py" in _get_response
  44. 126. response = self.process_exception_by_middleware(e, request)
  45.  
  46. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/core/handlers/base.py" in _get_response
  47. 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  48.  
  49. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/views/decorators/csrf.py" in wrapped_view
  50. 54. return view_func(*args, **kwargs)
  51.  
  52. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/viewsets.py" in view
  53. 116. return self.dispatch(request, *args, **kwargs)
  54.  
  55. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/views.py" in dispatch
  56. 495. response = self.handle_exception(exc)
  57.  
  58. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/views.py" in handle_exception
  59. 455. self.raise_uncaught_exception(exc)
  60.  
  61. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/views.py" in dispatch
  62. 492. response = handler(request, *args, **kwargs)
  63.  
  64. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/mixins.py" in update
  65. 67. instance = self.get_object()
  66.  
  67. File "/home/csmant/django/buildout/eggs/djangorestframework-3.9.0-py3.5.egg/rest_framework/generics.py" in get_object
  68. 85. queryset = self.filter_queryset(self.get_queryset())
  69.  
  70. File "/home/csmant/django/buildout/src/pluriforserver/pluriforserver/api_v1/views.py" in get_queryset
  71. 38. return LinearStructure.objects.filter(owner=self.request.user)
  72.  
  73. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/manager.py" in manager_method
  74. 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
  75.  
  76. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/query.py" in filter
  77. 844. return self._filter_or_exclude(False, *args, **kwargs)
  78.  
  79. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/query.py" in _filter_or_exclude
  80. 862. clone.query.add_q(Q(*args, **kwargs))
  81.  
  82. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/sql/query.py" in add_q
  83. 1263. clause, _ = self._add_q(q_object, self.used_aliases)
  84.  
  85. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/sql/query.py" in _add_q
  86. 1287. split_subq=split_subq,
  87.  
  88. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/sql/query.py" in build_filter
  89. 1164. lookups, parts, reffed_expression = self.solve_lookup_type(arg)
  90.  
  91. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/sql/query.py" in solve_lookup_type
  92. 1028. _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
  93.  
  94. File "/home/csmant/django/buildout/eggs/Django-2.1.3-py3.5.egg/django/db/models/sql/query.py" in names_to_path
  95. 1389. "Choices are: %s" % (name, ", ".join(available)))
  96.  
  97. Exception Type: FieldError at /api/v1/linearstructure/26/
  98. Exception Value: Cannot resolve keyword 'owner' into field. Choices are: id, length, linearstructurewidth, plot, plot_id, structuretype, superficie_del_rodal
  99. Request information:
  100. USER: kalimotxo@gmail.com
  101.  
  102. GET: No GET data
  103.  
  104. POST: No POST data
  105.  
  106. FILES: No FILES data
  107.  
  108. COOKIES: No cookie data
  109.  
  110. META:
  111. CONTENT_LENGTH = '136'
  112. CONTENT_TYPE = 'application/json'
  113. HTTP_ACCEPT = 'application/json'
  114. HTTP_ACCEPT_ENCODING = 'gzip, deflate'
  115. HTTP_AUTHORIZATION = 'JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImthbGltb3R4b0BnbWFpbC5jb20iLCJleHAiOjE1NDY2MDI5NTUsInVzZXJfaWQiOjMsInVzZXJuYW1lIjoia2FsaW1vdHhvQGdtYWlsLmNvbSJ9.Y_hNtQw58WFOJbtHqQPDvQz1beI-OvEMSU0o8vFkXPI'
  116. HTTP_CACHE_CONTROL = 'no-cache'
  117. HTTP_CONNECTION = 'close'
  118. HTTP_HOST = 'pluriforserver.korpoweb.com'
  119. HTTP_POSTMAN_TOKEN = '39de92f6-3ed6-4a62-bd08-068773ea6df4'
  120. HTTP_USER_AGENT = 'PostmanRuntime/7.4.0'
  121. HTTP_X_FORWARDED_FOR = '83.56.21.198'
  122. HTTP_X_FORWARDED_PROTOCOL = 'ssl'
  123. HTTP_X_FORWARDED_SSL = 'on'
  124. HTTP_X_REAL_IP = '83.56.21.198'
  125. PATH_INFO = '/api/v1/linearstructure/26/'
  126. QUERY_STRING = ''
  127. RAW_URI = '/api/v1/linearstructure/26/'
  128. REMOTE_ADDR = ''
  129. REQUEST_METHOD = 'PUT'
  130. SCRIPT_NAME = ''
  131. SERVER_NAME = 'pluriforserver.korpoweb.com'
  132. SERVER_PORT = '80'
  133. SERVER_PROTOCOL = 'HTTP/1.0'
  134. SERVER_SOFTWARE = 'gunicorn/19.9.0'
  135. gunicorn.socket = <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/csmant/django/buildout/gunicorn.sock>
  136. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7ffaf49fe668>
  137. wsgi.file_wrapper = ''
  138. wsgi.input = <gunicorn.http.body.Body object at 0x7ffaf49fe5c0>
  139. wsgi.multiprocess = False
  140. wsgi.multithread = False
  141. wsgi.run_once = False
  142. wsgi.url_scheme = 'http'
  143. wsgi.version = '(1, 0)'
  144.  
  145. Settings:
  146. Using settings module pluriforserver.settings
  147. ABSOLUTE_URL_OVERRIDES = {}
  148. ACCOUNT_AUTHENTICATION_METHOD = 'email'
  149. ACCOUNT_EMAIL_REQUIRED = True
  150. ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
  151. ACCOUNT_FORMS = {'signup': 'baikserver.users.forms.SignupForm'}
  152. ACCOUNT_LOGOUT_ON_GET = 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')"
  160. AUTH_PASSWORD_VALIDATORS = '********************'
  161. AUTH_USER_MODEL = 'users.User'
  162. BASE_DIR = '/home/csmant/django/buildout/src/pluriforserver'
  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. CSRF_COOKIE_AGE = 31449600
  169. CSRF_COOKIE_DOMAIN = None
  170. CSRF_COOKIE_HTTPONLY = False
  171. CSRF_COOKIE_NAME = 'csrftoken'
  172. CSRF_COOKIE_PATH = '/'
  173. CSRF_COOKIE_SAMESITE = 'Lax'
  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': {'PASSWORD': '********************', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'AUTOCOMMIT': True, 'TIME_ZONE': None, 'OPTIONS': {}, 'USER': '', 'ENGINE': 'django.db.backends.sqlite3', 'CONN_MAX_AGE': 0, 'USERNAME': None, 'ATOMIC_REQUESTS': False, 'HOST': None, 'NAME': '/home/csmant/django/buildout/src/pluriforserver/db.sqlite3', 'PORT': ''}}
  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 = 'bidalketak@korpoweb.com'
  195. DEFAULT_INDEX_TABLESPACE = ''
  196. DEFAULT_TABLESPACE = ''
  197. DISALLOWED_USER_AGENTS = []
  198. EMAIL_BACKEND = 'django.core.mail.backends.smtp.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. FILE_CHARSET = 'utf-8'
  211. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  212. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  213. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  214. FILE_UPLOAD_PERMISSIONS = None
  215. FILE_UPLOAD_TEMP_DIR = None
  216. FIRST_DAY_OF_WEEK = 0
  217. FIXTURE_DIRS = []
  218. FORCE_SCRIPT_NAME = None
  219. FORMAT_MODULE_PATH = None
  220. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  221. IGNORABLE_404_URLS = []
  222. INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'pluriforserver.users', 'pluriforserver.plot', 'pluriforserver', 'allauth', 'allauth.account', 'rest_framework', 'rest_auth.registration', 'corsheaders']
  223. INTERNAL_IPS = []
  224. JWT_ALLOW_REFRESH = True
  225. 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')]
  226. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  227. LANGUAGE_CODE = 'en-us'
  228. LANGUAGE_COOKIE_AGE = None
  229. LANGUAGE_COOKIE_DOMAIN = None
  230. LANGUAGE_COOKIE_NAME = 'django_language'
  231. LANGUAGE_COOKIE_PATH = '/'
  232. LOCALE_PATHS = []
  233. LOGGING = {}
  234. LOGGING_CONFIG = 'logging.config.dictConfig'
  235. LOGIN_REDIRECT_URL = '/accounts/profile/'
  236. LOGIN_URL = '/accounts/login/'
  237. LOGOUT_REDIRECT_URL = None
  238. MANAGERS = []
  239. MEDIA_ROOT = '/home/csmant/django/media/'
  240. MEDIA_URL = '/media/'
  241. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  242. 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']
  243. MIGRATION_MODULES = {}
  244. MONTH_DAY_FORMAT = 'F j'
  245. NUMBER_GROUPING = 0
  246. PASSWORD_HASHERS = '********************'
  247. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  248. PREPEND_WWW = False
  249. REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication')}
  250. REST_USE_JWT = True
  251. ROOT_URLCONF = 'pluriforserver.urls'
  252. SECRET_KEY = '********************'
  253. SECURE_BROWSER_XSS_FILTER = False
  254. SECURE_CONTENT_TYPE_NOSNIFF = False
  255. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  256. SECURE_HSTS_PRELOAD = False
  257. SECURE_HSTS_SECONDS = 0
  258. SECURE_PROXY_SSL_HEADER = None
  259. SECURE_REDIRECT_EXEMPT = []
  260. SECURE_SSL_HOST = None
  261. SECURE_SSL_REDIRECT = False
  262. SERVER_EMAIL = 'root@localhost'
  263. SESSION_CACHE_ALIAS = 'default'
  264. SESSION_COOKIE_AGE = 1209600
  265. SESSION_COOKIE_DOMAIN = None
  266. SESSION_COOKIE_HTTPONLY = True
  267. SESSION_COOKIE_NAME = 'sessionid'
  268. SESSION_COOKIE_PATH = '/'
  269. SESSION_COOKIE_SAMESITE = 'Lax'
  270. SESSION_COOKIE_SECURE = False
  271. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  272. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  273. SESSION_FILE_PATH = None
  274. SESSION_SAVE_EVERY_REQUEST = False
  275. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  276. SETTINGS_MODULE = 'pluriforserver.settings'
  277. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  278. SHORT_DATE_FORMAT = 'm/d/Y'
  279. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  280. SILENCED_SYSTEM_CHECKS = []
  281. SITE_ID = 1
  282. STATICFILES_DIRS = []
  283. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  284. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  285. STATIC_ROOT = '/home/csmant/django/static/'
  286. STATIC_URL = '/static/'
  287. TEMPLATES = [{'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']}, 'DIRS': [], 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True}]
  288. TEST_NON_SERIALIZED_APPS = []
  289. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  290. THOUSAND_SEPARATOR = ','
  291. TIME_FORMAT = 'P'
  292. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  293. TIME_ZONE = 'UTC'
  294. USE_I18N = True
  295. USE_L10N = True
  296. USE_THOUSAND_SEPARATOR = False
  297. USE_TZ = True
  298. USE_X_FORWARDED_HOST = False
  299. USE_X_FORWARDED_PORT = False
  300. WSGI_APPLICATION = 'pluriforserver.wsgi.application'
  301. X_FRAME_OPTIONS = 'SAMEORIGIN'
  302. YEAR_MONTH_FORMAT = 'F Y'
  303.  
  304.  
  305. You're seeing this error because you have DEBUG = True in your
  306. Django settings file. Change that to False, and Django will
  307. display a standard page generated by the handler for this status code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement