'ManyToOneRel' object has no attribute 'verbose_name'
Request Method: | GET |
---|---|
Request URL: | http://qa.nawroz.edu.krd/qa/cad-report/88/7/ |
Django Version: | 1.10.6 |
Exception Type: | AttributeError |
Exception Value: | 'ManyToOneRel' object has no attribute 'verbose_name' |
Exception Location: | /home/nz/envqa/qa/qapp/views/cad.py in cad_report_function, line 302 |
Python Executable: | /home/nz/envqa/bin/python3.5 |
Python Version: | 3.5.2 |
Python Path: | ['/home/nz/envqa/qa/lib/python3.5/site-packages', '/home/nz/envqa/qa', '/home/nz/envqa', '/home/nz/envqa/bin', '/home/nz/envqa/lib/python35.zip', '/home/nz/envqa/lib/python3.5', '/home/nz/envqa/lib/python3.5/plat-linux', '/home/nz/envqa/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/home/nz/envqa/lib/python3.5/site-packages', '/home/nz/envqa/qa/', '/home/nz/env/qa/qa', '/home/nz/env/web', '/home/nz/env/lib/python3.5/site-packages/wagtail', '/home/nz/env/web', '/home/nz/env/lib/python3.5/site-packages/wagtail', '/home/nz/env/lib/python3.5/site-packages/wagtail/wagtailcore'] |
Server time: | خميس, 28 مارس 2024 22:46:56 +0000 |
/home/nz/envqa/lib/python3.5/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | AttributeError("'ManyToOneRel' object has no attribute 'verbose_name'",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fc74cb7a5c0>> |
request | <WSGIRequest: GET '/qa/cad-report/88/7/'> |
/home/nz/envqa/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function cad_report_year at 0x7fc739c6cea0> |
callback_args | () |
callback_kwargs | {'id': '88', 'year': '7'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc73bfb4e80>> |
request | <WSGIRequest: GET '/qa/cad-report/88/7/'> |
resolver | <RegexURLResolver 'qa.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=qapp.views.cad.cad_report_year, args=(), kwargs={'id': '88', 'year': '7'}, url_name=cad-report-year, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc74cb7a5c0> |
wrapped_callback | <function cad_report_year at 0x7fc739c6cea0> |
/home/nz/envqa/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function cad_report_year at 0x7fc739c6cea0> |
callback_args | () |
callback_kwargs | {'id': '88', 'year': '7'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc73bfb4e80>> |
request | <WSGIRequest: GET '/qa/cad-report/88/7/'> |
resolver | <RegexURLResolver 'qa.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=qapp.views.cad.cad_report_year, args=(), kwargs={'id': '88', 'year': '7'}, url_name=cad-report-year, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc74cb7a5c0> |
wrapped_callback | <function cad_report_year at 0x7fc739c6cea0> |
/home/nz/envqa/qa/qapp/views/cad.py
in cad_report_year
lang = get_language()
current_year = AcademicYear.objects.get(pk=year)
member = AcademicMember.objects.get(pk=id)
cad = CAD.objects.get(year=current_year.id)
cad_score = CADScore.objects.filter(cad=cad).order_by('item')
if id:
result += cad_report_function(request, member, cad, cad_score, current_year, True, True, lang, True, True, True, True)['result']...
context = RequestContext(request)
template = 'qapp/feedback/report_template.html'
header_template = 'qapp/feedback/base_report_header.html'
footer_template = 'qapp/feedback/base_report_footer.html'
Variable | Value |
---|---|
PRINT_OPTIONS | {'images': True, 'orientation': 'Portrait', 'page-size': 'A4', 'print-media-type': True} |
cad | <CAD: 2021 - 2022> |
cad_score | <QuerySet [<CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, '...(remaining elements truncated)...']> |
current_year | <AcademicYear: 2021 - 2022> |
id | '88' |
lang | 'ar' |
member | <AcademicMember: دلشاد عبدالرحمن يوسف> |
request | <WSGIRequest: GET '/qa/cad-report/88/7/'> |
result | '' |
year | '7' |
/home/nz/envqa/qa/qapp/views/cad.py
in cad_report_function
# the head of table
details_result += '<table>'
details_result += '<thead>'
details_result += '<tr>'
for field in fields:
if field.name not in exclude_list:
details_result += '<th style="font-weight: bold;">'
details_result += str(_(field.verbose_name))...
details_result += '</th>'
details_result += '</tr>'
details_result += '</thead>'
details_result += '<tbody>'
# start looping the items
for item in items:
Variable | Value |
---|---|
align | 'right' |
cad | <CAD: 2021 - 2022> |
cad_score | <QuerySet [<CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, <CADScore: CADScore object>, '...(remaining elements truncated)...']> |
cads | <CADScore: CADScore object> |
cover | True |
current_year | <AcademicYear: 2021 - 2022> |
det | 'تفاصيل الـ CAD' |
details | True |
details_result | ('<h3 style="text-align: center">تفاصيل الـ CAD</h3><h4>حضور حلقات ' 'نقاشية</h4><table class="cleartable"><tr><td style="font-weight: bold; ' 'text-align: right;">لكل فقرة: 1</td><td style="font-weight: bold; ' 'text-align: center;">العدد: 15</td><td style="font-weight: bold; text-align: ' 'left;">الدرجة: 15</td></tr></table><table><thead><tr><th style="font-weight: ' 'bold;">الاسم او العنوان</th><th style="font-weight: bold;">المحاضر</th><th ' 'style="font-weight: bold;">الموقع</th><th style="font-weight: ' 'bold;">التاريخ</th></tr></thead><tbody><tr><td style="text-align: ' 'center;">الاغفال التشريعي و سبل معالجته</td><td style="text-align: ' 'center;">شيرزاد حميد حسن</td><td style="text-align: center;">كللية ' 'القانون</td><td style="text-align: center;">2021-11-29</td></tr><tr><td ' 'style="text-align: center;">روية شرعية قانونية حول الانتحار و سبل الوقاية ' 'منه</td><td style="text-align: center;">اسماعيل ابابكر علي</td><td ' 'style="text-align: center;">كللية القانون</td><td style="text-align: ' 'center;">2021-10-26</td></tr><tr><td style="text-align: center;">مشروعية عمل ' 'مجلس الامن الدولي تجاه الكيانات غير الدولية و الافراد</td><td ' 'style="text-align: center;">ماندان سعدالدين</td><td style="text-align: ' 'center;">کللیة لقانون</td><td style="text-align: ' 'center;">2021-12-07</td></tr><tr><td style="text-align: center;">دور رقابة ' 'القاضي الاداري في حماية حقوق الانسان</td><td style="text-align: ' 'center;">فارس علي - زيرك مجيد</td><td style="text-align: center;">کللیة ' 'القانون</td><td style="text-align: center;">2022-02-05</td></tr><tr><td ' 'style="text-align: center;">التفسير المتطور لعقود التجارة الدولية في ضوء ' 'مبادئ اليونيدروا</td><td style="text-align: center;">د.عبدالله فاضل ' 'حامد</td><td style="text-align: center;">قاعە کردستان</td><td ' 'style="text-align: center;">2021-11-13</td></tr><tr><td style="text-align: ' 'center;">تعديلات برلمان اقليم كوردستان علي قانون الاحوال الشخصية</td><td ' 'style="text-align: center;">د.مصطفى محمد امين</td><td style="text-align: ' 'center;">قاعە کردستان</td><td style="text-align: ' 'center;">2021-11-06</td></tr><tr><td style="text-align: ' 'center;">پەیوەندیکردنی سیاسی ارێی بازارکردنی سیاسی لە هەرێمی ' 'کوردستان</td><td style="text-align: center;">د.محمد علی یاسین</td><td ' 'style="text-align: center;">قاعە کردستان</td><td style="text-align: ' 'center;">2021-11-20</td></tr><tr><td style="text-align: center;">الدولە ' 'الفاشلە والیات تفعیل قدراتها -تنظير وظيفي</td><td style="text-align: ' 'center;">د.نسرين علي عرب</td><td style="text-align: center;">قاعە ' 'کردستان</td><td style="text-align: center;">2021-10-17</td></tr><tr><td ' 'style="text-align: center;">المسؤولية الجنائية الدبلوماسيين عن الجرائم ' 'الدولية</td><td style="text-align: center;">د.محمد حسن خمو و هيرش فاضل ' 'شاكر</td><td style="text-align: center;">قاعە کردستان</td><td ' 'style="text-align: center;">2021-10-31</td></tr><tr><td style="text-align: ' 'center;">political trust in times of pandemic: a survey on the impact of ' 'covid-19 on the stuation</td><td style="text-align: center;">محمد علی ' 'یاسین</td><td style="text-align: center;">کللیة القانون</td><td ' 'style="text-align: center;">2022-02-20</td></tr><tr><td style="text-align: ' 'center;">kordistan parliament formation of a de jure institution in a ' 'defacto state</td><td style="text-align: center;">محمد علی یاسین</td><td ' 'style="text-align: center;">کللیة القانون</td><td style="text-align: ' 'center;">2022-02-20</td></tr><tr><td style="text-align: center;">political ' 'trust and social cohesion at time of crises the impact of covid-19 on ' 'kurdistan</td><td style="text-align: center;">محمد علی یاسین</td><td ' 'style="text-align: center;">کللیة القانون</td><td style="text-align: ' 'center;">2022-02-20</td></tr><tr><td style="text-align: center;">بارودوخێ ' 'سیاسی یێ عیراقێ پشتی هەلبژارتنێن 2021</td><td style="text-align: ' 'center;">خسرو گوران</td><td style="text-align: center;">کللیة ' 'القانون</td><td style="text-align: center;">2022-02-13</td></tr><tr><td ' 'style="text-align... <trimmed 4959 bytes string> |
end | True |
exclude_list | ['id', 'cad', 'member', 'approved', 'workshopattachment', 'seminarattendanceattachment', 'seminarpresentationattachment', 'conferenceattendanceattachment', 'patentattachment', 'bookattachment', 'acceptedresearchattachment', 'bachelorattachment', 'committeeattachment', 'postattachment', 'thnxattachment', 'publishedresearchattachment', 'editorialboardattachment', 'researchevaluationattachment', 'publishedarticleattachment', 'pressattachment', 'thesisevaluationattachment', 'higherstudiesdiscussionattachment', 'higherstudiessupervisionattachment', 'higherstudiesstudentattachment', 'notes', 'action', 'level', 'ctype', 'jtype', 'btype'] |
field | <ManyToOneRel: qapp.seminarattender> |
fields | (<ManyToOneRel: qapp.seminarpresentationattachment>, <ManyToOneRel: qapp.seminarattender>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.related.ForeignKey: cad>, <django.db.models.fields.related.ForeignKey: member>, <django.db.models.fields.CharField: title>, <django.db.models.fields.CharField: location>, <django.db.models.fields.DateField: date>, <django.db.models.fields.CharField: notes>, <django.db.models.fields.BooleanField: approved>, <django.db.models.fields.related.ManyToManyField: attenders>) |
first | True |
grade | 'A*' |
ic | 31 |
item | <SeminarAttendance: SeminarAttendance object> |
items | <QuerySet [<SeminarPresentation: SeminarPresentation object>]> |
items_count | 1 |
lang | 'ar' |
last | True |
member | <AcademicMember: دلشاد عبدالرحمن يوسف> |
mfield | '' |
mfilter | {} |
model | <class 'qapp.models.SeminarPresentation'> |
mvalue | '' |
name | '__name_ar' |
presult | ('<h3>دلشاد عبدالرحمن يوسف</h3><table class="cleartable" style="margin-top: ' '10px;"><tr><td style="width: 150px;"><img ' "src='https://nawroz.edu.krd/media/media/images/1R5A2177.JPG' width='140' " '/></td><td style="font-weight: normal;"><b>الكلية: </b>كلية القانون ' 'والسياسة<br /><b>القسم: </b>القانون<br /><b>تاريخ الميلاد: </b>1983-04-16<br ' '/><b>الاختصاص العام: </b>قانون عام\xa0\xa0\xa0\xa0\xa0\xa0\xa0<b>الاختصاص ' 'الدقيق: </b>قانون جينائي<br /></td></tr></table>') |
profile | True |
request | <WSGIRequest: GET '/qa/cad-report/88/7/'> |
result | ('<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br ' '/><h1 style="text-align: center;">ضمان الجودة</h1><h2 style="text-align: ' 'center">تقرير CAD</h2><h3 style="text-align: center">2021 - 2022</h3><hr ' '/><h3>دلشاد عبدالرحمن يوسف</h3><table class="cleartable" style="margin-top: ' '10px;"><tr><td style="width: 150px;"><img ' "src='https://nawroz.edu.krd/media/media/images/1R5A2177.JPG' width='140' " '/></td><td style="font-weight: normal;"><b>الكلية: </b>كلية القانون ' 'والسياسة<br /><b>القسم: </b>القانون<br /><b>تاريخ الميلاد: </b>1983-04-16<br ' '/><b>الاختصاص العام: </b>قانون عام\xa0\xa0\xa0\xa0\xa0\xa0\xa0<b>الاختصاص ' 'الدقيق: </b>قانون جينائي<br /></td></tr></table><h3 style="text-align: ' 'center;">ملخص الـ CAD</h3><table><thead><tr><th ' 'width="5">#</th><th>الفقرة</th><th style="text-align: center">توزيع ' 'النقاط</th><th style="text-align: center">العدد</th><th style="text-align: ' 'center">الدرجة</th></tr></thead><tbody><tr><td style="text-align: ' 'center;">1</td><td>حضور حلقة نقاشية</td><td style="text-align: ' 'center">1</td><td style="text-align: center">15</td><td style="text-align: ' 'center">15</td></tr><tr><td style="text-align: center;">2</td><td>تقديم حلقة ' 'نقاشية</td><td style="text-align: center">3</td><td style="text-align: ' 'center">1</td><td style="text-align: center">3</td></tr><tr><td ' 'style="text-align: center;">3</td><td>الحضور في الندوات والمؤتمرات</td><td ' 'style="text-align: center">2</td><td style="text-align: center">3</td><td ' 'style="text-align: center">6</td></tr><tr><td style="text-align: ' 'center;">4</td><td>عضوية اللجان الامتحانية</td><td style="text-align: ' 'center">3</td><td style="text-align: center">2</td><td style="text-align: ' 'center">6</td></tr><tr><td style="text-align: center;">5</td><td>عضوية ' 'اللجان الدائمية المختلفة</td><td style="text-align: center">2</td><td ' 'style="text-align: center">10</td><td style="text-align: ' 'center">20</td></tr><tr><td style="text-align: center;">6</td><td>عضوية ' 'اللجنة التحضيرية والعلمية للمؤتمرات</td><td style="text-align: ' 'center">3</td><td style="text-align: center">2</td><td style="text-align: ' 'center">6</td></tr><tr><td style="text-align: center;">7</td><td>عضوية ' 'اللجنة التحضيرية للندوات وورش العمل</td><td style="text-align: ' 'center">2</td><td style="text-align: center">1</td><td style="text-align: ' 'center">2</td></tr><tr><td style="text-align: center;">8</td><td>رئاسة أو ' 'عضوية هيئات التحرير في المجلات</td><td style="text-align: center">3</td><td ' 'style="text-align: center">0</td><td style="text-align: ' 'center">0</td></tr><tr><td style="text-align: center;">9</td><td>محاضر في ' 'الدورة التدريبية وورش العمل</td><td style="text-align: center">4</td><td ' 'style="text-align: center">0</td><td style="text-align: ' 'center">0</td></tr><tr><td style="text-align: center;">10</td><td>الحضور في ' 'الدورات التدريبية وورش العمل</td><td style="text-align: center">2</td><td ' 'style="text-align: center">1</td><td style="text-align: ' 'center">2</td></tr><tr><td style="text-align: center;">11</td><td>المقابلة ' 'في الإعلام (تلفزيون-راديو-صحافة)</td><td style="text-align: ' 'center">2</td><td style="text-align: center">0</td><td style="text-align: ' 'center">0</td></tr><tr><td style="text-align: center;">12</td><td>تقييم ' 'البحث العلمي (تعضيد-مجلة-ترقيات)</td><td style="text-align: ' 'center">3</td><td style="text-align: center">3</td><td style="text-align: ' 'center">9</td></tr><tr><td style="text-align: center;">13</td><td>التقييم ' 'العلمي واللغوي لرسالة الدبلوم العالي</td><td style="text-align: ' 'center">3</td><td style="text-align: center">0</td><td style="text-align: ' 'center">0</td></tr><tr><td style="text-align: center;">14</td><td>التقييم ' 'العلمي واللغوي لرسالة الماجستير</td><td style="text-align: center">4</td><td ' 'style="text-align: center">0</td><td style="text-align: ' 'center">0</td></tr><tr><td style="text-align: center;">15</td><td>التقييم ' 'العلمي واللغوي لأطروحة الدكتوراه</td><td style="text-align: ' 'cen... <trimmed 8099 bytes string> |
score | 3 |
score1 | 170 |
summ | 'ملخص الـ CAD' |
total | 170 |
total_points | 177 |
total_records | 56 |
xalign | 'left' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '34.203.242.200' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bb28b78b0a391c-IAD' |
HTTP_CF_VISITOR | '{"scheme":"http"}' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'qa.nawroz.edu.krd' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '34.203.242.200, 172.70.38.96' |
HTTP_X_FORWARDED_HOST | 'qa.nawroz.edu.krd' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_FORWARDED_SERVER | 'qa.nawroz.edu.krd' |
PATH_INFO | '/qa/cad-report/88/7/' |
QUERY_STRING | '' |
RAW_URI | '/qa/cad-report/88/7/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '57246' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8002' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/19.7.0' |
gunicorn.socket | <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8002), raddr=('127.0.0.1', 57246)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fc7397fdc88> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fc7397fdb38> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
qa.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/nz/envqa/qa' |
BASE_URL | 'http://web.nawroz.edu.krd:8004' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'webdb', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'web'}, 'web': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'webdb', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'web'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 10000 |
DATETIME_FORMAT | 'N j, Y, P' |
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'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
EXTRA_LANG_INFO | {'ku': {'bidi': True, 'code': 'ku', 'name': 'Kurdi', 'name_local': 'كوردى'}} |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['dal', 'dal_select2', 'nested_admin', 'clever_selects', 'easy_pdf', 'wkhtmltopdf', 'material', 'material.frontend', 'qapp.apps.QappConfig', 'tinymce', 'mptt', 'formtools', 'django_mptt_admin', 'flat_responsive', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'), ('ar', 'Arabic'), ('ku', 'Kurdi')) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur', 'ku', 'ar'] |
LANGUAGE_CODE | 'ar' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANG_INFO | {'af': {'bidi': False, 'code': 'af', 'name': 'Afrikaans', 'name_local': 'Afrikaans'}, 'ar': {'bidi': True, 'code': 'ar', 'name': 'Arabic', 'name_local': 'العربيّة'}, 'ast': {'bidi': False, 'code': 'ast', 'name': 'Asturian', 'name_local': 'asturianu'}, 'az': {'bidi': True, 'code': 'az', 'name': 'Azerbaijani', 'name_local': 'Azərbaycanca'}, 'be': {'bidi': False, 'code': 'be', 'name': 'Belarusian', 'name_local': 'беларуская'}, 'bg': {'bidi': False, 'code': 'bg', 'name': 'Bulgarian', 'name_local': 'български'}, 'bn': {'bidi': False, 'code': 'bn', 'name': 'Bengali', 'name_local': 'বাংলা'}, 'br': {'bidi': False, 'code': 'br', 'name': 'Breton', 'name_local': 'brezhoneg'}, 'bs': {'bidi': False, 'code': 'bs', 'name': 'Bosnian', 'name_local': 'bosanski'}, 'ca': {'bidi': False, 'code': 'ca', 'name': 'Catalan', 'name_local': 'català'}, 'cs': {'bidi': False, 'code': 'cs', 'name': 'Czech', 'name_local': 'česky'}, 'cy': {'bidi': False, 'code': 'cy', 'name': 'Welsh', 'name_local': 'Cymraeg'}, 'da': {'bidi': False, 'code': 'da', 'name': 'Danish', 'name_local': 'dansk'}, 'de': {'bidi': False, 'code': 'de', 'name': 'German', 'name_local': 'Deutsch'}, 'dsb': {'bidi': False, 'code': 'dsb', 'name': 'Lower Sorbian', 'name_local': 'dolnoserbski'}, 'el': {'bidi': False, 'code': 'el', 'name': 'Greek', 'name_local': 'Ελληνικά'}, 'en': {'bidi': False, 'code': 'en', 'name': 'English', 'name_local': 'English'}, 'en-au': {'bidi': False, 'code': 'en-au', 'name': 'Australian English', 'name_local': 'Australian English'}, 'en-gb': {'bidi': False, 'code': 'en-gb', 'name': 'British English', 'name_local': 'British English'}, 'eo': {'bidi': False, 'code': 'eo', 'name': 'Esperanto', 'name_local': 'Esperanto'}, 'es': {'bidi': False, 'code': 'es', 'name': 'Spanish', 'name_local': 'español'}, 'es-ar': {'bidi': False, 'code': 'es-ar', 'name': 'Argentinian Spanish', 'name_local': 'español de Argentina'}, 'es-co': {'bidi': False, 'code': 'es-co', 'name': 'Colombian Spanish', 'name_local': 'español de Colombia'}, 'es-mx': {'bidi': False, 'code': 'es-mx', 'name': 'Mexican Spanish', 'name_local': 'español de Mexico'}, 'es-ni': {'bidi': False, 'code': 'es-ni', 'name': 'Nicaraguan Spanish', 'name_local': 'español de Nicaragua'}, 'es-ve': {'bidi': False, 'code': 'es-ve', 'name': 'Venezuelan Spanish', 'name_local': 'español de Venezuela'}, 'et': {'bidi': False, 'code': 'et', 'name': 'Estonian', 'name_local': 'eesti'}, 'eu': {'bidi': False, 'code': 'eu', 'name': 'Basque', 'name_local': 'Basque'}, 'fa': {'bidi': True, 'code': 'fa', 'name': 'Persian', 'name_local': 'فارسی'}, 'fi': {'bidi': False, 'code': 'fi', 'name': 'Finnish', 'name_local': 'suomi'}, 'fr': {'bidi': False, 'code': 'fr', 'name': 'French', 'name_local': 'français'}, 'fy': {'bidi': False, 'code': 'fy', 'name': 'Frisian', 'name_local': 'frysk'}, 'ga': {'bidi': False, 'code': 'ga', 'name': 'Irish', 'name_local': 'Gaeilge'}, 'gd': {'bidi': False, 'code': 'gd', 'name': 'Scottish Gaelic', 'name_local': 'Gàidhlig'}, 'gl': {'bidi': False, 'code': 'gl', 'name': 'Galician', 'name_local': 'galego'}, 'he': {'bidi': True, 'code': 'he', 'name': 'Hebrew', 'name_local': 'עברית'}, 'hi': {'bidi': False, 'code': 'hi', 'name': 'Hindi', 'name_local': 'Hindi'}, 'hr': {'bidi': False, 'code': 'hr', 'name': 'Croatian', 'name_local': 'Hrvatski'}, 'hsb': {'bidi': False, 'code': 'hsb', 'name': 'Upper Sorbian', 'name_local': 'hornjoserbsce'}, 'hu': {'bidi': False, 'code': 'hu', 'name': 'Hungarian', 'name_local': 'Magyar'}, 'ia': {'bidi': False, 'code': 'ia', 'name': 'Interlingua', 'name_local': 'Interlingua'}, 'id': {'bidi': False, 'code': 'id', 'name': 'Indonesian', 'name_local': 'Bahasa Indonesia'}, 'io': {'bidi': False, 'code': 'io', 'name': 'Ido', 'name_local': 'ido'}, 'is': {'bidi': False, 'code': 'is', 'name': 'Icelandic', 'name_local': 'Íslenska'}, 'it': {'bidi': False, 'code': 'it', 'name': 'Italian', 'name_local': 'italiano'}, 'ja': {'bidi': False, 'code': 'ja', 'name': 'Japanese', 'name_local': '日本語'}, 'ka': {'bidi': False, 'code': 'ka', 'name': 'Georgian', 'name_local': 'ქართული'}, 'kk': {'bidi': False, 'code': 'kk', 'name': 'Kazakh', 'name_local': 'Қазақ'}, 'km': {'bidi': False, 'code': 'km', 'name': 'Khmer', 'name_local': 'Khmer'}, 'kn': {'bidi': False, 'code': 'kn', 'name': 'Kannada', 'name_local': 'Kannada'}, 'ko': {'bidi': False, 'code': 'ko', 'name': 'Korean', 'name_local': '한국어'}, 'ku': {'bidi': True, 'code': 'ku', 'name': 'Kurdi', 'name_local': 'كوردى'}, 'lb': {'bidi': False, 'code': 'lb', 'name': 'Luxembourgish', 'name_local': 'Lëtzebuergesch'}, 'lt': {'bidi': False, 'code': 'lt', 'name': 'Lithuanian', 'name_local': 'Lietuviškai'}, 'lv': {'bidi': False, 'code': 'lv', 'name': 'Latvian', 'name_local': 'latviešu'}, 'mk': {'bidi': False, 'code': 'mk', 'name': 'Macedonian', 'name_local': 'Македонски'}, 'ml': {'bidi': False, 'code': 'ml', 'name': 'Malayalam', 'name_local': 'Malayalam'}, 'mn': {'bidi': False, 'code': 'mn', 'name': 'Mongolian', 'name_local': 'Mongolian'}, 'mr': {'bidi': False, 'code': 'mr', 'name': 'Marathi', 'name_local': 'मराठी'}, 'my': {'bidi': False, 'code': 'my', 'name': 'Burmese', 'name_local': 'မြန်မာဘာသာ'}, 'nb': {'bidi': False, 'code': 'nb', 'name': 'Norwegian Bokmal', 'name_local': 'norsk (bokmål)'}, 'ne': {'bidi': False, 'code': 'ne', 'name': 'Nepali', 'name_local': 'नेपाली'}, 'nl': {'bidi': False, 'code': 'nl', 'name': 'Dutch', 'name_local': 'Nederlands'}, 'nn': {'bidi': False, 'code': 'nn', 'name': 'Norwegian Nynorsk', 'name_local': 'norsk (nynorsk)'}, 'no': {'bidi': False, 'code': 'no', 'name': 'Norwegian', 'name_local': 'norsk'}, 'os': {'bidi': False, 'code': 'os', 'name': 'Ossetic', 'name_local': 'Ирон'}, 'pa': {'bidi': False, 'code': 'pa', 'name': 'Punjabi', 'name_local': 'Punjabi'}, 'pl': {'bidi': False, 'code': 'pl', 'name': 'Polish', 'name_local': 'polski'}, 'pt': {'bidi': False, 'code': 'pt', 'name': 'Portuguese', 'name_local': 'Português'}, 'pt-br': {'bidi': False, 'code': 'pt-br', 'name': 'Brazilian Portuguese', 'name_local': 'Português Brasileiro'}, 'ro': {'bidi': False, 'code': 'ro', 'name': 'Romanian', 'name_local': 'Română'}, 'ru': {'bidi': False, 'code': 'ru', 'name': 'Russian', 'name_local': 'Русский'}, 'sk': {'bidi': False, 'code': 'sk', 'name': 'Slovak', 'name_local': 'Slovensky'}, 'sl': {'bidi': False, 'code': 'sl', 'name': 'Slovenian', 'name_local': 'Slovenščina'}, 'sq': {'bidi': False, 'code': 'sq', 'name': 'Albanian', 'name_local': 'shqip'}, 'sr': {'bidi': False, 'code': 'sr', 'name': 'Serbian', 'name_local': 'српски'}, 'sr-latn': {'bidi': False, 'code': 'sr-latn', 'name': 'Serbian Latin', 'name_local': 'srpski (latinica)'}, 'sv': {'bidi': False, 'code': 'sv', 'name': 'Swedish', 'name_local': 'svenska'}, 'sw': {'bidi': False, 'code': 'sw', 'name': 'Swahili', 'name_local': 'Kiswahili'}, 'ta': {'bidi': False, 'code': 'ta', 'name': 'Tamil', 'name_local': 'தமிழ்'}, 'te': {'bidi': False, 'code': 'te', 'name': 'Telugu', 'name_local': 'తెలుగు'}, 'th': {'bidi': False, 'code': 'th', 'name': 'Thai', 'name_local': 'ภาษาไทย'}, 'tr': {'bidi': False, 'code': 'tr', 'name': 'Turkish', 'name_local': 'Türkçe'}, 'tt': {'bidi': False, 'code': 'tt', 'name': 'Tatar', 'name_local': 'Татарча'}, 'udm': {'bidi': False, 'code': 'udm', 'name': 'Udmurt', 'name_local': 'Удмурт'}, 'uk': {'bidi': False, 'code': 'uk', 'name': 'Ukrainian', 'name_local': 'Українська'}, 'ur': {'bidi': True, 'code': 'ur', 'name': 'Urdu', 'name_local': 'اردو'}, 'vi': {'bidi': False, 'code': 'vi', 'name': 'Vietnamese', 'name_local': 'Tiếng Việt'}, 'zh-cn': {'fallback': ['zh-hans']}, 'zh-hans': {'bidi': False, 'code': 'zh-hans', 'name': 'Simplified Chinese', 'name_local': '简体中文'}, 'zh-hant': {'bidi': False, 'code': 'zh-hant', 'name': 'Traditional Chinese', 'name_local': '繁體中文'}, 'zh-hk': {'fallback': ['zh-hant']}, 'zh-mo': {'fallback': ['zh-hant']}, 'zh-my': {'fallback': ['zh-hans']}, 'zh-sg': {'fallback': ['zh-hans']}, 'zh-tw': {'fallback': ['zh-hant']}} |
LOCALE_PATHS | ('/home/nz/envqa/qa/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/profile/home/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | '/login' |
MANAGERS | [] |
MEDIA_ROOT | '/home/nz/envqa/qa/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'qa.middleware.SessionBasedLocaleMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIDDLEWARE_CLASSES | ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'material.frontend.middleware.SmoothNavigationMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
MPTT_ADMIN_LEVEL_INDENT | 40 |
NAME | 'name_ar' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'qa.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 999999 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'qa.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.CachedStaticFilesStorage' |
STATIC_ROOT | '/home/nz/envqa/qa/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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', 'material.frontend.context_processors.modules']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
TINYMCE_DEFAULT_CONFIG | {'content_css': '/media/css/tinymce.css', 'custom_elements': 'noindex', 'extended_valid_elements': 'noindex', 'external_image_list_url': 'images/', 'external_link_list_url': 'links/', 'mode': 'exact', 'plugins': 'table,advimage,advlink,inlinepopups,preview,media,searchreplace,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras', 'relative_urls': False, 'theme': 'advanced', 'theme_advanced_buttons1': 'fullscreen,|,bold,italic,underline,strikethrough,|,sub,sup,|,bullist,numlist,|,outdent,indent,|,formatselect,removeformat', 'theme_advanced_buttons2': 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,undo,redo,|,link,unlink,anchor,image,media,charmap,|,visualchars,nonbreaking', 'theme_advanced_buttons3': 'visualaid,tablecontrols,|,blockquote,del,ins,|,preview,code', 'theme_advanced_toolbar_align': 'left', 'theme_advanced_toolbar_location': 'top'} |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WKHTMLTOPDF_CMD | '/usr/local/bin/wkhtmltopdf' |
WKHTMLTOPDF_ENV | {'FONTCONFIG_PATH': '/etc/fonts'} |
WSGI_APPLICATION | 'qa.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
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.