Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']
Request Method: | GET |
---|---|
Request URL: | https://vrachivmeste.ru/photo/ |
Django Version: | 1.11 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$'] |
Exception Location: | /var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 |
Python Executable: | /var/www/vrachivmeste.ru/application/.virtual/bin/python2.7 |
Python Version: | 2.7.17 |
Python Path: | ['/var/www/vrachivmeste.ru/application', '/var/www/vrachivmeste.ru/application/.virtual/bin', '/var/www/vrachivmeste.ru/application', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7/plat-x86_64-linux-gnu', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7/lib-tk', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7/lib-old', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages', '/var/www/vrachivmeste.ru/application/.virtual/lib/python2.7/site-packages'] |
Server time: | Вт, 19 Мар 2024 06:02:07 +0300 |
In template /var/www/vrachivmeste.ru/application/templates/base.html
, error at line 112
102 | <path d="M0 4.94858L4.94851 6.86646e-05L5.65562 0.707175L0.707107 5.65568L0 4.94858Z" /> |
---|---|
103 | <path d="M4.95016 9.89868L0 4.94858L0.707165 4.24147L5.65727 9.19157L4.95016 9.89868Z" /> |
104 | </symbol> |
105 | <symbol id="arrow-right" viewbox="0 0 17 10" preserveAspectRatio="xMidYMid"> |
106 | <path d="M0 4.49997H15V5.49997H0L0 4.49997Z" /> |
107 | <path d="M16.3137 4.9501L11.3652 9.89861L10.6581 9.19151L15.6066 4.243L16.3137 4.9501Z" /> |
108 | <path d="M11.3636 0L16.3137 4.9501L15.6066 5.65721L10.6564 0.707107L11.3636 0Z" /> |
109 | </symbol> |
110 | <!--link-more--> |
111 | <symbol id="link-more" viewbox="0 0 28 12" preserveAspectRatio="xMidYMid"> |
112 | <rect width="8.07971" height="1.00996" transform="matrix(0.714015 -0.700131 0.714015 0.700131 21.1953 10.6064)" /> |
113 | <rect width="8.07971" height="1.00996" transform="matrix(-0.714015 -0.700131 0.714015 -0.700131 26.9644 6.36377)" /> |
114 | <rect x="0.849854" y="5.15674" width="25.4958" height="1" /> |
115 | </symbol> |
116 | <!--user--> |
117 | <symbol id="user" viewbox="0 0 21 24" preserveAspectRatio="xMidYMid"> |
118 | <circle cx="10.5" cy="5.5" r="4.5" stroke="" stroke-width="2" /> |
119 | <path d="M5 14H16C18.2091 14 20 15.7909 20 18V21C20 22.1046 19.1046 23 18 23H3C1.89543 23 1 22.1046 1 21V18C1 15.7909 2.79086 14 5 14Z" stroke="" stroke-width="2" /> |
120 | </symbol> |
121 | <!--pencil--> |
122 | <symbol id="pencil" viewbox="0 0 22 22" preserveAspectRatio="xMidYMid"> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fc4bcd11a90>> |
request | <WSGIRequest: GET '/photo/'> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function PGalleriesListView at 0x7fc4b4b8cdd0> |
callback_args | () |
callback_kwargs | {} |
e | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc4b8066a90>> |
request | <WSGIRequest: GET '/photo/'> |
resolver | <RegexURLResolver 'cmedu.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=photos.views.PGalleriesListView, args=(), kwargs={}, url_name=galleries_list, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc4bcd11a90> |
wrapped_callback | <function PGalleriesListView at 0x7fc4b4b8cdd0> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function PGalleriesListView at 0x7fc4b4b8cdd0> |
callback_args | () |
callback_kwargs | {} |
e | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc4b8066a90>> |
request | <WSGIRequest: GET '/photo/'> |
resolver | <RegexURLResolver 'cmedu.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=photos.views.PGalleriesListView, args=(), kwargs={}, url_name=galleries_list, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc4bcd11a90> |
wrapped_callback | <function PGalleriesListView at 0x7fc4b4b8cdd0> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {u'is_paginated': True, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'page_obj': <Page 1 of 27>, u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, 'show_search': False, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7fc4b32fc610> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
request | <WSGIRequest: GET '/photo/'> |
self | <django.template.backends.django.Template object at 0x7fc4b32fc610> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
self | <django.template.base.Template object at 0x7fc4b31e2410> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
self | <django.template.base.Template object at 0x7fc4b31e2410> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
e | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
self | <ExtendsNode: extends "base.html"> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 0x7fc4b3c34610> |
blocks | {u'after_header': <Block Node: after_header. Contents: []>, u'before_footer': <Block Node: before_footer. Contents: []>, u'center_column': <Block Node: center_column. Contents: [<TextNode: u'\n '>]>, u'content': <Block Node: content. Contents: []>, u'filter_content': <Block Node: filter_content. Contents: []>, u'js_page': <Block Node: js_page. Contents: []>, u'style_page': <Block Node: style_page. Contents: []>, u'title_page': <Block Node: title_page. Contents: [<TextNode: u'\u0412\u0440\u0430\u0447\u0438 \u0432\u043c\u0435\u0441\u0442\u0435'>]>} |
compiled_parent | <django.template.base.Template object at 0x7fc4b3573790> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
node | <django.template.defaulttags.LoadNode object at 0x7fc4b435cf90> |
self | <ExtendsNode: extends "base.html"> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
self | <django.template.base.Template object at 0x7fc4b3573790> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | u'\n ' |
bits | [u'<!DOCTYPE html>', u'', u' ', u' <html lang="ru"> <head>\n <!-- Meta tags -->\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge" id="sibling">\n <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">\n <!-- Favicon -->\n <link rel="icon" type="images/ico" href="', u'/static/favicon.ico', u'">\n <!-- Title -->\n <title>', u'\u0424\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f:', u'</title>\n ', u'\n <link href="', u'/static/css/basic.css', u'" rel="stylesheet" type="text/css">\n <link href="', u'/static/css/jquery.fancybox-1.3.4.css', u'" rel="stylesheet" type="text/css"/>\n ', u'', u'\n ', u'\n ', u'\n <script src="', u'/static/new/vendor/jquery/jquery-3.3.1.min.js', u'"></script>\n ', u'', u'\n <script type="text/javascript" src="', u'/static/js/jquery.preload-images.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.mousewheel.min.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.fancybox-1.3.4.pack.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/autoresize.jquery.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/chosen.jquery.min.js', u'" charset="utf-8"></script>\n <script type="text/javascript" src="', u'/static/js/jquery-ui.min.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.jcf.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.main.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.popup.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.openclose.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.elastic.source.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.validate.min.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.maskedinput.min.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/jquery.utils.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/windows.js', u'"></script>\n <script type="text/javascript" src="', u'/static/js/preload-images.js', u'"></script>\n <script type="text/javascript" src="', u'/static/banners/js/slider.js', u'"></script>\n <script type="text/javascript" src="', u'/static/banners/js/log.js', u'"></script>\n <script src="https://yastatic.net/share2/share.js" async></script>\n <!-- CSS -->\n <link type="text/css" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">\n <link type="text/css" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">\n <link type="text/css" rel="stylesheet" href="', u'/static/new/vendor/slick/slick.css', u'">\n <link type="text/css" rel="stylesheet" href="', u'/static/new/vendor/slick/slick-theme.css', u'">\n <link type="text/css" rel="stylesheet" href="', u'/static/new/vendor/fancybox/jquery.fancybox.min.css', u'">\n <link type="text/css" rel="stylesheet" href="', u'/static/new/vendor/select2/css/select2.css', u'">\n <link type="text/css" rel="stylesheet" href="', u'/static/new/css/main/helper-classes.min.css', u'"> <link type="text/css" rel="stylesheet" href="', u'/static/new/css/helper-classes.min.css', u'"> <link \ntype="text/css" rel="stylesheet" href="', u'/static/new/css/main-new.css', u'">\n <!-- Javascript -->\n <script src="', u'/static/new/vendor/slick/slick.min.js', u'" defer></script>\n <script src="', u'/static/new/vendor/mask/jquery.mask.min.js', u'"defer></script>\n <script src="', u'/static/new/vendor/select2/js/select2.min.js', u'"defer></script>\n <script src="', u'/static/new/vendor/fancybox/jquery.fancybox.min.js', u'"defer></script>\n <script src="https://malsup.github.io/jquery.form.js"></script>\n <script src="', u'/static/new/js/main.js', u'" ></script>\n <script src="', u'/... <trimmed 28997 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
node | <Block Node: content. Contents: []> |
self | [<TextNode: u'<!DOCTYPE html>'>, <django.template.defaulttags.LoadNode object at 0x7fc4b435cf90>, <TextNode: u' '>, <TextNode: u' <html lang="ru"> <head>\n'>, <django.templatetags.static.StaticNode object at 0x7fc4b435cdd0>, <TextNode: u'">\n <!-- Title -->\n <ti'>, <Block Node: title_page. Contents: [<TextNode: u'\u0412\u0440\u0430\u0447\u0438 \u0432\u043c\u0435\u0441\u0442\u0435'>]>, <TextNode: u'</title>\n '>, <TextNode: u'\n <link href="'>, <django.templatetags.static.StaticNode object at 0x7fc4b435ce10>, <TextNode: u'" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7fc4b435cf10>, <TextNode: u'" rel="stylesheet" type="'>, <Block Node: style_page. Contents: []>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n <script src="'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c210>, <TextNode: u'"></script>\n '>, <django.template.defaulttags.CommentNode object at 0x7fc4b3651950>, <TextNode: u'\n <script type="text/jav'>, <django.templatetags.static.StaticNode object at 0x7fc4b3651590>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b36513d0>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c310>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c390>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c4d0>, <TextNode: u'" charset="utf-8"></scrip'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c5d0>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c610>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c410>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c7d0>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c810>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c950>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c6d0>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435c750>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435cb90>, <TextNode: u'"></script>\n <script ty'>, <django.templatetags.static.StaticNode object at 0x7fc4b435cc10>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b435ca10>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39190>, <TextNode: u'"></script>\n <script typ'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39dd0>, <TextNode: u'"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a395d0>, <TextNode: u'">\n <link type="text/css'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39650>, <TextNode: u'">\n <link type="text/css'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39750>, <TextNode: u'">\n <link type="text/css'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39610>, <TextNode: u'">\n <link type="text/css'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39950>, <TextNode: u'"> <link type="text/css" '>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39d10>, <TextNode: u'"> <link \ntype="text/css"'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39850>, <TextNode: u'">\n <!-- Javascript -->\n'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39310>, <TextNode: u'" defer></script>\n <scri'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39590>, <TextNode: u'"defer></script>\n <scrip'>, <django.templatetags.static.StaticNode object at 0x7fc4b3a39c50>, <TextNode: u'"de... <trimmed 6915 bytes string> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
e | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
self | <Block Node: content. Contents: []> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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: [<IfNode>, <TextNode: u'\n'>, <For Node: for object in pgalleries_list, tail_len: 3>, <TextNode: u'\n<script>\n function up'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573510>, <TextNode: u'",\n data: form'>, <Variable Node: user.id>, <TextNode: u' },\n success: func'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573450>, <TextNode: u'", //\u0410\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0439 \u0441'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573d10>, <TextNode: u"',\n type: ">, <django.template.defaulttags.URLNode object at 0x7fc4b3573890>, <TextNode: u"', { file: photo }, funct">, <django.template.defaulttags.URLNode object at 0x7fc4b3573390>, <TextNode: u"', { video: $('input[name">, <django.template.defaulttags.URLNode object at 0x7fc4b3573a50>, <TextNode: u"', { video: path }, funct">]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fc4b3c34610> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
push | <Block Node: content. Contents: [<IfNode>, <TextNode: u'\n'>, <For Node: for object in pgalleries_list, tail_len: 3>, <TextNode: u'\n<script>\n function up'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573510>, <TextNode: u'",\n data: form'>, <Variable Node: user.id>, <TextNode: u' },\n success: func'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573450>, <TextNode: u'", //\u0410\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0439 \u0441'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573d10>, <TextNode: u"',\n type: ">, <django.template.defaulttags.URLNode object at 0x7fc4b3573890>, <TextNode: u"', { file: photo }, funct">, <django.template.defaulttags.URLNode object at 0x7fc4b3573390>, <TextNode: u"', { video: $('input[name">, <django.template.defaulttags.URLNode object at 0x7fc4b3573a50>, <TextNode: u"', { video: path }, funct">]> |
self | <Block Node: content. Contents: []> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | u'\n<script>\n function upload() {\n var file = document.getElementById("upload-file");\n\n /* Create a FormData instance */\n var formData = new FormData();\n /* Add the file */\n formData.append("file", file.files[0]);\n\n $.ajax({\n url: "' |
bits | [u'', u'\n', u'\n \n<div class="content-block-center-item">\n <!-- \u0410\u0432\u0442\u043e\u0440 \u0438 \u0442\u0435\u043c\u0430 \u043f\u043e\u0441\u0442\u0430 -->\n <div class="content-block-center-item-head">\n <div class="content-block-center-item-nohead-autor">\n <span style="font-size:14px;color:#666">\n \u041e\u043d\u043a\u043e\u043b\u043e\u0433\u0438\u044f\n </span>\n </div>\n\n <div class="content-block-center-item-head-theme"><span>\n \n \u0424\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f\n \n </span>\n </div>\n </div>\n <div class="content-block-center-item-content">\n <!-- \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0438 \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u0441\u0442\u0430 -->\n \n <h1 style="width:320px"><a href="/photo/200/" target="_blank"\n style="color: rgb(0, 164, 153);text-decoration: none;">\u041d\u0430\u0437\u0432\u0430\u043d\u044b \u043b\u0430\u0443\u0440\u0435\u0430\u0442\u044b \u041d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0435\u043c\u0438\u0438 \xab\u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0436\u0438\u0442\u044c!\xbb</a></h1>\n\n <p>\n \n </p>\n\n <div class="content-block-center-item-content-redmore">\n <div class="content-block-center-item-content-redmore-link">\n <a href="/photo/200/" target="_blank" title="\u0427\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e">\u0447\u0438\u0442\u0430\u0442\u044c\n \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e</a> |\n </div>\n\n \n\n \n </div>\n <!-- \u041c\u0435\u0434\u0438\u0430 -->\n <div class="content-block-center-item-content-media">\n \n \n \n <div class="content-block-center-item-content-media-single-photo">\n \n <img src="/media/post_images/thumb_430_286_8P899I1IPB.JPEG" style="max-width: 420px;" alt="">\n \n </div>\n \n \n \n\n \n <div class="content-block-center-item-content-media-more-photo-head">\n <span>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0442\u043e:</span>\n </div>\n <div class="content-block-center-item-content-media-more-photo">\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_Z7YWDDW57E.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_JCZLVGBWPF.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_HMTERABMF1.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_OD76WK2W2N.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_UWEJ4299RP.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(/media/post_images/thumb_430_286_HNQK99BM2O.JPEG)"></div>\n \n \n \n \n \n\n \n\n \n <div class="content-block-center-item-content-media-more-photo-item"\n style="background-image:url(... <trimmed 35430 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
node | <django.template.defaulttags.URLNode object at 0x7fc4b3573510> |
self | [<IfNode>, <TextNode: u'\n'>, <For Node: for object in pgalleries_list, tail_len: 3>, <TextNode: u'\n<script>\n function up'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573510>, <TextNode: u'",\n data: form'>, <Variable Node: user.id>, <TextNode: u' },\n success: func'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573450>, <TextNode: u'", //\u0410\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0439 \u0441'>, <django.template.defaulttags.URLNode object at 0x7fc4b3573d10>, <TextNode: u"',\n type: ">, <django.template.defaulttags.URLNode object at 0x7fc4b3573890>, <TextNode: u"', { file: photo }, funct">, <django.template.defaulttags.URLNode object at 0x7fc4b3573390>, <TextNode: u"', { video: $('input[name">, <django.template.defaulttags.URLNode object at 0x7fc4b3573a50>, <TextNode: u"', { video: path }, funct">] |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/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 | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
e | NoReverseMatch(u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']",) |
self | <django.template.defaulttags.URLNode object at 0x7fc4b3573510> |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7fc4b31e2050>, 'specialities_list': <QuerySet [<Specialities: Авиационная и космическая медицина>, <Specialities: Акушерство>, <Specialities: Акушерство и гинекология>, <Specialities: Аллергология и иммунология>, <Specialities: Анестезиология-реаниматология>, <Specialities: Бактериология>, <Specialities: Биотехнологии>, <Specialities: Вирусология>, <Specialities: Восстановительная медицина>, <Specialities: Врач коммунальной гигиены>, <Specialities: Врач общей практики>, <Specialities: Врач по гигиене труда>, <Specialities: Врач скорой помощи>, <Specialities: Врач функциональной диагностики>, <Specialities: Гастроэнтерология>, <Specialities: Гематология, трансфузиология>, <Specialities: Генетика>, <Specialities: Гепатология>, <Specialities: Геронтология, гериатрия>, <Specialities: Дезинфектология>, '...(remaining elements truncated)...']>, 'my': False, u'object_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, 'show_filter': False, u'page_obj': <Page 1 of 27>, 'show_search': False, u'is_online': u'', u'is_paginated': True, 'pgalleries_list': <QuerySet [<PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>, <PGalleries: PGalleries object>]>, u'view': <photos.views.PGalleriesListView object at 0x7fc4b31e2a50>}] |
current_app | u'' |
kwargs | {u'sizex': u'180', u'sizey': u'180'} |
reverse | <function reverse at 0x7fc4bce41b50> |
self | <django.template.defaulttags.URLNode object at 0x7fc4b3573510> |
url | u'' |
view_name | u'fileupload' |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/urls/base.py
in reverse
(key, ':'.join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
Variable | Value |
---|---|
args | [] |
current_app | u'' |
current_path | None |
kwargs | {u'sizex': u'180', u'sizey': u'180'} |
ns_pattern | u'' |
parts | [u'fileupload'] |
path | [] |
prefix | u'/' |
resolved_path | [] |
resolver | <RegexURLResolver 'cmedu.urls' (None:None) ^/> |
urlconf | 'cmedu.urls' |
view | u'fileupload' |
viewname | u'fileupload' |
/var/www/vrachivmeste.ru/application/.virtual/local/lib/python2.7/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
_prefix | u'/' |
arg_msg | u"keyword arguments '{u'sizex': u'180', u'sizey': u'180'}'" |
args | () |
defaults | {} |
kwargs | {u'sizex': u'180', u'sizey': u'180'} |
lookup_view | u'fileupload' |
lookup_view_s | u'fileupload' |
m | None |
msg | u"Reverse for 'fileupload' with keyword arguments '{u'sizex': u'180', u'sizey': u'180'}' not found. 2 pattern(s) tried: ['lenta/fileupload/$', 'groups/fileupload/$']" |
n | None |
params | [] |
pattern | 'groups/fileupload/$' |
patterns | ['lenta/fileupload/$', 'groups/fileupload/$'] |
possibilities | [([(u'lenta/fileupload/', [])], 'lenta/fileupload/$', {}), ([(u'groups/fileupload/', [])], 'groups/fileupload/$', {})] |
possibility | [(u'groups/fileupload/', [])] |
result | u'groups/fileupload/' |
self | <RegexURLResolver 'cmedu.urls' (None:None) ^/> |
text_args | [] |
text_kwargs | {u'sizex': u'180', u'sizey': u'180'} |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'vrachivmeste.ru' |
HTTP_REFERER | 'https://vrachivmeste.ru/photo' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.222.149.13, 5.188.114.67' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '5.188.114.67' |
PATH_INFO | u'/photo/' |
QUERY_STRING | '' |
RAW_URI | '/photo/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '44042' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | u'' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8040' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.4.5' |
gunicorn.socket | <socket._socketobject object at 0x7fc4b8391440> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fc4b4917c10> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fc4b3a56610> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
cmedu.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ADMIN_EMAIL | 'vrvm.redaktor@gmail.com' |
ALLOWED_HOSTS | ['localhost', '185.187.90.167', '127.0.0.1', 'www.vrvm.ru', 'vrvm.ru', 'vrachivmeste.ru', 'www.vrachivmeste.ru', '45.80.69.219'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('cmedu.auth_backends.CustomUserModelBackend', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'account.MyUser' |
AVATAR_SIZE | (200, 200) |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COORD_EMAIL | 'vrvm.koordinator@gmail.com' |
CRONJOBS | [('30 2 * * *', 'django.core.management.call_command', ['boost_views'])] |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
CUSTOM_USER_MODEL | 'account.MyUser' |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'medtusdj', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'medtusdj_user'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | '\xd0\x92\xd1\x80\xd0\xb0\xd1\x87\xd0\xb8 \xd0\x92\xd0\xbc\xd0\xb5\xd1\x81\xd1\x82\xd0\xb5 <noreply@vrvm.ru>' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DIRECTORY | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'vrvm.ru@gmail.com' |
EMAIL_PORT | 25 |
EMAIL_POST | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILEBROWSER_DIRECTORY | '' |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'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 |
FORMATS_LIST | {1: u'\u0412\u0435\u0431\u0438\u043d\u0430\u0440', 2: u'\u041a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f', 3: u'\u0421\u0438\u043c\u043f\u043e\u0437\u0438\u0443\u043c', 5: u'\u0421\u0435\u043c\u0438\u043d\u0430\u0440', 6: u'\u041e\u043d\u043b\u0430\u0439\u043d-\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f', 11: u'\u0412\u044b\u0441\u0442\u0430\u0432\u043a\u0430', u'': u'\u0422\u0438\u043f \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f'} |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('grappelli', 'filebrowser', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_crontab', 'django_extensions', 'tinymce', 'sorl.thumbnail', 'settings', 'simplejson', 'library', 'account', 'lenta', 'post', 'medtus', 'videos', 'events', 'posts', 'records', 'groups', 'groups_posts', 'comments', 'lichnie', 'cuter', 'circle', 'fileshandle', 'partners', 'photos', 'banners', 'rss', 'lecturers', 'quiz') |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'ru-RU' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'main_formatter': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(levelname)s:%(name)s: %(message)s (%(asctime)s; %(filename)s:%(lineno)d)'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'main_formatter', 'level': 'DEBUG'}, 'debug_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '.logs/_logging_main_debug.log', 'formatter': 'main_formatter', 'level': 'DEBUG', 'maxBytes': 5242880}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}, 'production_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '.logs/_logging_main.log', 'formatter': 'main_formatter', 'level': 'INFO', 'maxBytes': 5242880}}, 'loggers': {'': {'handlers': ['console', 'production_file', 'debug_file'], 'level': 'DEBUG'}, 'django.request': {'handlers': ['mail_admins', 'console'], 'level': 'INFO', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | '/account/login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/vrachivmeste.ru/medtus.djangohost.name/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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', 'cmedu.onlinenow.OnlineNowMiddleware'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
POST_FORMATS_LIST | {1: u'\u041d\u043e\u0432\u043e\u0441\u0442\u0438', 2: u'\u0421\u0442\u0430\u0442\u044c\u0438', 3: u'\u041e\u043d\u043b\u0430\u0439\u043d-\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f', 4: u'\u0412\u043e\u043f\u0440\u043e\u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c', 5: u'\u0427\u0430\u0441\u0442\u043d\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435', 6: u'\u041a\u043d\u0438\u0433\u0438 \u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u044b', 7: u'\u0422\u0440\u0435\u043d\u0438\u043d\u0433\u0438', 8: u'\u0420\u0435\u0437\u044e\u043c\u0435 \u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438', 9: u'\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u043f\u0430\u0440\u0430\u0442\u0430', 11: u'\u041e\u043f\u0440\u043e\u0441\u044b \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f', 12: u'\u041a\u043b\u0438\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439', 13: u'\u041e\u043f\u0440\u043e\u0441\u044b \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f', 15: u'\u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 \u0433\u0440\u0443\u043f\u043f\u0435', 50: u'\u041f\u0430\u0440\u0442\u043d\u0451\u0440\u044b', u'': u'\u0422\u0438\u043f \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430'} |
PREPEND_WWW | False |
PROJECT_PATH | '/var/www/vrachivmeste.ru/application' |
PUBLIC_HTML_ROOT | '/var/www/vrachivmeste.ru/medtus.djangohost.name' |
ROOT_URLCONF | 'cmedu.urls' |
RSS_CATEGORY_DEFAULT | 30 |
RSS_PASS_DEFAULT | u'********************' |
SECRET_KEY | u'********************' |
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 | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_DIR | '/var/www/vrachivmeste.ru/application/cmedu' |
SETTINGS_MODULE | 'cmedu.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_URL | 'vrachivmeste.ru' |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/vrachivmeste.ru/medtus.djangohost.name/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/vrachivmeste.ru/application/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'cmedu.context_processors.request', 'django.template.context_processors.request']}}] |
TEMPLATE_PATH | '/var/www/vrachivmeste.ru/application/templates' |
TEMPLATE_VARS | {'placeholder_answer': u'\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c, \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c', 'placeholder_comment': u'\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0437\u044b\u0432, \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c'} |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Europe/Moscow' |
TINYMCE_COMPRESSOR | True |
TINYMCE_DEFAULT_CONFIG | {'cleanup_on_startup': True, 'convert_urls': False, 'custom_undo_redo_levels': 10, 'extended_valid_elements': 'iframe[src|title|width|height|allowfullscreen|frameborder]', 'file_browser_callback': 'mce_filebrowser', 'plugins': 'autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template', 'relative_urls': False, 'theme': 'advanced', 'theme_advanced_buttons1': 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontsizeselect', 'theme_advanced_buttons2': 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor', 'theme_advanced_buttons3': 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen', 'theme_advanced_buttons4': 'insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage', 'theme_advanced_resizing': True, 'theme_advanced_statusbar_location': 'bottom', 'theme_advanced_toolbar_align': 'left', 'theme_advanced_toolbar_location': 'top', 'width': 335} |
TINYMCE_JS_URL | '/static/tiny_mce/tiny_mce_src.js' |
TINYMCE_SPELLCHECKER | True |
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 |
VIDEO_FORMATS_LIST | {1: u'\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0430\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f', 2: u'\u041a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f', 3: u'\u0422\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440', 4: u'\u0425\u0438\u0440\u0443\u0440\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f', 5: u'\u0412\u0435\u0431\u0438\u043d\u0430\u0440', 6: u'\u041e\u043d\u043b\u0430\u0439\u043d-\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f', 7: u'\u042d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e', u'': u'\u0422\u0438\u043f \u0432\u0438\u0434\u0435\u043e\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430'} |
WSGI_APPLICATION | 'cmedu.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.