Advertisement
MrSnow

Django Ora Bug

Sep 5th, 2018
397
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DatabaseError at /admin/
  2. ORA-00918: column ambiguously defined
  3. Request Method: GET
  4. Request URL: http://localhost:8000/admin/
  5. Django Version: 2.1
  6. Exception Type: DatabaseError
  7. Exception Value:
  8. ORA-00918: column ambiguously defined
  9. Exception Location: C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\oracle\base.py in execute, line 513
  10. Python Executable: C:\Users\user\Anaconda3\python.exe
  11. Python Version: 3.5.2
  12. Python Path:
  13. ['C:\\Dev\\django1\\sehab',
  14. 'C:\\Users\\user\\Anaconda3\\python35.zip',
  15. 'C:\\Users\\user\\Anaconda3\\DLLs',
  16. 'C:\\Users\\user\\Anaconda3\\lib',
  17. 'C:\\Users\\user\\Anaconda3',
  18. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages',
  19. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages\\Sphinx-1.4.6-py3.5.egg',
  20. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages\\win32',
  21. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages\\win32\\lib',
  22. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages\\Pythonwin',
  23. 'C:\\Users\\user\\Anaconda3\\lib\\site-packages\\setuptools-27.2.0-py3.5.egg']
  24. Server time: Tue, 4 Sep 2018 16:59:14 -0300
  25. Error during template rendering
  26. In template C:\Users\user\Anaconda3\lib\site-packages\django\contrib\admin\templates\admin\base.html, error at line 0
  27.  
  28. ORA-00918: column ambiguously defined
  29. 1 {% load i18n static %}<!DOCTYPE html>
  30. 2 {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
  31. 3 <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
  32. 4 <head>
  33. 5 <title>{% block title %}{% endblock %}</title>
  34. 6 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}">
  35. 7 {% block extrastyle %}{% endblock %}
  36. 8 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %}
  37. 9 {% block extrahead %}{% endblock %}
  38. 10 {% block responsive %}
  39. Traceback Switch to copy-and-paste view
  40. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in _execute
  41. return self.cursor.execute(sql, params) ...
  42. ▶ Local vars
  43. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\oracle\base.py in execute
  44. args = [(':arg%d' % i) for i in range(len(params))]
  45. query = query % tuple(args)
  46. return query, self._format_params(params)
  47. def execute(self, query, params=None):
  48. query, params = self._fix_for_params(query, params, unify_by_values=True)
  49. self._guess_input_sizes([params])
  50. return self.cursor.execute(query, self._param_generator(params)) ...
  51. def executemany(self, query, params=None):
  52. if not params:
  53. # No params given, nothing to do
  54. return None
  55. # uniform treatment for sequences and iterables
  56. ▼ Local vars
  57. Variable Value
  58. params
  59. {':arg0': <django.db.backends.oracle.base.OracleParam object at 0x000002345AB6C4A8>}
  60. query
  61. ('SELECT "DJANGO_ADMIN_LOG"."ID", "DJANGO_ADMIN_LOG"."ACTION_TIME", '
  62. '"DJANGO_ADMIN_LOG"."USER_ID", "DJANGO_ADMIN_LOG"."CONTENT_TYPE_ID", '
  63. '"DJANGO_ADMIN_LOG"."OBJECT_ID", "DJANGO_ADMIN_LOG"."OBJECT_REPR", '
  64. '"DJANGO_ADMIN_LOG"."ACTION_FLAG", "DJANGO_ADMIN_LOG"."CHANGE_MESSAGE", '
  65. '"AUTH_USER"."ID", "AUTH_USER"."PASSWORD", "AUTH_USER"."LAST_LOGIN", '
  66. '"AUTH_USER"."IS_SUPERUSER", "AUTH_USER"."USERNAME", '
  67. '"AUTH_USER"."FIRST_NAME", "AUTH_USER"."LAST_NAME", "AUTH_USER"."EMAIL", '
  68. '"AUTH_USER"."IS_STAFF", "AUTH_USER"."IS_ACTIVE", "AUTH_USER"."DATE_JOINED", '
  69. '"DJANGO_CONTENT_TYPE"."ID", "DJANGO_CONTENT_TYPE"."APP_LABEL", '
  70. '"DJANGO_CONTENT_TYPE"."MODEL" FROM "DJANGO_ADMIN_LOG" INNER JOIN "AUTH_USER" '
  71. 'ON ("DJANGO_ADMIN_LOG"."USER_ID" = "AUTH_USER"."ID") LEFT OUTER JOIN '
  72. '"DJANGO_CONTENT_TYPE" ON ("DJANGO_ADMIN_LOG"."CONTENT_TYPE_ID" = '
  73. '"DJANGO_CONTENT_TYPE"."ID") WHERE "DJANGO_ADMIN_LOG"."USER_ID" = :arg0 ORDER '
  74. 'BY "DJANGO_ADMIN_LOG"."ACTION_TIME" DESC FETCH FIRST 10 ROWS ONLY')
  75. self
  76. <django.db.backends.oracle.base.FormatStylePlaceholderCursor object at 0x000002345AB6C748>
  77. The above exception (ORA-00918: column ambiguously defined) was the direct cause of the following exception:
  78. C:\Users\user\Anaconda3\lib\site-packages\django\core\handlers\exception.py in inner
  79. response = get_response(request) ...
  80. ▶ Local vars
  81. C:\Users\user\Anaconda3\lib\site-packages\django\core\handlers\base.py in _get_response
  82. response = self.process_exception_by_middleware(e, request) ...
  83. ▶ Local vars
  84. C:\Users\user\Anaconda3\lib\site-packages\django\core\handlers\base.py in _get_response
  85. response = response.render() ...
  86. ▶ Local vars
  87. C:\Users\user\Anaconda3\lib\site-packages\django\template\response.py in render
  88. self.content = self.rendered_content ...
  89. ▶ Local vars
  90. C:\Users\user\Anaconda3\lib\site-packages\django\template\response.py in rendered_content
  91. content = template.render(context, self._request) ...
  92. ▶ Local vars
  93. C:\Users\user\Anaconda3\lib\site-packages\django\template\backends\django.py in render
  94. return self.template.render(context) ...
  95. ▶ Local vars
  96. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  97. return self._render(context) ...
  98. ▶ Local vars
  99. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in _render
  100. return self.nodelist.render(context) ...
  101. ▶ Local vars
  102. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  103. bit = node.render_annotated(context) ...
  104. ▶ Local vars
  105. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render_annotated
  106. return self.render(context) ...
  107. ▶ Local vars
  108. C:\Users\user\Anaconda3\lib\site-packages\django\template\loader_tags.py in render
  109. return compiled_parent._render(context) ...
  110. ▶ Local vars
  111. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in _render
  112. return self.nodelist.render(context) ...
  113. ▶ Local vars
  114. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  115. bit = node.render_annotated(context) ...
  116. ▶ Local vars
  117. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render_annotated
  118. return self.render(context) ...
  119. ▶ Local vars
  120. C:\Users\user\Anaconda3\lib\site-packages\django\template\loader_tags.py in render
  121. return compiled_parent._render(context) ...
  122. ▶ Local vars
  123. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in _render
  124. return self.nodelist.render(context) ...
  125. ▶ Local vars
  126. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  127. bit = node.render_annotated(context) ...
  128. ▶ Local vars
  129. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render_annotated
  130. return self.render(context) ...
  131. ▶ Local vars
  132. C:\Users\user\Anaconda3\lib\site-packages\django\template\loader_tags.py in render
  133. result = block.nodelist.render(context) ...
  134. ▶ Local vars
  135. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  136. bit = node.render_annotated(context) ...
  137. ▶ Local vars
  138. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render_annotated
  139. return self.render(context) ...
  140. ▶ Local vars
  141. C:\Users\user\Anaconda3\lib\site-packages\django\template\defaulttags.py in render
  142. return nodelist.render(context) ...
  143. ▶ Local vars
  144. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render
  145. bit = node.render_annotated(context) ...
  146. ▶ Local vars
  147. C:\Users\user\Anaconda3\lib\site-packages\django\template\base.py in render_annotated
  148. return self.render(context) ...
  149. ▶ Local vars
  150. C:\Users\user\Anaconda3\lib\site-packages\django\template\defaulttags.py in render
  151. len_values = len(values) ...
  152. ▶ Local vars
  153. C:\Users\user\Anaconda3\lib\site-packages\django\db\models\query.py in __len__
  154. self._fetch_all() ...
  155. ▶ Local vars
  156. C:\Users\user\Anaconda3\lib\site-packages\django\db\models\query.py in _fetch_all
  157. self._result_cache = list(self._iterable_class(self)) ...
  158. ▶ Local vars
  159. C:\Users\user\Anaconda3\lib\site-packages\django\db\models\query.py in __iter__
  160. results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) ...
  161. ▶ Local vars
  162. C:\Users\user\Anaconda3\lib\site-packages\django\db\models\sql\compiler.py in execute_sql
  163. cursor.execute(sql, params) ...
  164. ▶ Local vars
  165. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in execute
  166. return super().execute(sql, params) ...
  167. ▶ Local vars
  168. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in execute
  169. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) ...
  170. ▶ Local vars
  171. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in _execute_with_wrappers
  172. return executor(sql, params, many, context) ...
  173. ▶ Local vars
  174. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in _execute
  175. return self.cursor.execute(sql, params) ...
  176. ▶ Local vars
  177. C:\Users\user\Anaconda3\lib\site-packages\django\db\utils.py in __exit__
  178. raise dj_exc_value.with_traceback(traceback) from exc_value ...
  179. ▶ Local vars
  180. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\utils.py in _execute
  181. return self.cursor.execute(sql, params) ...
  182. ▶ Local vars
  183. C:\Users\user\Anaconda3\lib\site-packages\django\db\backends\oracle\base.py in execute
  184. return self.cursor.execute(query, self._param_generator(params)) ...
  185. ▶ Local vars
  186. Request information
  187. USER
  188. admin
  189.  
  190. GET
  191. No GET data
  192.  
  193. POST
  194. No POST data
  195.  
  196. FILES
  197. No FILES data
  198.  
  199. COOKIES
  200. Variable Value
  201. Idea-df330df2
  202. '7ab025d8-d1e8-448e-b6e2-3b49816d9fcd'
  203. sessionid
  204. '52t2c46ucpz6g2gfsqc2zuizlbirm0qc'
  205. csrftoken
  206. 't0rMBDozUG32UnQdOSwN342ur4vJoonIy4bzeZifG0QGT70YtSVlSGmIuG6j4G35'
  207. _ga
  208. 'GA1.1.1852192614.1528383908'
  209. META
  210. Variable Value
  211. ALLUSERSPROFILE
  212. 'C:\\ProgramData'
  213. APPDATA
  214. 'C:\\Users\\user\\AppData\\Roaming'
  215. COMMONPROGRAMFILES
  216. 'C:\\Program Files\\Common Files'
  217. COMMONPROGRAMFILES(X86)
  218. 'C:\\Program Files (x86)\\Common Files'
  219. COMMONPROGRAMW6432
  220. 'C:\\Program Files\\Common Files'
  221. COMPUTERNAME
  222. 'DESKTOP-HOFOK7R'
  223. COMSPEC
  224. 'C:\\WINDOWS\\system32\\cmd.exe'
  225. CONTENT_LENGTH
  226. ''
  227. CONTENT_TYPE
  228. 'text/plain'
  229. CSRF_COOKIE
  230. 't0rMBDozUG32UnQdOSwN342ur4vJoonIy4bzeZifG0QGT70YtSVlSGmIuG6j4G35'
  231. DJANGO_SETTINGS_MODULE
  232. 'sehab.settings'
  233. DRIVERDATA
  234. 'C:\\Windows\\System32\\Drivers\\DriverData'
  235. FPS_BROWSER_APP_PROFILE_STRING
  236. 'Internet Explorer'
  237. FPS_BROWSER_USER_PROFILE_STRING
  238. 'Default'
  239. GATEWAY_INTERFACE
  240. 'CGI/1.1'
  241. HOMEDRIVE
  242. 'C:'
  243. HOMEPATH
  244. '\\Users\\user'
  245. HTTP_ACCEPT
  246. 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
  247. HTTP_ACCEPT_ENCODING
  248. 'gzip, deflate, br'
  249. HTTP_ACCEPT_LANGUAGE
  250. 'pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7,es-419;q=0.6,es;q=0.5'
  251. HTTP_CONNECTION
  252. 'keep-alive'
  253. HTTP_COOKIE
  254. ('Idea-df330df2=7ab025d8-d1e8-448e-b6e2-3b49816d9fcd; '
  255. '_ga=GA1.1.1852192614.1528383908; sessionid=52t2c46ucpz6g2gfsqc2zuizlbirm0qc; '
  256. 'csrftoken=t0rMBDozUG32UnQdOSwN342ur4vJoonIy4bzeZifG0QGT70YtSVlSGmIuG6j4G35')
  257. HTTP_HOST
  258. 'localhost:8000'
  259. HTTP_UPGRADE_INSECURE_REQUESTS
  260. '1'
  261. HTTP_USER_AGENT
  262. ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
  263. 'Gecko) Chrome/68.0.3440.106 Safari/537.36')
  264. LOCALAPPDATA
  265. 'C:\\Users\\user\\AppData\\Local'
  266. LOGONSERVER
  267. '\\\\DESKTOP-HOFOK7R'
  268. NLS_LANG
  269. '.AL32UTF8'
  270. NUMBER_OF_PROCESSORS
  271. '4'
  272. ONEDRIVE
  273. 'C:\\Users\\user\\OneDrive'
  274. ORA_NCHAR_LITERAL_REPLACE
  275. 'TRUE'
  276. OS
  277. 'Windows_NT'
  278. PATH
  279. ('C:\\Users\\user\\Anaconda3\\Library\\bin;C:\\Users\\user\\Anaconda3\\Library\\bin;C:\\oracle\\instantclient_18_3;C:\\Program '
  280. 'Files (x86)\\Common '
  281. 'Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program '
  282. 'Files (x86)\\Skype\\Phone\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program '
  283. 'Files\\PuTTY\\;C:\\Users\\user\\Anaconda3;C:\\Users\\user\\Anaconda3\\Scripts;C:\\Users\\user\\Anaconda3\\Library\\bin;C:\\Users\\user\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\user\\Anaconda3\\lib\\site-packages\\pypiwin32_system32;C:\\Users\\user\\Anaconda3\\lib\\site-packages\\pypiwin32_system32')
  284. PATHEXT
  285. '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
  286. PATH_INFO
  287. '/admin/'
  288. PROCESSOR_ARCHITECTURE
  289. 'AMD64'
  290. PROCESSOR_IDENTIFIER
  291. 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel'
  292. PROCESSOR_LEVEL
  293. '6'
  294. PROCESSOR_REVISION
  295. '3a09'
  296. PROGRAMDATA
  297. 'C:\\ProgramData'
  298. PROGRAMFILES
  299. 'C:\\Program Files'
  300. PROGRAMFILES(X86)
  301. 'C:\\Program Files (x86)'
  302. PROGRAMW6432
  303. 'C:\\Program Files'
  304. PROMPT
  305. '$P$G'
  306. PSMODULEPATH
  307. ('C:\\Program '
  308. 'Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules')
  309. PUBLIC
  310. 'C:\\Users\\Public'
  311. QUERY_STRING
  312. ''
  313. REMOTE_ADDR
  314. '127.0.0.1'
  315. REMOTE_HOST
  316. ''
  317. REQUEST_METHOD
  318. 'GET'
  319. RUN_MAIN
  320. 'true'
  321. SCRIPT_NAME
  322. ''
  323. SERVER_NAME
  324. 'DESKTOP-HOFOK7R'
  325. SERVER_PORT
  326. '8000'
  327. SERVER_PROTOCOL
  328. 'HTTP/1.1'
  329. SERVER_SOFTWARE
  330. 'WSGIServer/0.2'
  331. SESSIONNAME
  332. 'Console'
  333. SYSTEMDRIVE
  334. 'C:'
  335. SYSTEMROOT
  336. 'C:\\WINDOWS'
  337. TEMP
  338. 'C:\\Users\\user\\AppData\\Local\\Temp'
  339. TMP
  340. 'C:\\Users\\user\\AppData\\Local\\Temp'
  341. USERDOMAIN
  342. 'DESKTOP-HOFOK7R'
  343. USERDOMAIN_ROAMINGPROFILE
  344. 'DESKTOP-HOFOK7R'
  345. USERNAME
  346. 'user'
  347. USERPROFILE
  348. 'C:\\Users\\user'
  349. VBOX_MSI_INSTALL_PATH
  350. 'C:\\Program Files\\Oracle\\VirtualBox\\'
  351. WINDIR
  352. 'C:\\WINDOWS'
  353. wsgi.errors
  354. <_io.TextIOWrapper name='<stderr>' mode='w' encoding='cp850'>
  355. wsgi.file_wrapper
  356. ''
  357. wsgi.input
  358. <_io.BufferedReader name=1844>
  359. wsgi.multiprocess
  360. False
  361. wsgi.multithread
  362. True
  363. wsgi.run_once
  364. False
  365. wsgi.url_scheme
  366. 'http'
  367. wsgi.version
  368. (1, 0)
  369. Settings
  370. Using settings module sehab.settings
  371. Setting Value
  372. ABSOLUTE_URL_OVERRIDES
  373. {}
  374. ADMINS
  375. []
  376. ALLOWED_HOSTS
  377. []
  378. APPEND_SLASH
  379. True
  380. AUTHENTICATION_BACKENDS
  381. ['django.contrib.auth.backends.ModelBackend']
  382. AUTH_PASSWORD_VALIDATORS
  383. '********************'
  384. AUTH_USER_MODEL
  385. 'auth.User'
  386. BASE_DIR
  387. 'C:\\Dev\\django1\\sehab'
  388. CACHES
  389. {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
  390. CACHE_MIDDLEWARE_ALIAS
  391. 'default'
  392. CACHE_MIDDLEWARE_KEY_PREFIX
  393. '********************'
  394. CACHE_MIDDLEWARE_SECONDS
  395. 600
  396. CSRF_COOKIE_AGE
  397. 31449600
  398. CSRF_COOKIE_DOMAIN
  399. None
  400. CSRF_COOKIE_HTTPONLY
  401. False
  402. CSRF_COOKIE_NAME
  403. 'csrftoken'
  404. CSRF_COOKIE_PATH
  405. '/'
  406. CSRF_COOKIE_SAMESITE
  407. 'Lax'
  408. CSRF_COOKIE_SECURE
  409. False
  410. CSRF_FAILURE_VIEW
  411. 'django.views.csrf.csrf_failure'
  412. CSRF_HEADER_NAME
  413. 'HTTP_X_CSRFTOKEN'
  414. CSRF_TRUSTED_ORIGINS
  415. []
  416. CSRF_USE_SESSIONS
  417. False
  418. DATABASES
  419. {'default': {'ATOMIC_REQUESTS': False,
  420. 'AUTOCOMMIT': True,
  421. 'CONN_MAX_AGE': 0,
  422. 'ENGINE': 'django.db.backends.oracle',
  423. 'HOST': 'localhost',
  424. 'NAME': 'rac-dhpp-scan:1521/DEVGEO_SVC',
  425. 'OPTIONS': {},
  426. 'PASSWORD': '********************',
  427. 'PORT': '',
  428. 'TEST': {'CHARSET': None,
  429. 'COLLATION': None,
  430. 'MIRROR': None,
  431. 'NAME': None},
  432. 'TIME_ZONE': None,
  433. 'USER': 'SIHISB'}}
  434. DATABASE_ROUTERS
  435. []
  436. DATA_UPLOAD_MAX_MEMORY_SIZE
  437. 2621440
  438. DATA_UPLOAD_MAX_NUMBER_FIELDS
  439. 1000
  440. DATETIME_FORMAT
  441. 'N j, Y, P'
  442. DATETIME_INPUT_FORMATS
  443. ['%Y-%m-%d %H:%M:%S',
  444. '%Y-%m-%d %H:%M:%S.%f',
  445. '%Y-%m-%d %H:%M',
  446. '%Y-%m-%d',
  447. '%m/%d/%Y %H:%M:%S',
  448. '%m/%d/%Y %H:%M:%S.%f',
  449. '%m/%d/%Y %H:%M',
  450. '%m/%d/%Y',
  451. '%m/%d/%y %H:%M:%S',
  452. '%m/%d/%y %H:%M:%S.%f',
  453. '%m/%d/%y %H:%M',
  454. '%m/%d/%y']
  455. DATE_FORMAT
  456. 'N j, Y'
  457. DATE_INPUT_FORMATS
  458. ['%Y-%m-%d',
  459. '%m/%d/%Y',
  460. '%m/%d/%y',
  461. '%b %d %Y',
  462. '%b %d, %Y',
  463. '%d %b %Y',
  464. '%d %b, %Y',
  465. '%B %d %Y',
  466. '%B %d, %Y',
  467. '%d %B %Y',
  468. '%d %B, %Y']
  469. DEBUG
  470. True
  471. DEBUG_PROPAGATE_EXCEPTIONS
  472. False
  473. DECIMAL_SEPARATOR
  474. '.'
  475. DEFAULT_CHARSET
  476. 'utf-8'
  477. DEFAULT_CONTENT_TYPE
  478. 'text/html'
  479. DEFAULT_EXCEPTION_REPORTER_FILTER
  480. 'django.views.debug.SafeExceptionReporterFilter'
  481. DEFAULT_FILE_STORAGE
  482. 'django.core.files.storage.FileSystemStorage'
  483. DEFAULT_FROM_EMAIL
  484. 'webmaster@localhost'
  485. DEFAULT_INDEX_TABLESPACE
  486. ''
  487. DEFAULT_TABLESPACE
  488. ''
  489. DISALLOWED_USER_AGENTS
  490. []
  491. EMAIL_BACKEND
  492. 'django.core.mail.backends.smtp.EmailBackend'
  493. EMAIL_HOST
  494. 'localhost'
  495. EMAIL_HOST_PASSWORD
  496. '********************'
  497. EMAIL_HOST_USER
  498. ''
  499. EMAIL_PORT
  500. 25
  501. EMAIL_SSL_CERTFILE
  502. None
  503. EMAIL_SSL_KEYFILE
  504. '********************'
  505. EMAIL_SUBJECT_PREFIX
  506. '[Django] '
  507. EMAIL_TIMEOUT
  508. None
  509. EMAIL_USE_LOCALTIME
  510. False
  511. EMAIL_USE_SSL
  512. False
  513. EMAIL_USE_TLS
  514. False
  515. FILE_CHARSET
  516. 'utf-8'
  517. FILE_UPLOAD_DIRECTORY_PERMISSIONS
  518. None
  519. FILE_UPLOAD_HANDLERS
  520. ['django.core.files.uploadhandler.MemoryFileUploadHandler',
  521. 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  522. FILE_UPLOAD_MAX_MEMORY_SIZE
  523. 2621440
  524. FILE_UPLOAD_PERMISSIONS
  525. None
  526. FILE_UPLOAD_TEMP_DIR
  527. None
  528. FIRST_DAY_OF_WEEK
  529. 0
  530. FIXTURE_DIRS
  531. []
  532. FORCE_SCRIPT_NAME
  533. None
  534. FORMAT_MODULE_PATH
  535. None
  536. FORM_RENDERER
  537. 'django.forms.renderers.DjangoTemplates'
  538. IGNORABLE_404_URLS
  539. []
  540. INSTALLED_APPS
  541. ['sihisb.apps.SihisbConfig',
  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. INTERNAL_IPS
  549. []
  550. LANGUAGES
  551. [('af', 'Afrikaans'),
  552. ('ar', 'Arabic'),
  553. ('ast', 'Asturian'),
  554. ('az', 'Azerbaijani'),
  555. ('bg', 'Bulgarian'),
  556. ('be', 'Belarusian'),
  557. ('bn', 'Bengali'),
  558. ('br', 'Breton'),
  559. ('bs', 'Bosnian'),
  560. ('ca', 'Catalan'),
  561. ('cs', 'Czech'),
  562. ('cy', 'Welsh'),
  563. ('da', 'Danish'),
  564. ('de', 'German'),
  565. ('dsb', 'Lower Sorbian'),
  566. ('el', 'Greek'),
  567. ('en', 'English'),
  568. ('en-au', 'Australian English'),
  569. ('en-gb', 'British English'),
  570. ('eo', 'Esperanto'),
  571. ('es', 'Spanish'),
  572. ('es-ar', 'Argentinian Spanish'),
  573. ('es-co', 'Colombian Spanish'),
  574. ('es-mx', 'Mexican Spanish'),
  575. ('es-ni', 'Nicaraguan Spanish'),
  576. ('es-ve', 'Venezuelan Spanish'),
  577. ('et', 'Estonian'),
  578. ('eu', 'Basque'),
  579. ('fa', 'Persian'),
  580. ('fi', 'Finnish'),
  581. ('fr', 'French'),
  582. ('fy', 'Frisian'),
  583. ('ga', 'Irish'),
  584. ('gd', 'Scottish Gaelic'),
  585. ('gl', 'Galician'),
  586. ('he', 'Hebrew'),
  587. ('hi', 'Hindi'),
  588. ('hr', 'Croatian'),
  589. ('hsb', 'Upper Sorbian'),
  590. ('hu', 'Hungarian'),
  591. ('ia', 'Interlingua'),
  592. ('id', 'Indonesian'),
  593. ('io', 'Ido'),
  594. ('is', 'Icelandic'),
  595. ('it', 'Italian'),
  596. ('ja', 'Japanese'),
  597. ('ka', 'Georgian'),
  598. ('kab', 'Kabyle'),
  599. ('kk', 'Kazakh'),
  600. ('km', 'Khmer'),
  601. ('kn', 'Kannada'),
  602. ('ko', 'Korean'),
  603. ('lb', 'Luxembourgish'),
  604. ('lt', 'Lithuanian'),
  605. ('lv', 'Latvian'),
  606. ('mk', 'Macedonian'),
  607. ('ml', 'Malayalam'),
  608. ('mn', 'Mongolian'),
  609. ('mr', 'Marathi'),
  610. ('my', 'Burmese'),
  611. ('nb', 'Norwegian Bokmål'),
  612. ('ne', 'Nepali'),
  613. ('nl', 'Dutch'),
  614. ('nn', 'Norwegian Nynorsk'),
  615. ('os', 'Ossetic'),
  616. ('pa', 'Punjabi'),
  617. ('pl', 'Polish'),
  618. ('pt', 'Portuguese'),
  619. ('pt-br', 'Brazilian Portuguese'),
  620. ('ro', 'Romanian'),
  621. ('ru', 'Russian'),
  622. ('sk', 'Slovak'),
  623. ('sl', 'Slovenian'),
  624. ('sq', 'Albanian'),
  625. ('sr', 'Serbian'),
  626. ('sr-latn', 'Serbian Latin'),
  627. ('sv', 'Swedish'),
  628. ('sw', 'Swahili'),
  629. ('ta', 'Tamil'),
  630. ('te', 'Telugu'),
  631. ('th', 'Thai'),
  632. ('tr', 'Turkish'),
  633. ('tt', 'Tatar'),
  634. ('udm', 'Udmurt'),
  635. ('uk', 'Ukrainian'),
  636. ('ur', 'Urdu'),
  637. ('vi', 'Vietnamese'),
  638. ('zh-hans', 'Simplified Chinese'),
  639. ('zh-hant', 'Traditional Chinese')]
  640. LANGUAGES_BIDI
  641. ['he', 'ar', 'fa', 'ur']
  642. LANGUAGE_CODE
  643. 'en-us'
  644. LANGUAGE_COOKIE_AGE
  645. None
  646. LANGUAGE_COOKIE_DOMAIN
  647. None
  648. LANGUAGE_COOKIE_NAME
  649. 'django_language'
  650. LANGUAGE_COOKIE_PATH
  651. '/'
  652. LOCALE_PATHS
  653. []
  654. LOGGING
  655. {}
  656. LOGGING_CONFIG
  657. 'logging.config.dictConfig'
  658. LOGIN_REDIRECT_URL
  659. '/accounts/profile/'
  660. LOGIN_URL
  661. '/accounts/login/'
  662. LOGOUT_REDIRECT_URL
  663. None
  664. MANAGERS
  665. []
  666. MEDIA_ROOT
  667. ''
  668. MEDIA_URL
  669. ''
  670. MESSAGE_STORAGE
  671. 'django.contrib.messages.storage.fallback.FallbackStorage'
  672. MIDDLEWARE
  673. ['django.middleware.security.SecurityMiddleware',
  674. 'django.contrib.sessions.middleware.SessionMiddleware',
  675. 'django.middleware.common.CommonMiddleware',
  676. 'django.middleware.csrf.CsrfViewMiddleware',
  677. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  678. 'django.contrib.messages.middleware.MessageMiddleware',
  679. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  680. MIGRATION_MODULES
  681. {}
  682. MONTH_DAY_FORMAT
  683. 'F j'
  684. NUMBER_GROUPING
  685. 0
  686. PASSWORD_HASHERS
  687. '********************'
  688. PASSWORD_RESET_TIMEOUT_DAYS
  689. '********************'
  690. PREPEND_WWW
  691. False
  692. ROOT_URLCONF
  693. 'sehab.urls'
  694. SECRET_KEY
  695. '********************'
  696. SECURE_BROWSER_XSS_FILTER
  697. False
  698. SECURE_CONTENT_TYPE_NOSNIFF
  699. False
  700. SECURE_HSTS_INCLUDE_SUBDOMAINS
  701. False
  702. SECURE_HSTS_PRELOAD
  703. False
  704. SECURE_HSTS_SECONDS
  705. 0
  706. SECURE_PROXY_SSL_HEADER
  707. None
  708. SECURE_REDIRECT_EXEMPT
  709. []
  710. SECURE_SSL_HOST
  711. None
  712. SECURE_SSL_REDIRECT
  713. False
  714. SERVER_EMAIL
  715. 'root@localhost'
  716. SESSION_CACHE_ALIAS
  717. 'default'
  718. SESSION_COOKIE_AGE
  719. 1209600
  720. SESSION_COOKIE_DOMAIN
  721. None
  722. SESSION_COOKIE_HTTPONLY
  723. True
  724. SESSION_COOKIE_NAME
  725. 'sessionid'
  726. SESSION_COOKIE_PATH
  727. '/'
  728. SESSION_COOKIE_SAMESITE
  729. 'Lax'
  730. SESSION_COOKIE_SECURE
  731. False
  732. SESSION_ENGINE
  733. 'django.contrib.sessions.backends.db'
  734. SESSION_EXPIRE_AT_BROWSER_CLOSE
  735. False
  736. SESSION_FILE_PATH
  737. None
  738. SESSION_SAVE_EVERY_REQUEST
  739. False
  740. SESSION_SERIALIZER
  741. 'django.contrib.sessions.serializers.JSONSerializer'
  742. SETTINGS_MODULE
  743. 'sehab.settings'
  744. SHORT_DATETIME_FORMAT
  745. 'm/d/Y P'
  746. SHORT_DATE_FORMAT
  747. 'm/d/Y'
  748. SIGNING_BACKEND
  749. 'django.core.signing.TimestampSigner'
  750. SILENCED_SYSTEM_CHECKS
  751. []
  752. STATICFILES_DIRS
  753. []
  754. STATICFILES_FINDERS
  755. ['django.contrib.staticfiles.finders.FileSystemFinder',
  756. 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  757. STATICFILES_STORAGE
  758. 'django.contrib.staticfiles.storage.StaticFilesStorage'
  759. STATIC_ROOT
  760. None
  761. STATIC_URL
  762. '/static/'
  763. TEMPLATES
  764. [{'APP_DIRS': True,
  765. 'BACKEND': 'django.template.backends.django.DjangoTemplates',
  766. 'DIRS': [],
  767. 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
  768. 'django.template.context_processors.request',
  769. 'django.contrib.auth.context_processors.auth',
  770. 'django.contrib.messages.context_processors.messages']}}]
  771. TEST_NON_SERIALIZED_APPS
  772. []
  773. TEST_RUNNER
  774. 'django.test.runner.DiscoverRunner'
  775. THOUSAND_SEPARATOR
  776. ','
  777. TIME_FORMAT
  778. 'P'
  779. TIME_INPUT_FORMATS
  780. ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  781. TIME_ZONE
  782. 'America/Sao_Paulo'
  783. USE_I18N
  784. True
  785. USE_L10N
  786. True
  787. USE_THOUSAND_SEPARATOR
  788. False
  789. USE_TZ
  790. True
  791. USE_X_FORWARDED_HOST
  792. False
  793. USE_X_FORWARDED_PORT
  794. False
  795. WSGI_APPLICATION
  796. 'sehab.wsgi.application'
  797. X_FRAME_OPTIONS
  798. 'SAMEORIGIN'
  799. YEAR_MONTH_FORMAT
  800. 'F Y'
  801. 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.
Advertisement
RAW Paste Data Copied
Advertisement