more than one row returned by a subquery used as an expression
Request Method: | GET |
---|---|
Request URL: | https://upu.com.ua/en/landing/archive/psihoanaliticheskij-piknik/ |
Django Version: | 1.11.10 |
Exception Type: | ProgrammingError |
Exception Value: | more than one row returned by a subquery used as an expression |
Exception Location: | /home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/backends/utils.py in execute, line 64 |
Python Executable: | /home/support/www/upu.com.ua/venv/bin/python3 |
Python Version: | 3.5.2 |
Python Path: | ['/home/support/www/upu.com.ua', '/home/support/www/upu.com.ua/venv/bin', '/home/support/www/upu.com.ua/venv/lib/python35.zip', '/home/support/www/upu.com.ua/venv/lib/python3.5', '/home/support/www/upu.com.ua/venv/lib/python3.5/plat-x86_64-linux-gnu', '/home/support/www/upu.com.ua/venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages'] |
Server time: | Fri, 29 Mar 2024 09:52:15 +0200 |
In template /home/support/www/upu.com.ua/templates/base.html
, error at line 0
1 | {% load i18n %} |
---|---|
2 | {% load static %} |
3 | <!DOCTYPE html> |
4 | <html lang="en"> |
5 | <head> |
6 | <!-- Start : Meta --> |
7 | <meta charset="utf-8"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
9 | <meta http-equiv="x-ua-compatible" content="ie=edge"> |
10 | <!-- Start : Property --> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/backends/utils.py
in execute
def execute(self, sql, params=None):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)...
def executemany(self, sql, param_list):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
return self.cursor.executemany(sql, param_list)
Variable | Value |
---|---|
params | (True,) |
self | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = %s) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
/home/support/www/upu.com.ua/venv/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 | ProgrammingError('more than one row returned by a subquery used as an expression\n',) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe2c12540f0>> |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
/home/support/www/upu.com.ua/venv/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 LandinDetail at 0x7fe2c0f7a048> |
callback_args | () |
callback_kwargs | {'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe2c1042710>> |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
resolver | <RegexURLResolver 'upu.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=landing.views.LandinDetail, args=(), kwargs={'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'}, url_name=landing_detail, app_names=[], namespaces=['landing']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe2c12540f0> |
wrapped_callback | <function LandinDetail at 0x7fe2c0f7a048> |
/home/support/www/upu.com.ua/venv/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 LandinDetail at 0x7fe2c0f7a048> |
callback_args | () |
callback_kwargs | {'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe2c1042710>> |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
resolver | <RegexURLResolver 'upu.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=landing.views.LandinDetail, args=(), kwargs={'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'}, url_name=landing_detail, app_names=[], namespaces=['landing']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe2c12540f0> |
wrapped_callback | <function LandinDetail at 0x7fe2c0f7a048> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'landing.views.LandinDetail'> |
initkwargs | {} |
kwargs | {'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'} |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
self | <landing.views.LandinDetail object at 0x7fe2c087a5f8> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method LandinDetail.get of <landing.views.LandinDetail object at 0x7fe2c087a5f8>> |
kwargs | {'category_slug': 'archive', 'landing_page': 'psihoanaliticheskij-piknik'} |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
self | <landing.views.LandinDetail object at 0x7fe2c087a5f8> |
/home/support/www/upu.com.ua/landing/views.py
in get
'landing_events': landing_events,
'landing_advantages': landing_advantages,
'landing_advantages_item': landing_advantages_item,
'landing_speacers': landing_speacers,
'landing_speacers_item': landing_speacers_item,
'phone_numbers': phone_numbers,
}
return render(request, templates, context)...
def post(self, request, *args, **kwargs):
if request.POST.get('form_type') == 'payment_other':
form_first_name = request.POST.get('first_name')
form_last_name = request.POST.get('last_name')
form_phone = request.POST.get('phone')
Variable | Value |
---|---|
args | () |
category_slug | 'archive' |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
kwargs | {} |
landing_advantages | <QuerySet [<LandingAdvantages: Преимущества - Образ Другого>, <LandingAdvantages: Преимущества - Метаморфозы либидо>]> |
landing_advantages_item | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
landing_events | <QuerySet [<LandingPage: Семінар Н.Кривулі « Перенесення: пристрасть і ненависть в аналітичному просторі»>, <LandingPage: Семінар О.Медведєвоі «Демони печалі: депресія і меланхолія»>, <LandingPage: Симпозіум «Виклики псиспеціалістам в роботі з онкохворими»>, <LandingPage: Профессиональный курс "Психоаналіз подружніх пар">]> |
landing_page | <LandingPage: Психоаналитический пикник> |
landing_services | <QuerySet [<LandingPage: Групповая супервизия>, <LandingPage: Индивидуальное супервизирование>, <LandingPage: Семейная терапия>, <LandingPage: Психоанализ и психотерапия>, <LandingPage: Подростковый психолог>, <LandingPage: Консультации психолога>, <LandingPage: Индивидуальная психотерапия>, <LandingPage: Детский психолог>, <LandingPage: Групповая терапия>, <LandingPage: Арт Терапия>]> |
landing_speacers | <QuerySet [<LandingSpeacers: Симпозиум "Мазохизм">, <LandingSpeacers: Многоликий нарциссизм>]> |
landing_speacers_item | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
phone_numbers | <QuerySet [<PhoneNumbers: Консультационный центр>]> |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
self | <landing.views.LandinDetail object at 0x7fe2c087a5f8> |
templates | 'landing/landing_detail.html' |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Returns 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, **kwargs):
"""
Returns an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
status | None |
template_name | 'landing/landing_detail.html' |
using | None |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/loader.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
template | <django.template.backends.django.Template object at 0x7fe2c087a208> |
template_name | 'landing/landing_detail.html' |
using | None |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/backends/django.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
request | <WSGIRequest: GET '/en/landing/archive/psihoanaliticheskij-piknik/'> |
self | <django.template.backends.django.Template object at 0x7fe2c087a208> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <django.template.base.Template object at 0x7fe2c0876c50> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <django.template.base.Template object at 0x7fe2c0876c50> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <ExtendsNode: extends "base.html"> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/loader_tags.py
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, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7fe2c08e4240> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n '>]>, 'map-script': <Block Node: map-script. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7fe2c0941f98> |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
node | <django.template.defaulttags.LoadNode object at 0x7fe2c0b2b5c0> |
self | <ExtendsNode: extends "base.html"> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <django.template.base.Template object at 0x7fe2c0941f98> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['', '\n', '', '\n' '<!DOCTYPE html>\n' '<html lang="en">\n' '<head>\n' ' <!-- Start : Meta -->\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1, ' 'shrink-to-fit=no">\n' ' <meta http-equiv="x-ua-compatible" content="ie=edge">\n' ' <!-- Start : Property -->\n' ' <meta property="og:title" content="Український Психоаналітичний Союз" ' '/>\n' ' <meta property="og:image" ' 'content="http://upu.com.ua/img/logo/logo-black.png" />\n' ' <meta property="og:image:width" content="150" />\n' ' <meta property="og:image:height" content="150" />\n' ' <!-- Start : Meta -->\n' ' <meta name="description" content="">\n' ' <meta name="keywords" content="">\n' ' <!-- Start : Favicon -->\n' ' <link rel="shortcut icon" href="', '/static/img/favicon/favicon.ico', '" type="image/x-icon">\n <!-- Start : Title -->\n <title>', 'UPU | Ukrainian Psychoanalytic Union', '</title>\n' ' <!-- Start : Font -->\n' ' <link rel="stylesheet" ' 'href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">\n' ' <!-- Start : Style -->\n' ' <link rel="stylesheet" href="', '/static/css/compiled.min.css', '">\n <link rel="stylesheet" href="', '/static/css/app.css', '">\n <link rel="stylesheet" href="', '/static/css/mobile.css', '">\n <link rel="stylesheet" href="', '/static/css/fonts.css', '">\n</head>\n<body>\n ', ' <!-- Start : Preloader -->\n' ' <div id="preloader">\n' ' <div class="preloader-box">\n' ' <div id="circle-01"></div>\n' ' <div id="circle-02"></div>\n' ' </div>\n' ' </div>', '\n '] |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
node | <Block Node: content. Contents: [<TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe2c0b2b5c0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fe2c0b2b828>, <TextNode: '\n<!DOCTYPE html>\n<html la'>, <django.templatetags.static.StaticNode object at 0x7fe2c0b2bd30>, <TextNode: '" type="image/x-icon">\n '>, <django.templatetags.i18n.TranslateNode object at 0x7fe2c0b2b240>, <TextNode: '</title>\n <!-- Start :'>, <django.templatetags.static.StaticNode object at 0x7fe2c0b2bdd8>, <TextNode: '">\n <link rel="stylesh'>, <django.templatetags.static.StaticNode object at 0x7fe2c0b2b908>, <TextNode: '">\n <link rel="stylesh'>, <django.templatetags.static.StaticNode object at 0x7fe2c0b2bcc0>, <TextNode: '">\n <link rel="stylesh'>, <django.templatetags.static.StaticNode object at 0x7fe2c09439e8>, <TextNode: '">\n</head>\n<body>\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c0930b00>, <TextNode: '\n '>, <Block Node: content. Contents: [<TextNode: '\n '>]>, <TextNode: '\n <!-- Start : Script '>, <django.templatetags.static.StaticNode object at 0x7fe2c0930b70>, <TextNode: '"></script>\n <script t'>, <django.templatetags.static.StaticNode object at 0x7fe2c0930860>, <TextNode: '"></script>\n <!-- Scri'>, <django.templatetags.static.StaticNode object at 0x7fe2c0930940>, <TextNode: '");\n });\n </scr'>, <Block Node: map-script. Contents: []>, <TextNode: '\n</body>\n</html>\n'>] |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/loader_tags.py
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 '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c08e4400>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c0e07208>, <TextNode: '\n '>, <Block Node: map-script. Contents: [<TextNode: '\n <!-- Script : GMap -'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n var mapCoordin'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n\n var markers ='>, <django.templatetags.static.StaticNode object at 0x7fe2c0941128>, <TextNode: "',\n\n );\n\n f">]>, <TextNode: '\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fe2c08e4240> |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
push | <Block Node: content. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c08e4400>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c0e07208>, <TextNode: '\n '>, <Block Node: map-script. Contents: [<TextNode: '\n <!-- Script : GMap -'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n var mapCoordin'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n\n var markers ='>, <django.templatetags.static.StaticNode object at 0x7fe2c0941128>, <TextNode: "',\n\n );\n\n f">]>, <TextNode: '\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n ', ' \n' ' \n' '\n' ' <!-- Start : Header -->\n' ' <header>\n' ' <div class="top-bar">\n' ' <div class="container">\n' ' <div class="row">\n' ' <div class="col col-md-3 d-none d-md-block d-lg-block">\n' ' <div class="top-bar-address">\n' ' <p>Ukraine, Kiev, <br> Art. Arsenalnaya metro ' 'station, ul. Lewandovskaya, 3a</p>\n' ' </div>\n' ' </div>\n' ' <div class="col col-md-2 d-none d-md-block d-lg-block">\n' ' <div class="top-bar-email">\n' ' <a ' 'href="mailto:info@upu.com.ua">info@upu.com.ua</a>\n' ' <br>\n' ' <a ' 'href="mailto:event@upu.com.ua">event@upu.com.ua</a>\n' ' </div>\n' ' </div>\n' ' <div class="col col-md-2">\n' ' <div class="top-bar-logo">\n' ' <a href="/"><img src="/static/img/logo/logo.png" ' 'class="img-fluid" alt="UPU"></a>\n' ' </div>\n' ' </div>\n' ' <div class="col col-md-3 d-none d-md-block d-lg-block">\n' ' <div class="top-bar-phone text-center">\n' ' <span style="font-size: 12px; font-weight: ' 'bold;">Consulting Center</span>\n' ' <br>\n' ' \n' ' \n' ' <a href="tel:+38 (099) 178 29 99">+38 (099) ' '178 29 99</a>\n' ' \n' ' \n' ' </div>\n' ' </div>\n' ' <div class="col col-md-2 d-none d-md-block d-lg-block">\n' ' <form action="/i18n/setlang/" method="post"><input ' "type='hidden' name='csrfmiddlewaretoken' " "value='pwMJlw1YbQqQhifdqTQRPBiTE17shdpMnB8ZMw36jLI6M1OlFZhTVYBo1ycASh5q' />\n" ' <input name="next" type="hidden" value="">\n' ' \n' ' \n' ' \n' ' \n' ' <button style="background-color: #f39c12; ' 'margin-top: 30px; border-radius: 25px; padding: 10px;" class="btn ' 'btn-swith-lang" name="language" value="uk" style="padding: 6px ' '19px;">UK</button>\n' ' \n' ' <button style="background-color: #f39c12; ' 'margin-top: 30px; border-radius: 25px; padding: 10px;" class="btn ' 'btn-swith-lang" name="language" value="en" style="padding: 6px ' '19px;">EN</button>\n' ' \n' ' <button style="background-color: #f39c12; ' 'margin-top: 30px; border-radius: 25px; padding: 10px;" class="btn ' 'btn-swith-lang" name="language" value="ru" style="padding: 6px ' '19px;">RU</button>\n' ' \n' ' </form>\n' ' <!-- <div class="top-bar-callback">\n' ' <a href="/en/contact/" class="btn ' 'btn-default">Ask a Question</a>\n' ' </div> -->\n' ' </div>\n' ' </div>\n' ' </div>\n' ' </div>\n' ' <div class="phone-bar">\n' ' <div class="container">\n' ' <div class="row">\n' ' <div class="col-md-12">\n' ' \n' ' \n' ' <a href="tel:+38 (099) 178 29 99">+38 (099) ' '178 29 99</a>\n' ' \n' ' \n' ' </div>\n' ' </div>\n' ' </div>\n' ' </div>\n' ' <div class="lang-bar">\n' ' <div class="container"... <trimmed 25327 bytes string> |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
node | <IfNode> |
self | [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c08e4400>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe2c0e07208>, <TextNode: '\n '>, <Block Node: map-script. Contents: [<TextNode: '\n <!-- Script : GMap -'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n var mapCoordin'>, <Variable Node: landing_page.block_contact.contact_map_coo_one>, <TextNode: ', '>, <Variable Node: landing_page.block_contact.contact_map_coo_two>, <TextNode: ');\n\n var markers ='>, <django.templatetags.static.StaticNode object at 0x7fe2c0941128>, <TextNode: "',\n\n );\n\n f">]>, <TextNode: '\n'>] |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <IfNode> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/defaulttags.py
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 0x7fe2c098a4e0>) |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
match | <LandingSpeacers: Спикеры - Независимость в зависимости> |
nodelist | [<TextNode: '\n <!-- Start : Speaker'>, <IfNode>, <TextNode: '\n >\n <div c'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>] |
self | <IfNode> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' ' </h4>\n' ' <div class="section-divider"></div>\n' ' </div>\n' ' </div>\n' ' <div class="col-md-9 col-sm-6 col-xs-4">\n' ' <div class="section-line"></div>\n' ' </div>\n' ' </div>\n' ' <div class="row">\n' ' <div class="col-md-12">\n' ' <div class="section-box">\n' ' <div class="section-box-i">\n' ' <div class="row">\n' ' ') |
bits | ['\n' ' <!-- Start : Speakers -->\n' ' <section class="speacers" id="landing"\n' ' ', '\n' ' style="background-position: center center; background-image: ' 'url(/media/landing/speacers/upu-speakers-01.jpg);"\n' ' ', '\n' ' >\n' ' <div class="container">\n' ' <div class="row">\n' ' <div class="col-md-3 col-sm-6 col-xs-8">\n' ' <div class="section-title">\n' ' <h4>\n' ' ', '', '\n ', '\n \n ', '\n ', '', '\n' ' </h4>\n' ' <div class="section-divider"></div>\n' ' </div>\n' ' </div>\n' ' <div class="col-md-9 col-sm-6 col-xs-4">\n' ' <div class="section-line"></div>\n' ' </div>\n' ' </div>\n' ' <div class="row">\n' ' <div class="col-md-12">\n' ' <div class="section-box">\n' ' <div class="section-box-i">\n' ' <div class="row">\n' ' '] |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
node | <IfNode> |
self | [<TextNode: '\n <!-- Start : Speaker'>, <IfNode>, <TextNode: '\n >\n <div c'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>] |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/base.py
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: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <IfNode> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/template/defaulttags.py
in render
try:
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:...
return nodelist.render(context)
return ''
class LoremNode(Node):
Variable | Value |
---|---|
condition | (literal <django.template.base.FilterExpression object at 0x7fe2c08b3208>) |
context | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
match | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
nodelist | [<TextNode: '\n '>, <For Node: for item in landing_speacers_item, tail_len: 3>, <TextNode: '\n '>] |
self | <IfNode> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/models/query.py
in __bool__
3. self.iterator()
- Responsible for turning the rows into model objects.
"""
self._fetch_all()
return iter(self._result_cache)
def __bool__(self):
self._fetch_all()...
return bool(self._result_cache)
def __nonzero__(self): # Python 2 compatibility
return type(self).__bool__(self)
def __getitem__(self, k):
Variable | Value |
---|---|
self | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/models/query.py
in _fetch_all
clone._fields = self._fields
clone.__dict__.update(kwargs)
return clone
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self._iterable_class(self))...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/models/query.py
in __iter__
def __iter__(self):
queryset = self.queryset
db = queryset.db
compiler = queryset.query.get_compiler(using=db)
# Execute the query. This will also fill compiler.select, klass_info,
# and annotations.
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)...
select, klass_info, annotation_col_map = (compiler.select, compiler.klass_info,
compiler.annotation_col_map)
model_cls = klass_info['model']
select_fields = klass_info['select_fields']
model_fields_start, model_fields_end = select_fields[0], select_fields[-1] + 1
init_list = [f[0].target.attname
Variable | Value |
---|---|
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7fe2c0931b00> |
db | 'default' |
queryset | Error in formatting: ProgrammingError: more than one row returned by a subquery used as an expression |
self | <django.db.models.query.ModelIterable object at 0x7fe2c0876d30> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in execute_sql
# Might fail for server-side cursors (e.g. connection closed)
cursor.close()
except Exception:
# Ignore clean up errors and raise the original error instead.
# Python 2 doesn't chain exceptions. Remove this error
# silencing when dropping Python 2 compatibility.
pass
raise original_exception...
if result_type == CURSOR:
# Caller didn't specify a result_type, so just give them back the
# cursor to process (and close).
return cursor
if result_type == SINGLE:
Variable | Value |
---|---|
chunked_fetch | False |
cursor | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
params | (True,) |
result_type | 'multi' |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7fe2c0931b00> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = %s) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in execute_sql
else:
return
if chunked_fetch:
cursor = self.connection.chunked_cursor()
else:
cursor = self.connection.cursor()
try:
cursor.execute(sql, params)...
except Exception as original_exception:
try:
# Might fail for server-side cursors (e.g. connection closed)
cursor.close()
except Exception:
# Ignore clean up errors and raise the original error instead.
Variable | Value |
---|---|
chunked_fetch | False |
cursor | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
params | (True,) |
result_type | 'multi' |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7fe2c0931b00> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = %s) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/backends/utils.py
in execute
class CursorDebugWrapper(CursorWrapper):
# XXX callproc isn't instrumented at this time.
def execute(self, sql, params=None):
start = time()
try:
return super(CursorDebugWrapper, self).execute(sql, params)...
finally:
stop = time()
duration = stop - start
sql = self.db.ops.last_executed_query(self.cursor, sql, params)
self.db.queries_log.append({
'sql': sql,
Variable | Value |
---|---|
__class__ | <class 'django.db.backends.utils.CursorDebugWrapper'> |
duration | 0.0008726119995117188 |
params | (True,) |
self | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = true) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
start | 1711698734.953851 |
stop | 1711698734.9547236 |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/backends/utils.py
in execute
def execute(self, sql, params=None):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)...
def executemany(self, sql, param_list):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
return self.cursor.executemany(sql, param_list)
Variable | Value |
---|---|
params | (True,) |
self | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = %s) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/utils.py
in __exit__
dj_exc_value.__cause__ = exc_value
if not hasattr(exc_value, '__traceback__'):
exc_value.__traceback__ = traceback
# Only set the 'errors_occurred' flag for errors that may make
# the connection unusable.
if dj_exc_type not in (DataError, IntegrityError):
self.wrapper.errors_occurred = True
six.reraise(dj_exc_type, dj_exc_value, traceback)...
def __call__(self, func):
# Note that we are intentionally not using @wraps here for performance
# reasons. Refs #21109.
def inner(*args, **kwargs):
with self:
Variable | Value |
---|---|
db_exc_type | <class 'psycopg2.ProgrammingError'> |
dj_exc_type | <class 'django.db.utils.ProgrammingError'> |
dj_exc_value | ProgrammingError('more than one row returned by a subquery used as an expression\n',) |
exc_type | <class 'psycopg2.ProgrammingError'> |
exc_value | ProgrammingError('more than one row returned by a subquery used as an expression\n',) |
self | <django.db.utils.DatabaseErrorWrapper object at 0x7fe2c0f15fd0> |
traceback | <traceback object at 0x7fe2c0be6988> |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/utils/six.py
in reraise
if PY3:
exec_ = getattr(moves.builtins, "exec")
def reraise(tp, value, tb=None):
if value is None:
value = tp()
if value.__traceback__ is not tb:
raise value.with_traceback(tb)...
raise value
else:
def exec_(_code_, _globs_=None, _locs_=None):
"""Execute code in a namespace."""
if _globs_ is None:
Variable | Value |
---|---|
tb | <traceback object at 0x7fe2c0be6988> |
tp | <class 'django.db.utils.ProgrammingError'> |
value | ProgrammingError('more than one row returned by a subquery used as an expression\n',) |
/home/support/www/upu.com.ua/venv/lib/python3.5/site-packages/django/db/backends/utils.py
in execute
def execute(self, sql, params=None):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)...
def executemany(self, sql, param_list):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
return self.cursor.executemany(sql, param_list)
Variable | Value |
---|---|
params | (True,) |
self | <django.db.backends.utils.CursorDebugWrapper object at 0x7fe2c0931c88> |
sql | ('SELECT "landing_landingspeacersitem"."id", ' '"landing_landingspeacersitem"."speacers_id", ' '"landing_landingspeacersitem"."title_ua", ' '"landing_landingspeacersitem"."title_en", ' '"landing_landingspeacersitem"."title", ' '"landing_landingspeacersitem"."image", ' '"landing_landingspeacersitem"."description_ua", ' '"landing_landingspeacersitem"."description_en", ' '"landing_landingspeacersitem"."description", ' '"landing_landingspeacersitem"."data_time_day", ' '"landing_landingspeacersitem"."pause_start", ' '"landing_landingspeacersitem"."time_start_end", ' '"landing_landingspeacersitem"."button_name_ua", ' '"landing_landingspeacersitem"."button_name_en", ' '"landing_landingspeacersitem"."button_name", ' '"landing_landingspeacersitem"."button_link", ' '"landing_landingspeacersitem"."position", ' '"landing_landingspeacersitem"."active" FROM "landing_landingspeacersitem" ' 'WHERE "landing_landingspeacersitem"."speacers_id" = (SELECT U0."id" AS Col1 ' 'FROM "landing_landingspeacers" U0 WHERE U0."active" = %s) ORDER BY ' '"landing_landingspeacersitem"."position" ASC') |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | 'P5M8nJd12QdsWNhRsH5IYnDpKr8UnUubNa8oOJf9aLvIrwQZHNwK4KWU7Yd2YYaP' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'upu.com.ua' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '35.172.110.179' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '35.172.110.179' |
PATH_INFO | '/en/landing/archive/psihoanaliticheskij-piknik/' |
QUERY_STRING | '' |
RAW_URI | '/en/landing/archive/psihoanaliticheskij-piknik/' |
REMOTE_ADDR | "b''" |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'upu.com.ua' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.7.1' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/support/www/upu.com.ua/upu.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fe2c09400b8> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fe2c087aac8> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
upu.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ADMIN_SITE_HEADER | 'UPU - Панель' |
ALLOWED_HOSTS | ['upu.com.ua', 'www.upu.com.ua'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/support/www/upu.com.ua' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'height': 300, 'toolbar': None}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_JQUERY_URL | 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
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 | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'upu_db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'upu_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', '%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_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
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 |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['jet.dashboard', 'jet', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'main', 'blog', 'pages', 'contact', 'registry', 'articles', 'services', 'landing', 'library', 'gallery', 'settings', 'orders', 'payment', 'newsletter.apps.NewsletterConfig', 'menu', 'taggit', 'ckeditor', 'crispy_forms'] |
INTERNAL_IPS | [] |
JET_APP_INDEX_DASHBOARD | 'jet.dashboard.dashboard.DefaultAppIndexDashboard' |
JET_DEFAULT_THEME | 'default' |
JET_INDEX_DASHBOARD | 'jet.dashboard.dashboard.DefaultIndexDashboard' |
LANGUAGES | (('uk', 'Українська'), ('en', 'English'), ('ru', 'Русский')) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'uk' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | ('/home/support/www/upu.com.ua/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/support/www/upu.com.ua/media' |
MEDIA_URL | '/media/' |
MERCHANT_ACCOUNT | 'www_upu_com_ua' |
MERCHANT_SECRET_KEY | '********************' |
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', 'django.middleware.locale.LocaleMiddleware'] |
MIDDLEWARE_CLASSES | ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'upu.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | 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 | 1209600 |
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 | 'upu.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/support/www/upu.com.ua/static/frontend',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/support/www/upu.com.ua/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/support/www/upu.com.ua/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', '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/Kiev' |
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 |
WSGI_APPLICATION | 'upu.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.