The 'aciklama' attribute has no file associated with it.
Request Method: | GET |
---|---|
Request URL: | https://asirdavetiye.com/davetiye/1438/ |
Django Version: | 3.2.10 |
Exception Type: | ValueError |
Exception Value: | The 'aciklama' attribute has no file associated with it. |
Exception Location: | /home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/db/models/fields/files.py, line 40, in _require_file |
Python Executable: | /home/asirdavetiye/asirenv/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/home/asirdavetiye', '/home/asirdavetiye/asirenv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/asirdavetiye/asirenv/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 03:29:10 +0300 |
In template /home/asirdavetiye/templates/main/base.html
, error at line 0
1 | {% include "main/header.html" %} |
---|---|
2 | {% block content %} |
3 | |
4 | {% endblock %} |
5 | {% include "main/footer.html" %} |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 829, in _resolve_lookup
detail and shouldn't be called by external code. Use Variable.resolve()
instead.
"""
current = context
try: # catch-all for silent variable failures
for bit in self.lookups:
try: # dictionary lookup
current = current[bit]…
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
Variable | Value |
---|---|
bit | 'url' |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
current | <ImageFieldFile: None> |
self | <Variable: 'kategorisi.aciklama.url'> |
template_name | 'main/davetiye.html' |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(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 | ValueError("The 'aciklama' attribute has no file associated with it.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fc2e1389e50>> |
request | <WSGIRequest: GET '/davetiye/1438/'> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function davetiye at 0x7fc2e0ef7ca0> |
callback_args | () |
callback_kwargs | {'id': 1438} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc2e0f89af0>> |
request | <WSGIRequest: GET '/davetiye/1438/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc2e1389e50> |
wrapped_callback | <function davetiye at 0x7fc2e0ef7ca0> |
/home/asirdavetiye/onpanel/views.py
, line 123, in davetiye
urun = get_object_or_404(Urunler,id = id)
kategoriler = Kategoriler.objects.all()
kategorisi = Kategoriler.objects.filter(id=urun.kategoriid)[0]
tercihkat = Kategoriler.objects.filter(ad = "Çok Tercih Edilenler").first()
tercihurun = Urunler.objects.filter(kategoriid = tercihkat.id).order_by("sira")[:4]
title = "Davetiye {} ".format(urun.id)
return render(request, "main/davetiye.html",{"kategoriler":kategoriler, "urun":urun, "kategorisi":kategorisi, "tercihurun":tercihurun,"title":title})…
def blogg(request, id):
blog = get_object_or_404(Bloglar,id = id)
title = "Bloglar"
return render(request, "main/blogg.html",{"blog":blog,"title":title})
Variable | Value |
---|---|
id | 1438 |
kategoriler | <QuerySet [<Kategoriler: Çok Tercih Edilenler>, <Kategoriler: Üçgen Zarflı>, <Kategoriler: Üçgen Lacivert>, <Kategoriler: Üçgen Yeşil>, <Kategoriler: İkili Davetiye>, <Kategoriler: Beyaz Zarflı>, <Kategoriler: Ekonomik Davetiye>, <Kategoriler: Yarım Kapaklı>, <Kategoriler: Yarım Kapaklı Kraft>, <Kategoriler: Yarım Kapaklı Lacivert>, <Kategoriler: Yarım Kapaklı Bordo>, <Kategoriler: Yarım Kapaklı Gri>, <Kategoriler: Yarım Kapaklı Mor>, <Kategoriler: Yarım Kapaklı Yeşil>, <Kategoriler: Üçgen Kraft>, <Kategoriler: Üçgen Mor>, <Kategoriler: Üçgen Bordo>, <Kategoriler: Kilitli Zarflı>, <Kategoriler: Kilitli Kelebek>, <Kategoriler: Kilitli Kalp>, '...(remaining elements truncated)...']> |
kategorisi | <Kategoriler: Çok Tercih Edilenler> |
request | <WSGIRequest: GET '/davetiye/1438/'> |
tercihkat | <Kategoriler: Çok Tercih Edilenler> |
tercihurun | Error in formatting: TypeError: __str__ returned non-string (type int) |
title | 'Davetiye 1438 ' |
urun | Error in formatting: TypeError: __str__ returned non-string (type int) |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/shortcuts.py
, line 19, in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
request | <WSGIRequest: GET '/davetiye/1438/'> |
status | None |
template_name | 'main/davetiye.html' |
using | None |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
request | <WSGIRequest: GET '/davetiye/1438/'> |
template | <django.template.backends.django.Template object at 0x7fc2e0a94b50> |
template_name | 'main/davetiye.html' |
using | None |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
request | <WSGIRequest: GET '/davetiye/1438/'> |
self | <django.template.backends.django.Template object at 0x7fc2e0a94b50> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <django.template.base.Template object at 0x7fc2e0b50ac0> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <django.template.base.Template object at 0x7fc2e0b50ac0> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
node | <ExtendsNode: extends "main/base.html"> |
self | [<ExtendsNode: extends "main/base.html">] |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <ExtendsNode: extends "main/base.html"> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/loader_tags.py
, line 150, in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7fc2e0b296d0> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n\n'>]>} |
compiled_parent | <django.template.base.Template object at 0x7fc2e0b298b0> |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
node | <django.template.loader_tags.IncludeNode object at 0x7fc2e0b29970> |
self | <ExtendsNode: extends "main/base.html"> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <django.template.base.Template object at 0x7fc2e0b298b0> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n' |
bits | ['<!DOCTYPE html>\n' '\n' '<html xmlns="http://www.w3.org/1999/xhtml">\n' '<head>\n' '\n' ' \n' ' <title>Davetiye 1438 </title>\n' ' \n' ' <link rel="shortcut icon" type="image/icon" ' 'href="/static/ondist/foto/logo.png"/>\n' ' <meta charset="utf-8" />\n' ' <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n' ' <meta http-equiv="content-language" content="TR" />\n' ' <meta name="robots" content="index" />\n' ' <meta name="title" content="Asır Davetiye" />\n' ' <meta name="keywords" content="davetiye, ucuz, ekonomik, düğün, kına, ' 'nişan, sünnet" />\n' ' <meta name="description" content="Ucuz ve Kaliteli Davetiye ' 'Mağazanız"/>\n' '\n' ' <meta name="viewport" content="width=device-width, ' 'initial-scale=1.0"/>\n' ' \n' ' <!-- Latest compiled and minified CSS -->\n' ' <link rel="stylesheet" ' 'href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"/>\n' '\n' ' <!-- jQuery library -->\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>\n' '\n' ' <!-- Latest compiled JavaScript -->\n' ' <script ' 'src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>\n' '\n' ' <script type="text/javascript" ' 'src="/static/ondist/js/scroll.js"></script>\n' '\n' ' <link rel="stylesheet" href="/static/ondist/css/Master.css" ' 'type="text/css" />\n' '\n' '\t<!-- Global site tag (gtag.js) - Google Analytics -->\n' '\t<script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-EZ2FZ6ZQGZ"></script>\n' '\t<script>\n' '\t window.dataLayer = window.dataLayer || [];\n' '\t function gtag(){dataLayer.push(arguments);}\n' "\t gtag('js', new Date());\n" '\n' "\t gtag('config', 'G-EZ2FZ6ZQGZ');\n" '\t</script>\n' '\n' ' <script>\n' '\tfunction required(){\n' '\t\tvar empt = document.forms["form1"]["isim"].value;\n' '\t\tvar img = document.forms["form1"]["image"].value;\n' ' var yorum = document.forms["form1"]["yorum"].value;\n' '\t\tif ( empt == "" || img == "" || yorum == "" )\n' '\t\t\t{\n' '\t\t\talert("Lütfen Tüm Alanları Doldurunuz");\n' '\t\t\treturn false;\n' '\t\t\t}\n' '\t\telse \n' '\t\t\t{\n' "\t\t\talert('Yorumunuz için teşekkür ederiz.\\nEn kısa sürede sayfamızda " "görüntülenecektir.');\n" '\t\t\treturn true; \n' '\t\t\t}\n' '\t}\n' '</script>\n' '\n' '<!-- Meta Pixel Code -->\n' '<script>\n' ' !function(f,b,e,v,n,t,s)\n' ' {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n' ' n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n' " if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n" ' n.queue=[];t=b.createElement(e);t.async=!0;\n' ' t.src=v;s=b.getElementsByTagName(e)[0];\n' " s.parentNode.insertBefore(t,s)}(window, document,'script',\n" " 'https://connect.facebook.net/en_US/fbevents.js');\n" " fbq('init', '416083236618495');\n" " fbq('track', 'PageView');\n" '</script>\n' '<noscript><img height="1" width="1" style="display:none"\n' ' ' 'src="https://www.facebook.com/tr?id=416083236618495&ev=PageView&noscript=1"\n' '/></noscript>\n' '<!-- End Meta Pixel Code -->\n' '\n' '</head>\n' '\n' '<body>\n' '\n' ' <div class="col-xs-12 margin-top-20 margin-bottom-50 p0">\n' ' \n' ' <div class="container border-radius margin-auto bg-white ' 'p0">\n' ' <div class="col-xs-12 bg-light-blue color-white bold ' 'border-radius-top p0 padding-15">\n' '\n' ' <div class="col-xs-12 col-sm-7 p0">\n' ' <div class="col-xs-6 col-sm-7 p0 text-center">\n' ' <span class="glyphicon glyphicon-map-marker ' '"></span>\n' '  \n' ' KARAMAN / MERKEZ\n' ' </div>\n' '\n' ' <div class="col-xs-6 col-sm-5 p0 text-center">\n' ' <span class… <trimmed 148040 bytes string> |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
node | <Block Node: content. Contents: [<TextNode: '\n\n'>]> |
self | [<django.template.loader_tags.IncludeNode object at 0x7fc2e0b29970>, <TextNode: '\n'>, <Block Node: content. Contents: [<TextNode: '\n\n'>]>, <TextNode: '\n'>, <django.template.loader_tags.IncludeNode object at 0x7fc2e0b29d90>] |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <Block Node: content. Contents: [<TextNode: '\n\n'>]> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/loader_tags.py
, line 62, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n\n <!-- Modal -->\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc2e0b2a550>, <TextNode: '\n <div class="'>, <django.template.defaulttags.URLNode object at 0x7fc2e0b2a5b0>, <TextNode: '" target="_blank" class="'>, <Variable Node: urun.id>, <TextNode: '" /></div>\n\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '">\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '" class="img-responsive i'>, <Variable Node: kategorisi>, <TextNode: ' '>, <Variable Node: urun.urunkodu>, <TextNode: ' Kodlu Model</h3>\n\n '>, <Variable Node: urun.ifiyat>, <TextNode: '</label> TL\n '>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for urun in tercihurun, tail_len: 11>, <TextNode: '\n\n </div>\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fc2e0b296d0> |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
push | <Block Node: content. Contents: [<TextNode: '\n\n <!-- Modal -->\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc2e0b2a550>, <TextNode: '\n <div class="'>, <django.template.defaulttags.URLNode object at 0x7fc2e0b2a5b0>, <TextNode: '" target="_blank" class="'>, <Variable Node: urun.id>, <TextNode: '" /></div>\n\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '">\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '" class="img-responsive i'>, <Variable Node: kategorisi>, <TextNode: ' '>, <Variable Node: urun.urunkodu>, <TextNode: ' Kodlu Model</h3>\n\n '>, <Variable Node: urun.ifiyat>, <TextNode: '</label> TL\n '>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for urun in tercihurun, tail_len: 11>, <TextNode: '\n\n </div>\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n\n'>]> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('</label> TL\n' ' </div>\n' '\n' ' <div class="col-xs-12 p0">\n' ' <hr />\n' ' </div>\n' ' ') |
bits | ['\n' '\n' ' <!-- Modal -->\n' ' <div class="modal fade" id="myModal" tabindex="-1" role="dialog" ' 'aria-labelledby="myModalLabel">\n' ' <div class="modal-dialog modal-lg" role="document">\n' ' \n' ' <form action="/siparisgir" method="post">\n' ' ', '<input type="hidden" name="csrfmiddlewaretoken" ' 'value="bdtf1JCaUcxE5o2unEWGu1WmRF5xDusPDRK2LgZuDgsTvmDOB5t19tr3JhjXRIhM">', '\n' ' <div class="modal-content">\n' ' <div class="modal-header">\n' ' <button type="button" class="close" data-dismiss="modal" ' 'aria-label="Close"><span aria-hidden="true">×</span></button>\n' ' <h4 class="modal-title bold color-dark-blue" ' 'id="myModalLabel">DAVETİYE ÖN SİPARİŞ FORMU</h4>\n' ' </div>\n' ' <div class="modal-body">\n' ' <div class="form-group">\n' ' <div class="alert-danger bold padding-15 ' '">Göndermiş olduğunuz bilgilerle davetiyeniz tasarlanıp size tasarım Whatapp ' 'üzerinden gönderilecektir. Onayınız olmadan davetiyeniz baskıya ' 'verilmeyecektir. </div>\n' ' </div>\n' '\n' ' <div class="form-group">\n' ' <label >Davetiye Adedi:</label>\n' ' <select id="ddlAdet" class="form-control" ' 'name="adetsecim" >\n' ' <option>100 Adet</option>\n' ' <option>200 Adet</option>\n' ' <option>300 Adet</option>\n' ' <option>400 Adet</option>\n' ' <option>500 Adet</option>\n' ' <option>600 Adet</option>\n' ' <option>700 Adet</option>\n' ' <option>800 Adet</option>\n' ' <option>900 Adet</option>\n' ' <option>1000 Adet</option>\n' ' </select>\n' ' </div>\n' '\n' ' <div class="form-group">\n' ' <label >Gelinin Adı Soyadı</label>\n' ' <input type="text" id="txtGAS" ' 'class="form-control" name="gelinad"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Gelinin Anne Baba Adı</label>\n' ' <input type="text" id="txtGAB" ' 'class="form-control" name="gelinaile"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Damadın Adı Soyadı</label>\n' ' <input type="text" id="txtDAS" ' 'class="form-control" name="damatad"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Damadın Anne Baba Adı</label>\n' ' <input type="text" id="txtDAB" ' 'class="form-control" name="damataile"/>\n' ' </div>\n' '\n' ' <div class="form-group">\n' ' <label >Düğün Tarihi</label>\n' ' <input type="text" id="txtDT" ' 'class="form-control" name="dtarih"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Düğün Saati</label>\n' ' <input type="text" id="txtDBT2" ' 'class="form-control" name="dsaat"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Düğün Yeri</label>\n' ' <input type="text" id="txtDY" ' 'class="form-control" name="dyer"/>\n' ' </div>\n' ' <div class="form-group">\n' ' <label >Düğ… <trimmed 8898 bytes string> |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
node | <IfNode> |
self | [<TextNode: '\n\n <!-- Modal -->\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc2e0b2a550>, <TextNode: '\n <div class="'>, <django.template.defaulttags.URLNode object at 0x7fc2e0b2a5b0>, <TextNode: '" target="_blank" class="'>, <Variable Node: urun.id>, <TextNode: '" /></div>\n\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '">\n '>, <Variable Node: urun.rsmyol.url>, <TextNode: '" class="img-responsive i'>, <Variable Node: kategorisi>, <TextNode: ' '>, <Variable Node: urun.urunkodu>, <TextNode: ' Kodlu Model</h3>\n\n '>, <Variable Node: urun.ifiyat>, <TextNode: '</label> TL\n '>, <IfNode>, <TextNode: '\n\n '>, <ForNode: for urun in tercihurun, tail_len: 11>, <TextNode: '\n\n </div>\n'>] |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <IfNode> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/defaulttags.py
, line 312, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (literal <django.template.base.FilterExpression object at 0x7fc2e07f8160>) |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
match | <ImageFieldFile: aciklama/RENKLİ_MaDBpQQ.jpg> |
nodelist | [<TextNode: '\n '>, <Variable Node: kategorisi.aciklama.url>, <TextNode: '" class="img-responsive" '>] |
self | <IfNode> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' ' <div class="col-xs-12">\n' ' <img src="') |
bits | ['\n' ' <div class="col-xs-12">\n' ' <img src="'] |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
node | <Variable Node: kategorisi.aciklama.url> |
self | [<TextNode: '\n '>, <Variable Node: kategorisi.aciklama.url>, <TextNode: '" class="img-responsive" '>] |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <Variable Node: kategorisi.aciklama.url> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 988, in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)…
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <Variable Node: kategorisi.aciklama.url> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 671, in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)…
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x7fc2e07f8520> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 796, in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)…
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
self | <Variable: 'kategorisi.aciklama.url'> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/template/base.py
, line 837, in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)…
except (TypeError, AttributeError):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]
Variable | Value |
---|---|
bit | 'url' |
context | Error in formatting: TypeError: __str__ returned non-string (type int) |
current | <ImageFieldFile: None> |
self | <Variable: 'kategorisi.aciklama.url'> |
template_name | 'main/davetiye.html' |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/db/models/fields/files.py
, line 63, in url
@property
def path(self):
self._require_file()
return self.storage.path(self.name)
@property
def url(self):
self._require_file()…
return self.storage.url(self.name)
@property
def size(self):
self._require_file()
if not self._committed:
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
/home/asirdavetiye/asirenv/lib/python3.8/site-packages/django/db/models/fields/files.py
, line 40, in _require_file
# The standard File contains most of the necessary properties, but
# FieldFiles can be instantiated without a name, so that needs to
# be checked for here.
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)…
def _get_file(self):
self._require_file()
if getattr(self, '_file', None) is None:
self._file = self.storage.open(self.name, 'rb')
return self._file
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | 'B3Tum2WqzGsocaMyoGSj2Eu1RzRrocWG3Hah6zjKiKnDC8nSC7pEH6ZIJb5RCqLD' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'asirdavetiye.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.200.179.138' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '44.200.179.138' |
PATH_INFO | '/davetiye/1438/' |
QUERY_STRING | '' |
RAW_URI | '/davetiye/1438/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'asirdavetiye.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/asirdavetiye/asirdavetiye.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fc2e0b501f0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7fc2e0b50130> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
asirdavetiye.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['asirdavetiye.com', 'www.asirdavetiye.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/asirdavetiye') |
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_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/asirdavetiye/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'mailweboto@gmail.com' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 15728640 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'panel', 'onpanel'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'tr' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/panel/index' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/asirdavetiye/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', '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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
RECIPIENT_ADDRESS | 'asirdavetiye@gmail.com' |
ROOT_URLCONF | 'asirdavetiye.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
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 | 'asirdavetiye.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.StaticFilesStorage' |
STATIC_ROOT | '/home/asirdavetiye/panel/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['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']}}] |
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 | 'Europe/Istanbul' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'asirdavetiye.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.