The 'group_photo' attribute has no file associated with it.
Request Method: | GET |
---|---|
Request URL: | https://pravdamuzika.com/artist/show/6/ |
Django Version: | 3.2 |
Exception Type: | ValueError |
Exception Value: | The 'group_photo' attribute has no file associated with it. |
Exception Location: | /usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/db/models/fields/files.py, line 39, in _require_file |
Python Executable: | |
Python Version: | 3.10.5 |
Python Path: | ['/usr/home/www-data/pravdamuzika.com/', '/usr/home/www-data/pravdamuzika.com', '/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages'] |
Server time: | Fri, 29 Mar 2024 11:19:04 +0000 |
In template /usr/home/www-data/pravdamuzika.com/pravdamuzika/templates/v2/basev2.html
, error at line 17
7 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
---|---|
8 | |
9 | <!-- Bootstrap CSS --> |
10 | {# <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">#} |
11 | <link href="{% static 'v2/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css"/> |
12 | <link href="{% static 'v2/css/style_0v2.css' %}" media="(min-width: 0px) and (max-width:767px)" rel="stylesheet" type="text/css"/> |
13 | <link href="{% static 'v2/css/style_768v2.css' %}" media="(min-width: 768px) and (max-width: 1399px)" rel="stylesheet" type="text/css"/> |
14 | <link href="{% static 'v2/css/style_1400v2.css' %}" media="(min-width: 1400px)" rel="stylesheet" type="text/css"/> |
15 | |
16 | <!-- Add the slick-theme.css if you want default styling --> |
17 | {# <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>#} |
18 | <link href="{% static 'v2/css/slick.css' %}" rel="stylesheet" type="text/css"/> |
19 | <!-- Add the slick-theme.css if you want default styling --> |
20 | {# <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css"/>#} |
21 | <link href="{% static 'v2/css/slick-theme.css' %}" rel="stylesheet" type="text/css"/> |
22 | |
23 | <!-- Fotorama for photogalery --> |
24 | {# <link href="https://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.css" rel="stylesheet">#} |
25 | <link href="{% static 'v2/css/fotorama.css' %}" rel="stylesheet" type="text/css"/> |
26 | |
27 | {# <link rel="stylesheet" href="{% static '/cookielaw/css/cookielaw.css' %}" />#} |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 829, in _resolve_lookup
detail and shouldn't be called by external code. Use Variable.resolve()
instead.
"""
current = context
try: # catch-all for silent variable failures
for bit in self.lookups:
try: # dictionary lookup
current = current[bit]…
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
Variable | Value |
---|---|
bit | 'url' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
current | <FieldFile: None> |
self | <Variable: 'artist.group_photo.url'> |
template_name | 'v2/artist_show.html' |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | ValueError("The 'group_photo' attribute has no file associated with it.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x89ed75540>> |
request | <WSGIRequest: GET '/artist/show/6/'> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/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 artist_show at 0x8a18a8790> |
callback_args | () |
callback_kwargs | {'artist_id': 6} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x8a1851360>> |
request | <WSGIRequest: GET '/artist/show/6/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x89ed75540> |
wrapped_callback | <function artist_show at 0x8a18a8790> |
/usr/home/www-data/pravdamuzika.com/pravdamuzika/views.py
, line 40, in artist_show
allYoutubeLives = YouTubeLive.objects.filter(artist=artist).order_by('-id')
firstYoutubeLive = False
youtubeLives=[]
if allYoutubeLives:
firstYoutubeLive = allYoutubeLives[0]
youtubeLives = allYoutubeLives[1:]
return render(request, 'v2/artist_show.html',…
{'artist': artist, 'albums': albums, 'youtubeClips': youtubeClips, 'firstYoutubeClip':firstYoutubeClip,
'youtubeLives': youtubeLives, 'firstYoutubeLive':firstYoutubeLive, 'photoalbums': photoalbums, 'reviews': reviews,
'allYoutubeClips':allYoutubeClips,'allYoutubeLives':allYoutubeLives})
def release_show(request,release_id):
album = Album.objects.get(id=release_id)
Variable | Value |
---|---|
albums | <QuerySet [<Album: Чёрные ящики>]> |
allYoutubeClips | <QuerySet []> |
allYoutubeLives | <QuerySet []> |
artist | <Artist: TELEWELLE> |
artist_id | 6 |
firstYoutubeClip | False |
firstYoutubeLive | False |
photoalbums | <QuerySet []> |
request | <WSGIRequest: GET '/artist/show/6/'> |
reviews | <QuerySet []> |
youtubeClips | [] |
youtubeLives | [] |
/usr/home/www-data/310pravdamuzika/lib/python3.10/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 | {'albums': <QuerySet [<Album: Чёрные ящики>]>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>, 'artist': <Artist: TELEWELLE>, 'firstYoutubeClip': False, 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'youtubeClips': [], 'youtubeLives': []} |
request | <WSGIRequest: GET '/artist/show/6/'> |
status | None |
template_name | 'v2/artist_show.html' |
using | None |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'albums': <QuerySet [<Album: Чёрные ящики>]>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>, 'artist': <Artist: TELEWELLE>, 'firstYoutubeClip': False, 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'youtubeClips': [], 'youtubeLives': []} |
request | <WSGIRequest: GET '/artist/show/6/'> |
template | <django.template.backends.django.Template object at 0x8a4b77d30> |
template_name | 'v2/artist_show.html' |
using | None |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
request | <WSGIRequest: GET '/artist/show/6/'> |
self | <django.template.backends.django.Template object at 0x8a4b77d30> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <django.template.base.Template object at 0x8a4b0d510> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <django.template.base.Template object at 0x8a4b0d510> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
node | <ExtendsNode: extends 'v2/basev2.html'> |
self | [<ExtendsNode: extends 'v2/basev2.html'>] |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <ExtendsNode: extends 'v2/basev2.html'> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/loader_tags.py
, line 150, in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x8a4b76f80> |
blocks | {'afterfooter': <Block Node: afterfooter. Contents: []>, 'content': <Block Node: content. Contents: []>, 'first_header': <Block Node: first_header. Contents: []>, 'high_level_link': <Block Node: high_level_link. Contents: []>, 'script': <Block Node: script. Contents: []>, 'style': <Block Node: style. Contents: []>, 'title': <Block Node: title. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x8a531d5d0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
node | <django.template.defaulttags.LoadNode object at 0x8a4b34c70> |
self | <ExtendsNode: extends 'v2/basev2.html'> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <django.template.base.Template object at 0x8a531d5d0> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('" alt="Youtube" /></a>\n' '\n' ' </div>\n' ' </div>\n' ' </div>\n' ' </div>\n' '\n' "<div id='wrapper'>\n") |
bits | ['<!doctype html>\n<html lang="RU_ru">\n ', '', '\n' ' <head>\n' ' <!-- Required meta tags -->\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' '\n' ' <!-- Bootstrap CSS -->\n', '\n <link href="', '/static/v2/css/bootstrap.min.css', '" rel="stylesheet" type="text/css"/>\n <link href="', '/static/v2/css/style_0v2.css', '" media="(min-width: 0px) and (max-width:767px)" rel="stylesheet" ' 'type="text/css"/>\n' ' <link href="', '/static/v2/css/style_768v2.css', '" media="(min-width: 768px) and (max-width: 1399px)" rel="stylesheet" ' 'type="text/css"/>\n' ' <link href="', '/static/v2/css/style_1400v2.css', '" media="(min-width: 1400px)" rel="stylesheet" type="text/css"/>\n' '\n' ' <!-- Add the slick-theme.css if you want default styling -->\n', '\n <link href="', '/static/v2/css/slick.css', '" rel="stylesheet" type="text/css"/>\n' ' <!-- Add the slick-theme.css if you want default styling -->\n', '\n <link href="', '/static/v2/css/slick-theme.css', '" rel="stylesheet" type="text/css"/>\n' '\n' ' <!-- Fotorama for photogalery -->\n', '\n <link href="', '/static/v2/css/fotorama.css', '" rel="stylesheet" type="text/css"/>\n\n', '\n\n\n\n <title>', 'Правда Музыка', '</title>\n ', '', '\n' ' </head>\n' ' <body>\n' ' <div itemscope itemtype="http://schema.org/Organization" ' 'style="display: none;">\n' ' <span itemprop="name">Музыкальный лейбл ПРАВДА МУЗЫКА</span>\n' ' <span itemprop="description">Продюсируем и издаем группы исполняющие ' 'поп/рок гитарную музыку на русском языке.</span>\n' ' <div itemprop="address" itemscope ' 'itemtype="http://schema.org/PostalAddress">\n' ' Адрес:\n' ' <span itemprop="streetAddress">ул. Правды, д 21 стр 1</span>\n' ' <span itemprop="postalCode"> 125124</span>\n' ' <span itemprop="addressLocality">Москва</span>,\n' ' </div>\n' ' Телефон:<span itemprop="telephone">+7 495 798 99 72</span>,\n' ' Электронная почта: <span ' 'itemprop="email">agent@pravdamuzika.com</span>\n' ' </div>\n' '\n' ' <!-- phone xs\n' ' tablet md\n' ' pc xxl -->\n' ' <div class="container-fluid header">\n' ' <div class="container">\n' ' <div class="row">\n' ' <!-- есть только в телефоне -->\n' ' <div class="col-2 phone-menu">\n' ' <nav class="navbar navbar-expand-md">\n' ' <div class="container-fluid">\n' ' <button class="navbar-toggler" type="button" ' 'data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" ' 'aria-controls="navbarSupportedContent" aria-expanded="false" ' 'aria-label="Toggle navigation">\n' ' <span class="navbar-toggler-icon"></span>\n' ' </button>\n' ' <div class="collapse navbar-collapse" ' 'id="navbarSupportedContent">\n' ' <ul class="navbar-nav me-auto mb-2 mb-lg-0">\n' ' <li class="nav-item">\n' ' <a class="nav-link active" ' 'aria-current="page" href="', '/artist/list/', '">Артисты</a>\n' ' </li>\n' ' <li class="nav-item">\n' ' <a class="nav-link active" ' 'aria-current="page" href="', '/concerts/', '">Концерты</a>\n' ' </li>\n' ' <li class="nav-item">\n' ' <a class="nav-link active" ' 'aria-current="page" href="', '/releases/', '">Релизы</a>\n' ' </li>\n' ' <li class="nav-item">\n' ' <a class="nav-link active" ' 'aria-current="page" href="', '/media/list/', '">Медиа</a>\n' ' </li>\n' ' … <trimmed 8863 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
node | <Block Node: content. Contents: []> |
self | [<TextNode: '<!doctype html>\n<html lan'>, <django.template.defaulttags.LoadNode object at 0x8a4b34c70>, <TextNode: '\n <head>\n <!-- Requir'>, <TextNode: '\n <link href="'>, <django.templatetags.static.StaticNode object at 0x8a4b35480>, <TextNode: '" rel="stylesheet" type='>, <django.templatetags.static.StaticNode object at 0x8a4b35e70>, <TextNode: '" media="(min-width: 0px)'>, <django.templatetags.static.StaticNode object at 0x8a5387e50>, <TextNode: '" media="(min-width: 768p'>, <django.templatetags.static.StaticNode object at 0x8a53845b0>, <TextNode: '" media="(min-width: 1400'>, <TextNode: '\n <link href="'>, <django.templatetags.static.StaticNode object at 0x8a5384730>, <TextNode: '" rel="stylesheet" type='>, <TextNode: '\n <link href="'>, <django.templatetags.static.StaticNode object at 0x8a5386950>, <TextNode: '" rel="stylesheet" type='>, <TextNode: '\n <link href="'>, <django.templatetags.static.StaticNode object at 0x8a5385b40>, <TextNode: '" rel="stylesheet" type='>, <TextNode: '\n\n\n\n <title>'>, <Block Node: title. Contents: []>, <TextNode: '</title>\n '>, <Block Node: style. Contents: []>, <TextNode: '\n </head>\n <body>\n '>, <django.template.defaulttags.URLNode object at 0x8a53859f0>, <TextNode: '">Артисты</a>\n '>, <django.template.defaulttags.URLNode object at 0x8a5387a90>, <TextNode: '">Концерты</a>\n '>, <django.template.defaulttags.URLNode object at 0x8a5384bb0>, <TextNode: '">Релизы</a>\n '>, <django.template.defaulttags.URLNode object at 0x8a5387a60>, <TextNode: '">Медиа</a>\n '>, <django.template.defaulttags.URLNode object at 0x8a5386860>, <TextNode: '">Контакты</a>\n '>, <django.templatetags.static.StaticNode object at 0x8a5385000>, <TextNode: '" class="header-logo-img"'>, <django.template.defaulttags.URLNode object at 0x8a5385bd0>, <TextNode: '">Артисты</a><a href="'>, <django.template.defaulttags.URLNode object at 0x8a5386530>, <TextNode: '">Концерты</a><a href="'>, <django.template.defaulttags.URLNode object at 0x8a5385540>, <TextNode: '">Релизы</a><a href="'>, <django.template.defaulttags.URLNode object at 0x8a53863b0>, <TextNode: '">Медиа</a><a href="'>, <django.template.defaulttags.URLNode object at 0x8a53875e0>, <TextNode: '">Контакты</a>\n '>, <TextNode: '\n <div'>, <django.templatetags.static.StaticNode object at 0x8a5386350>, <TextNode: '" alt="ВК" /></a>\n '>, <django.templatetags.static.StaticNode object at 0x8a5385e70>, <TextNode: '" alt="Фейсбук" /></a>\n '>, <django.templatetags.static.StaticNode object at 0x8a5386b30>, <TextNode: '" alt="Инстаграм" /></a>'>, <django.templatetags.static.StaticNode object at 0x8a53855d0>, <TextNode: '" alt="Одноклассники" /><'>, <django.templatetags.static.StaticNode object at 0x8a53842e0>, <TextNode: '" alt="Youtube" /></a>\n\n '>, <django.templatetags.static.StaticNode object at 0x8a5385f00>, <TextNode: "' />\n ">, <Block Node: high_level_link. Contents: []>, <TextNode: '\n <img'>, <django.templatetags.static.StaticNode object at 0x8a5385930>, <TextNode: "' />\n ">, <Block Node: first_header. Contents: []>, <TextNode: '\n\n </div>\n'>, <TextNode: '\n <div'>, <django.templatetags.static.StaticNode object at 0x8a5385e10>, <TextNode: '" alt="ВК" /></a>\n '>, <django.templatetags.static.StaticNode object at 0x8a5386e00>, <TextNode: '" alt="Фейсбук" /></a>\n '>, <django.templatetags.static.StaticNode object at 0x8a5385120>, <TextNode: '" alt="Инстаграм" /></a>'>, <django.templatetags.static.StaticNode object at 0x8a5387ca0>, <TextNode: '" alt="Одноклассники" /><'>, <django.templatetags.static.StaticNode object at 0x8a5384a90>, <TextNode: '" alt="Youtube" /></a>\n\n '>, <Block Node: content. Contents: []>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x8a5386920>, <TextNode: '\n</div>\n\n <div class="'>, <django.templatetags.static… <trimmed 6445 bytes string> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <Block Node: content. Contents: []> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/loader_tags.py
, line 62, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n\t\t<!-- О группе, отзывы,'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div></div>\n\t\t\t\t\t\t<d'>, <Variable Node: artist.short_description>, <TextNode: '</div></div>\n\t\t\t\t\t</div>\n'>, <Variable Node: artist.description>, <TextNode: '</div>\n\t\t\t\t\t</div>\n '>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n </'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.short_description>, <TextNode: '</div>\n </'>, <Variable Node: artist.description>, <TextNode: '</div>\n\n <'>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.logo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.short_description>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <Variable Node: artist.group_photo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.description>, <TextNode: '</span>\n </div'>, <IfNode>, <TextNode: '\n <!-- Присоед'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\n <!-- фотоальбом'>, <IfNode>, <TextNode: '\n </div>\n\n\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x8a4b76f80> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
push | <Block Node: content. Contents: [<TextNode: '\n\t\t<!-- О группе, отзывы,'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div></div>\n\t\t\t\t\t\t<d'>, <Variable Node: artist.short_description>, <TextNode: '</div></div>\n\t\t\t\t\t</div>\n'>, <Variable Node: artist.description>, <TextNode: '</div>\n\t\t\t\t\t</div>\n '>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n </'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.short_description>, <TextNode: '</div>\n </'>, <Variable Node: artist.description>, <TextNode: '</div>\n\n <'>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.logo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.short_description>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <Variable Node: artist.group_photo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.description>, <TextNode: '</span>\n </div'>, <IfNode>, <TextNode: '\n <!-- Присоед'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\n <!-- фотоальбом'>, <IfNode>, <TextNode: '\n </div>\n\n\n'>]> |
self | <Block Node: content. Contents: []> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('</div>\n' '\t\t\t\t\t</div>\n' ' \n' ' \n' ' \n' ' </div>\n' ' <div class="col-xxl-4 group-photo"><img src="') |
bits | ['\n' '\t\t<!-- О группе, отзывы, присоединяйтесь к нам -->\n' ' <div class="container">\n' ' <div class="row">\n' ' <div class="col-xxl-12 about-group">О ГРУППЕ</div>\n' ' </div>\n' ' <div class="row xs-dont-show md-dont-show">\n' ' <div class="col-xxl-8">\n' "\t\t\t\t\t<div class='row'>\n" '\t\t\t\t\t\t<div class=\'col-5\'><div class="group-logo"><img src="', '/media/files/avatars/2022_10_21__000_Zaglushka_logotip_gruppy_na_stranitse_gruppy.jpg', '" /></div></div>\n' '\t\t\t\t\t\t<div class=\'col-7\'><div class="group-slogan">', '', '</div></div>\n' '\t\t\t\t\t</div>\n' "\t\t\t\t\t<div class='row'>\n" '\t\t\t\t\t\t<div class="group-description">', '', '</div>\n' '\t\t\t\t\t</div>\n' ' \n' ' \n' ' \n' ' </div>\n' ' <div class="col-xxl-4 group-photo"><img src="'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
node | <Variable Node: artist.group_photo.url> |
self | [<TextNode: '\n\t\t<!-- О группе, отзывы,'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div></div>\n\t\t\t\t\t\t<d'>, <Variable Node: artist.short_description>, <TextNode: '</div></div>\n\t\t\t\t\t</div>\n'>, <Variable Node: artist.description>, <TextNode: '</div>\n\t\t\t\t\t</div>\n '>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n </'>, <Variable Node: artist.logo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.short_description>, <TextNode: '</div>\n </'>, <Variable Node: artist.description>, <TextNode: '</div>\n\n <'>, <Variable Node: artist.group_photo.url>, <TextNode: '" /></div>\n '>, <Variable Node: artist.logo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.short_description>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <Variable Node: artist.group_photo.url>, <TextNode: '" />\n\t\t\t</div>\n\t\t\t<div cl'>, <Variable Node: artist.description>, <TextNode: '</span>\n </div'>, <IfNode>, <TextNode: '\n <!-- Присоед'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n </div>\n\n'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\n <!-- фотоальбом'>, <IfNode>, <TextNode: '\n </div>\n\n\n'>] |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <Variable Node: artist.group_photo.url> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 988, in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)…
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <Variable Node: artist.group_photo.url> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 671, in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)…
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x8a34ecd90> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 796, in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)…
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
self | <Variable: 'artist.group_photo.url'> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/template/base.py
, line 837, in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)…
except (TypeError, AttributeError):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]
Variable | Value |
---|---|
bit | 'url' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'artist': <Artist: TELEWELLE>, 'albums': <QuerySet [<Album: Чёрные ящики>]>, 'youtubeClips': [], 'firstYoutubeClip': False, 'youtubeLives': [], 'firstYoutubeLive': False, 'photoalbums': <QuerySet []>, 'reviews': <QuerySet []>, 'allYoutubeClips': <QuerySet []>, 'allYoutubeLives': <QuerySet []>}] |
current | <FieldFile: None> |
self | <Variable: 'artist.group_photo.url'> |
template_name | 'v2/artist_show.html' |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/db/models/fields/files.py
, line 62, in url
@property
def path(self):
self._require_file()
return self.storage.path(self.name)
@property
def url(self):
self._require_file()…
return self.storage.url(self.name)
@property
def size(self):
self._require_file()
if not self._committed:
Variable | Value |
---|---|
self | <FieldFile: None> |
/usr/home/www-data/310pravdamuzika/lib/python3.10/site-packages/django/db/models/fields/files.py
, line 39, in _require_file
# The standard File contains most of the necessary properties, but
# FieldFiles can be instantiated without a name, so that needs to
# be checked for here.
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)…
def _get_file(self):
self._require_file()
if getattr(self, '_file', None) is None:
self._file = self.storage.open(self.name, 'rb')
return self._file
Variable | Value |
---|---|
self | <FieldFile: None> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/usr/local/www/apache24/data' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/usr/local/www/apache24/data' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'pravdamuzika.com' |
HTTP_USER_AGENT | 'claudebot' |
LD_LIBRARY_PATH | '/usr/local/lib' |
PATH_INFO | '/artist/show/6/' |
PATH_TRANSLATED | '/usr/home/www-data/pravdamuzika.com/pravdamuzika_com_django/wsgi.py/artist/show/6/' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.236.247.213' |
REMOTE_PORT | '59670' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/artist/show/6/' |
SCRIPT_FILENAME | '/usr/home/www-data/pravdamuzika.com/pravdamuzika_com_django/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '185.22.232.134' |
SERVER_ADMIN | 'ishayahu@mail.ru' |
SERVER_NAME | 'pravdamuzika.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | ('Apache/2.4.54 (FreeBSD) OpenSSL/1.1.1t-freebsd mod_wsgi/4.9.3 Python/3.10 ' 'PHP/8.0.20') |
SSL_TLS_SNI | 'pravdamuzika.com' |
apache.version | (2, 4, 54) |
mod_wsgi.application_group | '' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711711143905998' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/artist/show/6/' |
mod_wsgi.process_group | 'pravdamuzika.com' |
mod_wsgi.queue_start | '1711711143905742' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | '6sewzmqF3EI' |
mod_wsgi.request_start | '1711711143905258' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711711143907037' |
mod_wsgi.thread_id | 1 |
mod_wsgi.thread_requests | 196 |
mod_wsgi.total_requests | 954 |
mod_wsgi.version | (4, 9, 3) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | <class 'mod_wsgi.FileWrapper'> |
wsgi.input | <mod_wsgi.Input object at 0x8a4303c20> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
pravdamuzika_com_django.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['pravdamuzika.com', 'pravdamuzika.ru', 'www.pravdamuzika.com', 'www.pravdamuzika.ru'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/usr/home/www-data/pravdamuzika.com' |
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.mysql', 'HOST': 'localhost', 'NAME': 'pravdamuzika', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'pravdamuzika'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
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 | '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_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', 'easy_thumbnails', 'pravdamuzika.apps.PravdamuzikaConfig', 'cookielaw', 'tinymce'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/pravdamuzika_usr/data/www/pravdamuzika.com/files/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'pravdamuzika_com_django.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 | 'pravdamuzika_com_django.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/pravdamuzika_usr/data/www/pravdamuzika.com/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/usr/home/www-data/pravdamuzika.com/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 | 'UTC' |
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 | 'pravdamuzika_com_django.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
_PATH | '/usr/home/www-data/pravdamuzika.com/pravdamuzika_com_django' |
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.