Unclosed tag on line 176: 'for'. Looking for one of: empty, endfor.
Request Method: | GET |
---|---|
Request URL: | https://idesignbureau.com/en/otaq/11/ |
Django Version: | 3.2 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Unclosed tag on line 176: 'for'. Looking for one of: empty, endfor. |
Exception Location: | /home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py, line 544, in unclosed_block_tag |
Python Executable: | /home/kodergroup/idesignbureau/venv/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/home/kodergroup/idesignbureau', '/home/kodergroup/idesignbureau/venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 18:20:01 +0400 |
In template /home/kodergroup/idesignbureau/templates/filterotaq.html
, error at line 176
166 | </div> |
---|---|
167 | </div> |
168 | |
169 | </div> |
170 | </div> |
171 | |
172 | <nav class="top_menu_1"> |
173 | <div class="container"> |
174 | <ul class="clearfix"> |
175 | |
176 | {% for c in categories%} |
177 | <li class="item_menu " style=" width: 160px !important;"> |
178 | <a class="main-link" href="{% url 'fotooboys' %}" style=" font-family: system-ui; font-weight: 600; font-size:12px; padding: 0 11px 2px 51px;"> |
179 | <span class="icon oboi"></span>{% trans 'FOTOOBOY/ŞƏKİLLƏR/TAVAN'%}</a> |
180 | |
181 | </li> |
182 | <li class="item_menu " style=" width: 160px !important;"> |
183 | <a class="main-link" href="{% url 'fotooboys' %}" style=" font-family: system-ui; font-weight: 600; font-size:12px; padding: 0 11px 2px 51px;"> |
184 | <span class="icon freski"></span>{% trans 'DİVAR KAĞIZI'%}</a> |
185 | |
186 | </li> |
/home/kodergroup/idesignbureau/venv/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 | TemplateSyntaxError("Unclosed tag on line 176: 'for'. Looking for one of: empty, endfor.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f0ea6030cd0>> |
request | <WSGIRequest: GET '/en/otaq/11/'> |
/home/kodergroup/idesignbureau/venv/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 filterotaq at 0x7f0ea575e820> |
callback_args | () |
callback_kwargs | {'id': 11} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f0ea59a1fd0>> |
request | <WSGIRequest: GET '/en/otaq/11/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0ea6030cd0> |
wrapped_callback | <function filterotaq at 0x7f0ea575e820> |
/home/kodergroup/idesignbureau/home/views.py
, line 923, in filterotaq
'featured': featured,
'general': general,
'clients': clients,
'socials': socials,
'query': query,
}
return render(request, "filterotaq.html", context)…
def filterreng(request,id):
query = Color.objects.get(pk=id)
products = Product.objects.filter(color__pk=id)
featured = SubCategory.objects.filter()
Variable | Value |
---|---|
clients | <QuerySet [<Client: 2>, <Client: 3>, <Client: 4>, <Client: 5>, <Client: 6>, <Client: 7>, <Client: 8>, <Client: 9>, <Client: 10>, <Client: 11>, <Client: 12>, <Client: 13>, <Client: 14>, <Client: 15>, <Client: 16>]> |
context | {'clients': <QuerySet [<Client: 2>, <Client: 3>, <Client: 4>, <Client: 5>, <Client: 6>, <Client: 7>, <Client: 8>, <Client: 9>, <Client: 10>, <Client: 11>, <Client: 12>, <Client: 13>, <Client: 14>, <Client: 15>, <Client: 16>]>, 'featured': <MultilingualQuerySet [<SubCategory: EXCLUSIVE>, <SubCategory: 3D>, <SubCategory: 3D AQUARIUM>, <SubCategory: 3D BALCONY TERRACE>, <SubCategory: 3D BRIDGES>, <SubCategory: 3D CEILING>, <SubCategory: 3D CITY ROADS>, <SubCategory: 3D FALSE WALLS>, <SubCategory: 3D FLOWERS>, <SubCategory: 3D FRESCO LANDSCAPE>, <SubCategory: 3D GEOMETRIC FLOWERS>, <SubCategory: 3D GEOMETRIC WALLS>, <SubCategory: 3D GOLDEN FLOWERS>, <SubCategory: 3D HALLS>, <SubCategory: 3D LIBRARY>, <SubCategory: 3D PATHWAY PIRE>, <SubCategory: 3D STREETS>, <SubCategory: 3D WALL WITH LEAVES>, <SubCategory: 3D WINDOW VIEW>, <SubCategory: 3D АRCHES>, '...(remaining elements truncated)...']>, 'general': <General: General Informations>, 'products': <QuerySet []>, 'promobanner': <TopPromoBanner: Top Promo Banner>, 'query': <Room: Bathroom>, 'socials': <QuerySet []>} |
featured | <MultilingualQuerySet [<SubCategory: EXCLUSIVE>, <SubCategory: 3D>, <SubCategory: 3D AQUARIUM>, <SubCategory: 3D BALCONY TERRACE>, <SubCategory: 3D BRIDGES>, <SubCategory: 3D CEILING>, <SubCategory: 3D CITY ROADS>, <SubCategory: 3D FALSE WALLS>, <SubCategory: 3D FLOWERS>, <SubCategory: 3D FRESCO LANDSCAPE>, <SubCategory: 3D GEOMETRIC FLOWERS>, <SubCategory: 3D GEOMETRIC WALLS>, <SubCategory: 3D GOLDEN FLOWERS>, <SubCategory: 3D HALLS>, <SubCategory: 3D LIBRARY>, <SubCategory: 3D PATHWAY PIRE>, <SubCategory: 3D STREETS>, <SubCategory: 3D WALL WITH LEAVES>, <SubCategory: 3D WINDOW VIEW>, <SubCategory: 3D АRCHES>, '...(remaining elements truncated)...']> |
general | <General: General Informations> |
id | 11 |
products | <QuerySet []> |
promobanner | <TopPromoBanner: Top Promo Banner> |
query | <Room: Bathroom> |
request | <WSGIRequest: GET '/en/otaq/11/'> |
socials | <QuerySet []> |
/home/kodergroup/idesignbureau/venv/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 | {'clients': <QuerySet [<Client: 2>, <Client: 3>, <Client: 4>, <Client: 5>, <Client: 6>, <Client: 7>, <Client: 8>, <Client: 9>, <Client: 10>, <Client: 11>, <Client: 12>, <Client: 13>, <Client: 14>, <Client: 15>, <Client: 16>]>, 'featured': <MultilingualQuerySet [<SubCategory: EXCLUSIVE>, <SubCategory: 3D>, <SubCategory: 3D AQUARIUM>, <SubCategory: 3D BALCONY TERRACE>, <SubCategory: 3D BRIDGES>, <SubCategory: 3D CEILING>, <SubCategory: 3D CITY ROADS>, <SubCategory: 3D FALSE WALLS>, <SubCategory: 3D FLOWERS>, <SubCategory: 3D FRESCO LANDSCAPE>, <SubCategory: 3D GEOMETRIC FLOWERS>, <SubCategory: 3D GEOMETRIC WALLS>, <SubCategory: 3D GOLDEN FLOWERS>, <SubCategory: 3D HALLS>, <SubCategory: 3D LIBRARY>, <SubCategory: 3D PATHWAY PIRE>, <SubCategory: 3D STREETS>, <SubCategory: 3D WALL WITH LEAVES>, <SubCategory: 3D WINDOW VIEW>, <SubCategory: 3D АRCHES>, '...(remaining elements truncated)...']>, 'general': <General: General Informations>, 'products': <QuerySet []>, 'promobanner': <TopPromoBanner: Top Promo Banner>, 'query': <Room: Bathroom>, 'socials': <QuerySet []>} |
request | <WSGIRequest: GET '/en/otaq/11/'> |
status | None |
template_name | 'filterotaq.html' |
using | None |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/loader.py
, line 61, in render_to_string
Load a template and render it with a context. Return a 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 | {'clients': <QuerySet [<Client: 2>, <Client: 3>, <Client: 4>, <Client: 5>, <Client: 6>, <Client: 7>, <Client: 8>, <Client: 9>, <Client: 10>, <Client: 11>, <Client: 12>, <Client: 13>, <Client: 14>, <Client: 15>, <Client: 16>]>, 'featured': <MultilingualQuerySet [<SubCategory: EXCLUSIVE>, <SubCategory: 3D>, <SubCategory: 3D AQUARIUM>, <SubCategory: 3D BALCONY TERRACE>, <SubCategory: 3D BRIDGES>, <SubCategory: 3D CEILING>, <SubCategory: 3D CITY ROADS>, <SubCategory: 3D FALSE WALLS>, <SubCategory: 3D FLOWERS>, <SubCategory: 3D FRESCO LANDSCAPE>, <SubCategory: 3D GEOMETRIC FLOWERS>, <SubCategory: 3D GEOMETRIC WALLS>, <SubCategory: 3D GOLDEN FLOWERS>, <SubCategory: 3D HALLS>, <SubCategory: 3D LIBRARY>, <SubCategory: 3D PATHWAY PIRE>, <SubCategory: 3D STREETS>, <SubCategory: 3D WALL WITH LEAVES>, <SubCategory: 3D WINDOW VIEW>, <SubCategory: 3D АRCHES>, '...(remaining elements truncated)...']>, 'general': <General: General Informations>, 'products': <QuerySet []>, 'promobanner': <TopPromoBanner: Top Promo Banner>, 'query': <Room: Bathroom>, 'socials': <QuerySet []>} |
request | <WSGIRequest: GET '/en/otaq/11/'> |
template_name | 'filterotaq.html' |
using | None |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/loader.py
, line 15, in get_template
Raise TemplateDoesNotExist if no such template exists.
"""
chain = []
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)…
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f0ea56630a0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f0ea56630a0>] |
template_name | 'filterotaq.html' |
using | None |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/backends/django.py
, line 34, in get_template
self.engine = Engine(self.dirs, self.app_dirs, **options)
def from_string(self, template_code):
return Template(self.engine.from_string(template_code), self)
def get_template(self, template_name):
try:
return Template(self.engine.get_template(template_name), self)…
except TemplateDoesNotExist as exc:
reraise(exc, self)
def get_templatetag_libraries(self, custom_libraries):
"""
Return a collation of template tag libraries from installed
Variable | Value |
---|---|
self | <django.template.backends.django.DjangoTemplates object at 0x7f0ea56630a0> |
template_name | 'filterotaq.html' |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/engine.py
, line 143, in get_template
return Template(template_code, engine=self)
def get_template(self, template_name):
"""
Return a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = self.find_template(template_name)…
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
def render_to_string(self, template_name, context=None):
Variable | Value |
---|---|
self | <django.template.engine.Engine object at 0x7f0ea5663070> |
template_name | 'filterotaq.html' |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/engine.py
, line 125, in find_template
raise ImproperlyConfigured(
"Invalid value in template loaders configuration: %r" % loader)
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
try:
template = loader.get_template(name, skip=skip)…
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
raise TemplateDoesNotExist(name, tried=tried)
def from_string(self, template_code):
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.filesystem.Loader object at 0x7f0ea5663250> |
name | 'filterotaq.html' |
self | <django.template.engine.Engine object at 0x7f0ea5663070> |
skip | None |
tried | [] |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/loaders/base.py
, line 29, in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(…
contents, origin, origin.template_name, self.engine,
)
raise TemplateDoesNotExist(template_name, tried=tried)
def get_template_sources(self, template_name):
Variable | Value |
---|---|
contents | ('{% load static i18n %}\n' '{% get_current_language as LANGUAGE_CODE %}\n' '<!DOCTYPE html>\n' '<html itemscope itemtype="http://schema.org/WebPage">\n' '<head><meta name="p:domain_verify" ' 'content="05565cae1bed5ebd06354bbd8a62fd24"/><script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-G6MKRLSFEQ"></script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'G-G6MKRLSFEQ');\n" '</script>\n' ' <meta name="nameserver" content="LIVE">\n' ' <meta name="description" content="iDesign Bureau şirkəti artıq 10 ildən ' 'çox bazarda yüksək keyfiyyətli foto divar kağızları və freskalar istehsal ' 'edir. ">\n' '\n' ' <title>iDesign Bureau</title>\n' '\t\n' '\n' '\n' '\n' '\n' '\n' ' <!--[if lt IE 9]><script ' 'src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->\n' ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> \n' ' <meta name="viewport" content="width=device-width, initial-scale=1, ' 'maximum-scale=1">\n' ' \n' ' <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">\n' ' \n' " <meta name='yandex-verification' content='58951250a690fe6d' />\n" ' <meta name="google-site-verification" ' 'content="LIT4t_3gktWJVrpTpFTRRkrApFWZkzkEmPTEFmjEQkQ" />\n' " <meta name='yandex-verification' content='729b52e5c3bcb68d' />\n" ' <meta name="yandex-verification" content="58951250a690fe6d" />\n' ' <meta name="cmsmagazine" content="092f0df6e32ac917a7d298c4265042e4" />\n' ' <meta name="yandex-verification" content="7f935cbb666e2ee4" />\n' ' \n' ' <meta name="yandex-verification" content="c7ac87cea76f8192" />\n' ' \n' ' \n' ' \n' ' <style>\n' ' @media only screen and (max-width: 768px){\n' ' .sdfvsdfvsdsfv {\n' ' top: 39% !important;\n' ' }}\n' ' .btn-whatsapp a {\n' ' width: 56px !important;\n' ' height: 56px !important;\n' ' margin: 3px 0 !important;\n' '}\n' ' .btn-whatsapp {\n' ' \n' ' right: 31px !important;\n' ' bottom: 26px !important;\n' ' }\n' ' @media only screen and (max-width: 600px) {\n' ' \n' ' footer .social {\n' ' padding: 0;\n' ' margin-top: 33px !important;\n' ' }\n' ' .block-process-landing .wrrp {\n' ' background: none !important;\n' ' }\n' ' \n' ' }\t\n' ' \n' ' </style>\n' ' \n' ' <link rel="stylesheet" href="{% static \'css/main.min.css\'%}" ' 'type="text/css" />\n' ' \n' ' \n' ' <script src="https://code.jquery.com/jquery-2.2.4.min.js" ' 'integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" ' 'crossorigin="anonymous"></script>\n' ' \n' ' \n' ' <style>\n' '\t@media only screen and (max-width: 600px) {\n' ' .logo {\n' ' width: 41px !important;\n' '}\n' '.searchasdgas {\n' ' display:none !important;\n' '}\n' '.footerlogo {\n' ' width: 100px !important;\n' ' margin: 3px 0 -40px -17px !important;\n' '\n' '}\n' '}\t\n' '\t\n' '\t</style>\n' ' \n' '\n' '<meta name="msfavorites:version" content="3.0.5-beta">\n' '<meta name="msfavorites:ctx" content="web">\n' '<style>\n' '\n' '.block-process-landing .wrrp {\n' ' background: url(/static/images/path.png) no-repeat center;\n' ' height: 412px;\n' ' margin-top: 50px;\n' '}\n' '</style>\n' '<link rel="icon" type="image/x-icon" href="{% static ' '\'images/logo.png\'%}">\n' '</head>\n' '<body><!-- Messenger Chat Plugin Code -->\n' '\n' '\n' '<header class="header">\n' " {% if LANGUAGE_CODE == 'en'%}\n" ' <div class="top-promo" style="background-image: ' 'url({{promobanner.english_banner.url}})"></div>\n' " {% elif LANGUAGE_CODE == 'az'%}\n" ' <div class="top-promo" style="background-image: ' 'url({{promobanner.azerbaijan_banner.url}})"></div>\n' " {% elif LANGUAGE_CODE == 'ru'%}\n" ' <di… <trimmed 39958 bytes string> |
origin | <django.template.base.Origin object at 0x7f0ea50bc490> |
self | <django.template.loaders.filesystem.Loader object at 0x7f0ea5663250> |
skip | None |
template_name | 'filterotaq.html' |
tried | [] |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 155, in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = str(template_string) # May be lazy.
self.nodelist = self.compile_nodelist()…
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7f0ea5663070> |
name | 'filterotaq.html' |
origin | <django.template.base.Origin object at 0x7f0ea50bc490> |
self | <django.template.base.Template object at 0x7f0ea50bcee0> |
template_string | ('{% load static i18n %}\n' '{% get_current_language as LANGUAGE_CODE %}\n' '<!DOCTYPE html>\n' '<html itemscope itemtype="http://schema.org/WebPage">\n' '<head><meta name="p:domain_verify" ' 'content="05565cae1bed5ebd06354bbd8a62fd24"/><script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-G6MKRLSFEQ"></script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'G-G6MKRLSFEQ');\n" '</script>\n' ' <meta name="nameserver" content="LIVE">\n' ' <meta name="description" content="iDesign Bureau şirkəti artıq 10 ildən ' 'çox bazarda yüksək keyfiyyətli foto divar kağızları və freskalar istehsal ' 'edir. ">\n' '\n' ' <title>iDesign Bureau</title>\n' '\t\n' '\n' '\n' '\n' '\n' '\n' ' <!--[if lt IE 9]><script ' 'src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->\n' ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> \n' ' <meta name="viewport" content="width=device-width, initial-scale=1, ' 'maximum-scale=1">\n' ' \n' ' <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">\n' ' \n' " <meta name='yandex-verification' content='58951250a690fe6d' />\n" ' <meta name="google-site-verification" ' 'content="LIT4t_3gktWJVrpTpFTRRkrApFWZkzkEmPTEFmjEQkQ" />\n' " <meta name='yandex-verification' content='729b52e5c3bcb68d' />\n" ' <meta name="yandex-verification" content="58951250a690fe6d" />\n' ' <meta name="cmsmagazine" content="092f0df6e32ac917a7d298c4265042e4" />\n' ' <meta name="yandex-verification" content="7f935cbb666e2ee4" />\n' ' \n' ' <meta name="yandex-verification" content="c7ac87cea76f8192" />\n' ' \n' ' \n' ' \n' ' <style>\n' ' @media only screen and (max-width: 768px){\n' ' .sdfvsdfvsdsfv {\n' ' top: 39% !important;\n' ' }}\n' ' .btn-whatsapp a {\n' ' width: 56px !important;\n' ' height: 56px !important;\n' ' margin: 3px 0 !important;\n' '}\n' ' .btn-whatsapp {\n' ' \n' ' right: 31px !important;\n' ' bottom: 26px !important;\n' ' }\n' ' @media only screen and (max-width: 600px) {\n' ' \n' ' footer .social {\n' ' padding: 0;\n' ' margin-top: 33px !important;\n' ' }\n' ' .block-process-landing .wrrp {\n' ' background: none !important;\n' ' }\n' ' \n' ' }\t\n' ' \n' ' </style>\n' ' \n' ' <link rel="stylesheet" href="{% static \'css/main.min.css\'%}" ' 'type="text/css" />\n' ' \n' ' \n' ' <script src="https://code.jquery.com/jquery-2.2.4.min.js" ' 'integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" ' 'crossorigin="anonymous"></script>\n' ' \n' ' \n' ' <style>\n' '\t@media only screen and (max-width: 600px) {\n' ' .logo {\n' ' width: 41px !important;\n' '}\n' '.searchasdgas {\n' ' display:none !important;\n' '}\n' '.footerlogo {\n' ' width: 100px !important;\n' ' margin: 3px 0 -40px -17px !important;\n' '\n' '}\n' '}\t\n' '\t\n' '\t</style>\n' ' \n' '\n' '<meta name="msfavorites:version" content="3.0.5-beta">\n' '<meta name="msfavorites:ctx" content="web">\n' '<style>\n' '\n' '.block-process-landing .wrrp {\n' ' background: url(/static/images/path.png) no-repeat center;\n' ' height: 412px;\n' ' margin-top: 50px;\n' '}\n' '</style>\n' '<link rel="icon" type="image/x-icon" href="{% static ' '\'images/logo.png\'%}">\n' '</head>\n' '<body><!-- Messenger Chat Plugin Code -->\n' '\n' '\n' '<header class="header">\n' " {% if LANGUAGE_CODE == 'en'%}\n" ' <div class="top-promo" style="background-image: ' 'url({{promobanner.english_banner.url}})"></div>\n' " {% elif LANGUAGE_CODE == 'az'%}\n" ' <div class="top-promo" style="background-image: ' 'url({{promobanner.azerbaijan_banner.url}})"></div>\n' " {% elif LANGUAGE_CODE == 'ru'%}\n" ' <di… <trimmed 39958 bytes string> |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 193, in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()…
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
lexer | <django.template.base.DebugLexer object at 0x7f0ea50bc6d0> |
parser | <django.template.base.Parser object at 0x7f0ea525c1f0> |
self | <django.template.base.Template object at 0x7f0ea50bcee0> |
tokens | [<django.template.base.Token object at 0x7f0ea50bca30>, <django.template.base.Token object at 0x7f0ea50bc7c0>, <django.template.base.Token object at 0x7f0ea50bc5e0>, <django.template.base.Token object at 0x7f0ea5056640>, <django.template.base.Token object at 0x7f0ea5056790>, <django.template.base.Token object at 0x7f0ea50566d0>, <django.template.base.Token object at 0x7f0ea5056970>, <django.template.base.Token object at 0x7f0ea5056f70>, <django.template.base.Token object at 0x7f0ea50569a0>, <django.template.base.Token object at 0x7f0ea5056910>, <django.template.base.Token object at 0x7f0ea5056850>, <django.template.base.Token object at 0x7f0ea5349af0>, <django.template.base.Token object at 0x7f0ea5349b80>, <django.template.base.Token object at 0x7f0ea5349340>, <django.template.base.Token object at 0x7f0ea5349bb0>, <django.template.base.Token object at 0x7f0ea5349460>, <django.template.base.Token object at 0x7f0ea5349160>, <django.template.base.Token object at 0x7f0ea5349d00>, <django.template.base.Token object at 0x7f0ea5349a60>, <django.template.base.Token object at 0x7f0ea5349400>, <django.template.base.Token object at 0x7f0ea53492e0>, <django.template.base.Token object at 0x7f0ea5349c70>, <django.template.base.Token object at 0x7f0ea5349fd0>, <django.template.base.Token object at 0x7f0ea5349df0>, <django.template.base.Token object at 0x7f0ea53499d0>, <django.template.base.Token object at 0x7f0ea53499a0>, <django.template.base.Token object at 0x7f0ea5349250>, <django.template.base.Token object at 0x7f0ea53497c0>, <django.template.base.Token object at 0x7f0ea5349640>, <django.template.base.Token object at 0x7f0ea5338ca0>, <django.template.base.Token object at 0x7f0ea53388b0>, <django.template.base.Token object at 0x7f0ea5338d60>, <django.template.base.Token object at 0x7f0ea5338160>, <django.template.base.Token object at 0x7f0ea5338f70>, <django.template.base.Token object at 0x7f0ea5338bb0>, <django.template.base.Token object at 0x7f0ea53385b0>, <django.template.base.Token object at 0x7f0ea5338be0>, <django.template.base.Token object at 0x7f0ea52dc2b0>, <django.template.base.Token object at 0x7f0ea52dc3d0>, <django.template.base.Token object at 0x7f0ea534c220>, <django.template.base.Token object at 0x7f0ea534c7f0>, <django.template.base.Token object at 0x7f0ea534cd90>, <django.template.base.Token object at 0x7f0ea534c760>, <django.template.base.Token object at 0x7f0ea534ceb0>, <django.template.base.Token object at 0x7f0ea534c910>, <django.template.base.Token object at 0x7f0ea534c9d0>, <django.template.base.Token object at 0x7f0ea534c700>, <django.template.base.Token object at 0x7f0ea534c6d0>, <django.template.base.Token object at 0x7f0ea534c310>, <django.template.base.Token object at 0x7f0ea534c430>, <django.template.base.Token object at 0x7f0ea534cf10>, <django.template.base.Token object at 0x7f0ea534c8b0>, <django.template.base.Token object at 0x7f0ea534ca30>, <django.template.base.Token object at 0x7f0ea534cbb0>, <django.template.base.Token object at 0x7f0ea534cd60>, <django.template.base.Token object at 0x7f0ea562e790>, <django.template.base.Token object at 0x7f0ea562ef10>, <django.template.base.Token object at 0x7f0ea562efa0>, <django.template.base.Token object at 0x7f0ea562e910>, <django.template.base.Token object at 0x7f0ea562e4f0>, <django.template.base.Token object at 0x7f0ea562e6d0>, <django.template.base.Token object at 0x7f0ea562e8e0>, <django.template.base.Token object at 0x7f0ea562e130>, <django.template.base.Token object at 0x7f0ea562eeb0>, <django.template.base.Token object at 0x7f0ea562e550>, <django.template.base.Token object at 0x7f0ea562e5b0>, <django.template.base.Token object at 0x7f0ea562ebb0>, <django.template.base.Token object at 0x7f0ea562e970>, <django.template.base.Token object at 0x7f0ea562e100>, <django.template.base.Token object at 0x7f0ea562ea90>, <django.template.base.Token object at 0x7f0ea562e310>, <django.template.base.Token object at 0x7f0ea5178670>, <django.template.base.Token object at 0x7f0ea5178760>, <django… <trimmed 19039 bytes string> |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 478, in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'for' |
compile_func | <function do_for at 0x7f0ea7c79670> |
compiled_result | <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0160> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f0ea525c070>, <TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f0ea525cdc0>, <TextNode: '\n<!DOCTYPE html>\n<html it'>, <django.templatetags.static.StaticNode object at 0x7f0ea525ccd0>, <TextNode: '" type="text/css" />\n '>, <django.templatetags.static.StaticNode object at 0x7f0ea525cbb0>, <TextNode: '">\n</head>\n<body><!-- Mes'>, <IfNode>, <TextNode: '\n\n <div class="top-lin'>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9df10>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9d9d0>, <TextNode: '</a>\n <a class'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9db50>, <TextNode: '</a>\n <a class'>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9d5b0>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9d430>, <TextNode: '</a>\n <!-- <a '>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9ddf0>, <TextNode: '" >'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9dac0>, <TextNode: '</a>\n\t\t\t\n\t\t\t<table style='>, <django.templatetags.static.StaticNode object at 0x7f0ea4f9d8e0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea4f9dfa0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea50139a0>, <TextNode: '" style=" width: 20px; "/'>, <django.template.defaulttags.URLNode object at 0x7f0ea50134f0>, <TextNode: '">\n\t\t\t <img src="'>, <django.templatetags.static.StaticNode object at 0x7f0ea5013250>, <TextNode: '" style="width:70px;margi'>, <django.template.defaulttags.URLNode object at 0x7f0ea5013850>, <TextNode: '"><span>'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013820>, <TextNode: '</span></a>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea50139d0>, <TextNode: '</span>\n \t\t\t</div>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013e20>, <TextNode: '</span><br>\n \t\t '>, <django.templatetags.static.StaticNode object at 0x7f0ea5013880>, <TextNode: '"><span class="phone_bran'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013ca0>, <TextNode: ' 08.00 - 21.00 </span><br'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0a90>, <TextNode: '</span></div>\n\t\t\t '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0160>, <TextNode: '</span></a>\n \t\t\t</div>'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f0ea525c1f0> |
token | <django.template.base.Token object at 0x7f0ea562e130> |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 476, in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'for' |
compile_func | <function do_for at 0x7f0ea7c79670> |
compiled_result | <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0160> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f0ea525c070>, <TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f0ea525cdc0>, <TextNode: '\n<!DOCTYPE html>\n<html it'>, <django.templatetags.static.StaticNode object at 0x7f0ea525ccd0>, <TextNode: '" type="text/css" />\n '>, <django.templatetags.static.StaticNode object at 0x7f0ea525cbb0>, <TextNode: '">\n</head>\n<body><!-- Mes'>, <IfNode>, <TextNode: '\n\n <div class="top-lin'>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9df10>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9d9d0>, <TextNode: '</a>\n <a class'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9db50>, <TextNode: '</a>\n <a class'>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9d5b0>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9d430>, <TextNode: '</a>\n <!-- <a '>, <django.template.defaulttags.URLNode object at 0x7f0ea4f9ddf0>, <TextNode: '" >'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f9dac0>, <TextNode: '</a>\n\t\t\t\n\t\t\t<table style='>, <django.templatetags.static.StaticNode object at 0x7f0ea4f9d8e0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea4f9dfa0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea50139a0>, <TextNode: '" style=" width: 20px; "/'>, <django.template.defaulttags.URLNode object at 0x7f0ea50134f0>, <TextNode: '">\n\t\t\t <img src="'>, <django.templatetags.static.StaticNode object at 0x7f0ea5013250>, <TextNode: '" style="width:70px;margi'>, <django.template.defaulttags.URLNode object at 0x7f0ea5013850>, <TextNode: '"><span>'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013820>, <TextNode: '</span></a>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea50139d0>, <TextNode: '</span>\n \t\t\t</div>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013e20>, <TextNode: '</span><br>\n \t\t '>, <django.templatetags.static.StaticNode object at 0x7f0ea5013880>, <TextNode: '"><span class="phone_bran'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5013ca0>, <TextNode: ' 08.00 - 21.00 </span><br'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0a90>, <TextNode: '</span></div>\n\t\t\t '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0160>, <TextNode: '</span></a>\n \t\t\t</div>'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f0ea525c1f0> |
token | <django.template.base.Token object at 0x7f0ea562e130> |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/defaulttags.py
, line 814, in do_for
loopvars = re.split(r' *, *', ' '.join(bits[1:in_index]))
for var in loopvars:
if not var or not invalid_chars.isdisjoint(var):
raise TemplateSyntaxError("'for' tag received an invalid argument:"
" %s" % token.contents)
sequence = parser.compile_filter(bits[in_index + 1])
nodelist_loop = parser.parse(('empty', 'endfor',))…
token = parser.next_token()
if token.contents == 'empty':
nodelist_empty = parser.parse(('endfor',))
parser.delete_first_token()
else:
nodelist_empty = None
Variable | Value |
---|---|
bits | ['for', 'c', 'in', 'categories'] |
in_index | -2 |
invalid_chars | frozenset({'|', "'", '"', ' '}) |
is_reversed | False |
loopvars | ['c'] |
parser | <django.template.base.Parser object at 0x7f0ea525c1f0> |
sequence | <django.template.base.FilterExpression object at 0x7f0ea53d0dc0> |
token | <django.template.base.Token object at 0x7f0ea562e130> |
var | 'c' |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 483, in parse
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)…
return nodelist
def skip_past(self, endtag):
while self.tokens:
token = self.next_token()
if token.token_type == TokenType.BLOCK and token.contents == endtag:
Variable | Value |
---|---|
command | 'static' |
compile_func | <function do_static at 0x7f0ea816a4c0> |
compiled_result | <django.templatetags.static.StaticNode object at 0x7f0ea56563a0> |
filter_expression | <django.template.base.FilterExpression object at 0x7f0ea5124f10> |
nodelist | [<TextNode: '\n <li class="i'>, <django.template.defaulttags.URLNode object at 0x7f0ea53d0a30>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0550>, <TextNode: '</a>\n \n '>, <django.template.defaulttags.URLNode object at 0x7f0ea53d07c0>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d06d0>, <TextNode: '</a>\n \n '>, <django.template.defaulttags.URLNode object at 0x7f0ea53d0d60>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea53d0580>, <TextNode: '</a>\n \n '>, <django.template.defaulttags.URLNode object at 0x7f0ea53d0b80>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050bb0>, <TextNode: '</a>\n \n '>, <django.template.defaulttags.URLNode object at 0x7f0ea5050370>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050490>, <TextNode: '</a>\n </li>\n '>, <django.template.defaulttags.URLNode object at 0x7f0ea5050ac0>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050cd0>, <TextNode: '</a>\n </li>\n '>, <django.template.defaulttags.URLNode object at 0x7f0ea5050f70>, <TextNode: '" style=" font-family: sy'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050c70>, <TextNode: '</a>\n \n '>, <django.template.defaulttags.URLNode object at 0x7f0ea5050640>, <TextNode: '" method="get" class="sea'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050d60>, <TextNode: '</span></div> \n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5050880>, <TextNode: ' ...." value=""/>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea50506d0>, <TextNode: '</button>\n '>, <django.template.defaulttags.URLNode object at 0x7f0ea5022c40>, <TextNode: '"><span class="icon main"'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5022490>, <TextNode: '</a></li>\n\t\t \n\t\t <li cl'>, <django.template.defaulttags.URLNode object at 0x7f0ea5022190>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea50224c0>, <TextNode: '</a>\n\t\t </li>\n\t\t\t<li c'>, <django.template.defaulttags.URLNode object at 0x7f0ea5022850>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5022790>, <TextNode: '</a>\n\t\t </li>\n\t\t\t<li c'>, <django.template.defaulttags.URLNode object at 0x7f0ea5022640>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5022e20>, <TextNode: '</a>\n\t\t </li>\n\t\t\t<li c'>, <django.template.defaulttags.URLNode object at 0x7f0ea5022f70>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5022be0>, <TextNode: '</a>\n\t\t </li>\n\t\t\t<li c'>, <django.template.defaulttags.URLNode object at 0x7f0ea5022820>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5022b20>, <TextNode: '</a>\n\t\t </li>\n\t\t\t<li c'>, <django.template.defaulttags.URLNode object at 0x7f0ea4f5feb0>, <TextNode: '" class="dropdown" style='>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea4f5f610>, <TextNode: '</a>\n\t\t </li>\n '>, <django.templatetags.static.StaticNode object at 0x7f0ea4f5fd90>, <TextNode: '" style=" width: 20px; "'>, <django.templatetags.static.StaticNode object at 0x7f0ea4f5f6d0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea5124cd0>, <TextNode: '" style=" width: 20px; "/'>, <django.templatetags.static.StaticNode object at 0x7f0ea5124f40>, <TextNode: '" alt=""></a>\n\t \n</header'>, <django.templatetags.i18n.TranslateNode object at 0x7f0ea5124100>, <TextNod… <trimmed 9678 bytes string> |
parse_until | ('empty', 'endfor') |
self | <django.template.base.Parser object at 0x7f0ea525c1f0> |
token | <django.template.base.Token object at 0x7f0ea50bcac0> |
var_node | <Variable Node: query.name> |
/home/kodergroup/idesignbureau/venv/lib/python3.8/site-packages/django/template/base.py
, line 544, in unclosed_block_tag
def unclosed_block_tag(self, parse_until):
command, token = self.command_stack.pop()
msg = "Unclosed tag on line %d: '%s'. Looking for one of: %s." % (
token.lineno,
command,
', '.join(parse_until),
)
raise self.error(token, msg)…
def next_token(self):
return self.tokens.pop()
def prepend_token(self, token):
self.tokens.append(token)
Variable | Value |
---|---|
command | 'for' |
msg | "Unclosed tag on line 176: 'for'. Looking for one of: empty, endfor." |
parse_until | ('empty', 'endfor') |
self | <django.template.base.Parser object at 0x7f0ea525c1f0> |
token | <django.template.base.Token object at 0x7f0ea562e130> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'idesignbureau.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.202.128.177' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '44.202.128.177' |
PATH_INFO | '/en/otaq/11/' |
QUERY_STRING | '' |
RAW_URI | '/en/otaq/11/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'idesignbureau.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=12, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/run/gunicorn.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f0ea515ff10> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f0ea515f5e0> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
config.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 | PosixPath('/home/kodergroup/idesignbureau') |
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.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'idesignbureau', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'kodergroup'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 5242880 |
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 | 'idesignbureaubaku@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 | 2621440 |
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', 'django.contrib.sitemaps', 'django.contrib.sites', 'home', 'product', 'translations', 'modeltranslation', 'evdekor', 'fotooboy', 'skinali', 'shop', 'carpet', 'furniture', 'blog', 'catalog', 'dashboard', 'django_summernote'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'), ('az', 'Azerbaijan'), ('ru', 'Russian')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'az' |
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 | ['/home/kodergroup/idesignbureau/locale'] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/kodergroup/idesignbureau/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', '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 |
ROOT_URLCONF | 'config.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 | 'config.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/home/kodergroup/idesignbureau/static/'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/kodergroup/idesignbureau/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 | 'Asia/Baku' |
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 | 'config.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.