The 'image' attribute has no file associated with it.
Request Method: | GET |
---|---|
Request URL: | http://mermru.com/fidelat/?q=%E1%8A%AE |
Django Version: | 2.2.16 |
Exception Type: | ValueError |
Exception Value: | The 'image' attribute has no file associated with it. |
Exception Location: | /home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/db/models/fields/files.py in _require_file, line 38 |
Python Executable: | /home/ubuntu/mezgeb/env/bin/python3 |
Python Version: | 3.5.2 |
Python Path: | ['codeLibrary', '/home/ubuntu/mezgeb', '/home/ubuntu/mezgeb/env/bin', '/home/ubuntu/mezgeb/env/lib/python35.zip', '/home/ubuntu/mezgeb/env/lib/python3.5', '/home/ubuntu/mezgeb/env/lib/python3.5/plat-x86_64-linux-gnu', '/home/ubuntu/mezgeb/env/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/ubuntu/mezgeb/env/lib/python3.5/site-packages'] |
Server time: | Thu, 18 Apr 2024 16:45:40 +0000 |
In template /home/ubuntu/mezgeb/templates/base.html
, error at line 0
1 | <!DOCTYPE html> |
---|---|
2 | <html> |
3 | |
4 | {% include "head.html" %} |
5 | |
6 | <body> |
7 | {% include "header.html" %} |
8 | |
9 | {% block content %} |
10 | {% endblock content %} |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
current | <ImageFieldFile: None> |
self | <Variable: 'defi.image.url'> |
template_name | 'fidelat/index.html' |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response)
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 'image' attribute has no file associated with it.",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f9677728c18>> |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function index at 0x7f9667435f28> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f96704b00f0>> |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
resolver | <URLResolver 'mezgeb.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=fidelat.views.index, args=(), kwargs={}, url_name=index, app_names=['fidelat'], namespaces=['fidelat'], route=fidelat/) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9677728c18> |
wrapped_callback | <function index at 0x7f9667435f28> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function index at 0x7f9667435f28> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f96704b00f0>> |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
resolver | <URLResolver 'mezgeb.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=fidelat.views.index, args=(), kwargs={}, url_name=index, app_names=['fidelat'], namespaces=['fidelat'], route=fidelat/) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9677728c18> |
wrapped_callback | <function index at 0x7f9667435f28> |
/home/ubuntu/mezgeb/fidelat/views.py
in index
fidelform = FidelForm()
context ={
'variants':variants,
'words':words,
'fidelform':fidelform,
'error':error
}
return render(request, 'fidelat/index.html', context)…
Variable | Value |
---|---|
context | {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ'], 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>} |
error | '' |
fidel | 'ኮ' |
fidelform | <FidelForm bound=False, valid=Unknown, fields=(fidel)> |
hoh | 'ሓ' |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
variants | ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ'] |
words | <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ'], 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>} |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
status | None |
template_name | 'fidelat/index.html' |
using | None |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ'], 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>} |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
template | <django.template.backends.django.Template object at 0x7f9664a71fd0> |
template_name | 'fidelat/index.html' |
using | None |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
request | <WSGIRequest: GET '/fidelat/?q=%E1%8A%AE'> |
self | <django.template.backends.django.Template object at 0x7f9664a71fd0> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <django.template.base.Template object at 0x7f966689ceb8> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <django.template.base.Template object at 0x7f966689ceb8> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <ExtendsNode: extends 'base.html'> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f9666828ef0> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n '>]>, 'js': <Block Node: js. Contents: [<TextNode: '\n\n'>]>} |
compiled_parent | <django.template.base.Template object at 0x7f966641c9b0> |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <django.template.loader_tags.IncludeNode object at 0x7f96648cef60> |
self | <ExtendsNode: extends 'base.html'> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <django.template.base.Template object at 0x7f966641c9b0> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\n ' |
bits | ['<!DOCTYPE html>\n<html>\n\n', '\n' ' <head>\n' ' <meta charset="utf-8">\n' ' <meta http-equiv="X-UA-Compatible" content="IE=edge">\n' ' <title>መርምሩ</title>\n' ' <meta name="description" content="">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' ' <meta name="robots" content="all,follow">\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/bootstrap/css/bootstrap.min.css">\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/font-awesome/css/font-awesome.min.css">\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/fontastic.css">\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/%40fancyapps/fancybox/jquery.fancybox.min.css">\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/style.default.css" ' 'id="theme-stylesheet">\n' ' <link rel="stylesheet" ' 'href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700">\t\n' ' <link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/custom.css">\n' ' <link rel="shortcut icon" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/favicon.png"> \n' '\n' '<link rel="stylesheet" type="text/css" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/flags.css">\n' '<link rel="stylesheet" ' 'href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">\n' '<link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/bootstrap/css/bootstrap.min.css" ' 'rel="stylesheet">\n' '\n' ' <!-- Custom fonts for this template -->\n' ' <link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/fontawesome-free/css/all.min.css" ' 'rel="stylesheet">\n' ' <link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/simple-line-icons/css/simple-line-icons.css" ' 'rel="stylesheet" type="text/css">\n' ' <link ' 'href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" ' 'rel="stylesheet" type="text/css">\n' '\n' ' <!-- Custom styles for this template -->\n' ' <link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/landing-page.min.css%20" ' 'rel="stylesheet">\n' ' \n' ' <link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/vendor/fontawesome-free/css/all.min.css" ' 'rel="stylesheet"> \n' ' <link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/styles/github.css" ' 'rel="stylesheet">\n' '\n' ' <!-- Tweaks for older IEs--><!--[if lt IE 9]>\n' ' <script ' 'src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>\n' ' <script ' 'src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->\n' '\t<link rel="stylesheet" ' 'href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" ' 'integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" ' 'crossorigin="anonymous">\t\n' '\t<link rel="stylesheet" ' 'href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.css" ' '/>\n' ' \t<link rel="stylesheet" ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/cards-gallery.css"> \n' '\t<link ' 'href="https://mermru-test-bucket.s3.amazonaws.com/static/css/landing-page.min.css" ' 'rel="stylesheet">\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>\n' ' <script ' 'src="https://code.iconify.design/1/1.0.7/iconify.min.js"></script>\n' '</head>\n' '\n', '\n\n<body>\n ', ' <header class="header">\n' ' <!-- Main Navbar-->\n' ' <nav class="navbar navbar-expand-lg">\n' ' <div class="search-area">\n' ' <div class="search-area-inner d-flex align-items-center ' 'justify-content-center">\n' ' <div class="close-bt… <trimmed 6619 bytes string> |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <Block Node: content. Contents: [<TextNode: '\n '>]> |
self | [<TextNode: '<!DOCTYPE html>\n<html>\n\n'>, <django.template.loader_tags.IncludeNode object at 0x7f96648cef60>, <TextNode: '\n\n<body>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f96648ce9b0>, <TextNode: '\n\n '>, <Block Node: content. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f96648ce400>, <TextNode: '\n\n'>, <Block Node: js. Contents: [<TextNode: '\n\n'>]>, <TextNode: ' \n</body>\n\n</html>\n'>] |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f96668287f0>, <TextNode: '\n\n<!DOCTYPE html>\n<html>\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828668>, <TextNode: '">\n\n\n</head> \n<body>\n\n<di'>, <django.template.defaulttags.URLNode object at 0x7f9666828e48>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <Variable Node: request.GET.q>, <TextNode: '" id="example-search-inpu'>, <django.template.defaulttags.URLNode object at 0x7f96668289e8>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828eb8>, <TextNode: '" type="audio/mpeg">\n Yo'>, <IfNode>, <TextNode: '\n</div>\n\n<section class="'>, <IfNode>, <TextNode: '\n\t \n\t </div>\n\t '>, <ForNode: for obj in object_list, tail_len: 19>, <TextNode: '\n </div>\n </secti'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f966481c400>, <TextNode: '\n <div cla'>, <django.templatetags.static.StaticNode object at 0x7f96668c6cf8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f9666f720b8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689ef98>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689cac8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689c438>, <TextNode: '" type="text/javascript">'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f9666828ef0> |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
push | <Block Node: content. Contents: [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f96668287f0>, <TextNode: '\n\n<!DOCTYPE html>\n<html>\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828668>, <TextNode: '">\n\n\n</head> \n<body>\n\n<di'>, <django.template.defaulttags.URLNode object at 0x7f9666828e48>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <Variable Node: request.GET.q>, <TextNode: '" id="example-search-inpu'>, <django.template.defaulttags.URLNode object at 0x7f96668289e8>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828eb8>, <TextNode: '" type="audio/mpeg">\n Yo'>, <IfNode>, <TextNode: '\n</div>\n\n<section class="'>, <IfNode>, <TextNode: '\n\t \n\t </div>\n\t '>, <ForNode: for obj in object_list, tail_len: 19>, <TextNode: '\n </div>\n </secti'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f966481c400>, <TextNode: '\n <div cla'>, <django.templatetags.static.StaticNode object at 0x7f96668c6cf8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f9666f720b8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689ef98>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689cac8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689c438>, <TextNode: '" type="text/javascript">'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' '</div>\n' '\n' '<section class="gallery-block cards-gallery">\n' ' <div class="container">\n' '\t <div class="row">\n' '\t\t\t') |
bits | ['\n', '', '\n' '\n' '<!DOCTYPE html>\n' '<html>\n' ' <head>\n' ' <meta charset="UTF-8" />\n' ' <meta name="viewport" content="width=device-width, initial-scale=1.0" ' '/>\n' ' <link rel="stylesheet" href="', 'https://mermru-test-bucket.s3.amazonaws.com/static/fidelat/css/style.css', '">\n' '\n' '\n' '</head> \n' '<body>\n' '\n' '<div class="jumbotron text-center text-dark" style="margin-bottom:0; ">\n' ' <div class="row">\n' ' \t\t<div class="col-sm-3 mx-auto text-left">\n' '\t\t <!--<p class="text left"> ዝውቱራ ፊደላት፥ ቃላት፥ <br>ሓረጋት ክትፈልጡ ትደልዩ?<br> መዓላ ' 'ቃላት ከ <br> ክትፈልጡ ዶ ትደልዩ? <br>ኣብ <a href ="', '/corpus/', ' "> እዚ ጠውቑ</a> </p> -->\n' ' </div>\n' '\n' ' <div class="mix col-sm-6 col-md-6 col-lg-6 col-xl-6 ' 'mx-auto">\n' ' <h1 class="text-center text-dark"> ፊደላት ምስ ስእልታት ብኣቶም ዝይጅምሩ ' 'ቃላት</h1>\n' ' <p class="text left"> ኣብ እቱ መእተዊ፡ ሓደ ፊደል ኣእትዉ። ድሕሪኡ ' '"ኢንተር" ጠውቑ። እቱ ፕሮግራም፡ እቱ ፊደል ምስ ዓሌቱ ክይዝርዝረልኩም እዩ። ምስልታት ብ እቱ ፊደል ዝይጅምሩ ' 'ቃላት እውን ክየርእየኩም እዩ። ካልእ መንገዲ፡ ናብ <a href ="hohyat/">ሰሌዳ ፊደላት </a> ከይድኩም ኣብ ' 'ሓደ ፊደል ጠውቑ። \n' ' </p>\n' '\t\t <form>\n' ' <div class="input-group">\n' ' <label for="example-search-input">ፊደል: </label>\n' ' <input class="form-control py-2 border-right-0 border" ' 'name="q" placeholder="ምሳሌ ኣ" type="text" value="', 'ኮ', '" id="example-search-input">\n' ' <span class="input-group-append">\n' ' <div class="input-group-text bg-transparent">\n' ' <button type="submit"><i class="fa ' 'fa-search"></i></button>\n' ' </div>\n' ' </span>\n' ' </div>\n' ' <h5 class="text center"> <a href ="hohyat/"> ሰሌዳ ፊደላት </a> </h5>\n' ' </form>\n' ' </div>\n' '\n' ' <div class="col-sm-3 mx-auto text-right">\n' '<!-- <p class="text right"> ኣምሀርቲ ፅዋታታት? <br>ኣብ <a href ="', '/games/', ' "> እዚ ጠውቑ</a> </p> -->\n' ' </div>\n' '\n' ' </div>\n' '\n' ' </div>\n' '\n' '\n' '\n' ' <div class="container">\n' '\n' '<audio id="myaudio">\n' ' <source src="', 'https://mermru-test-bucket.s3.amazonaws.com/static/fidelat/audios/%E1%88%88.mp3', '" type="audio/mpeg">\n' ' Your browser does not support the audio element.\n' '</audio>\n' '\n', '\n' '<div class="row">\n' ' <div class="col-sm-12 table-responsive-sm">\n' '<table class="table">\n' '<tbody>\n' ' <tr table-active>\n' '\n' ' \n' ' <td>\n' ' <a id="ከ" href="?q=ከ" onmouseover="playAudio(\'ከ\')"> <h2 ' 'class="display-1"> ከ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ኩ" href="?q=ኩ" onmouseover="playAudio(\'ኩ\')"> <h2 ' 'class="display-1"> ኩ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ኪ" href="?q=ኪ" onmouseover="playAudio(\'ኪ\')"> <h2 ' 'class="display-1"> ኪ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ካ" href="?q=ካ" onmouseover="playAudio(\'ካ\')"> <h2 ' 'class="display-1"> ካ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ኬ" href="?q=ኬ" onmouseover="playAudio(\'ኬ\')"> <h2 ' 'class="display-1"> ኬ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ክ" href="?q=ክ" onmouseover="playAudio(\'ክ\')"> <h2 ' 'class="display-1"> ክ </h2></a>\n' ' </td>\n' '\n' ' \n' ' <td>\n' ' <a id="ኮ" href="?q=ኮ" onmouseover="playAudio(\'ኮ\')"> <h2 ' 'class="display-1"> ኮ </h2></a>\n' ' </td>\n' '\n' ' \n' ' </tr>\n' '<tbody>\n' '</table>\n' '\n' '</div>\n' '</div>\n' '\n' '\n' '\n', '\n' '</div>\n' '\n' '<section class="gallery-block cards-gallery">\n' ' <div class="container">\n' '\t <div class="row">\n' '\t\t\t'] |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <IfNode> |
self | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f96668287f0>, <TextNode: '\n\n<!DOCTYPE html>\n<html>\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828668>, <TextNode: '">\n\n\n</head> \n<body>\n\n<di'>, <django.template.defaulttags.URLNode object at 0x7f9666828e48>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <Variable Node: request.GET.q>, <TextNode: '" id="example-search-inpu'>, <django.template.defaulttags.URLNode object at 0x7f96668289e8>, <TextNode: ' "> እዚ ጠውቑ</a> </p> -->\n'>, <django.templatetags.static.StaticNode object at 0x7f9666828eb8>, <TextNode: '" type="audio/mpeg">\n Yo'>, <IfNode>, <TextNode: '\n</div>\n\n<section class="'>, <IfNode>, <TextNode: '\n\t \n\t </div>\n\t '>, <ForNode: for obj in object_list, tail_len: 19>, <TextNode: '\n </div>\n </secti'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f966481c400>, <TextNode: '\n <div cla'>, <django.templatetags.static.StaticNode object at 0x7f96668c6cf8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f9666f720b8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689ef98>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689cac8>, <TextNode: '" alt="..." class="img-fl'>, <django.templatetags.static.StaticNode object at 0x7f966689c438>, <TextNode: '" type="text/javascript">'>] |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <IfNode> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (literal <django.template.base.FilterExpression object at 0x7f966673f208>) |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
match | <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]> |
nodelist | [<TextNode: '\n\t\t\t'>, <ForNode: for word in words, tail_len: 3>, <TextNode: '\n\t\t\t '>] |
self | <IfNode> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\t\t\t' |
bits | ['\n\t\t\t'] |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <ForNode: for word in words, tail_len: 3> |
self | [<TextNode: '\n\t\t\t'>, <ForNode: for word in words, tail_len: 3>, <TextNode: '\n\t\t\t '>] |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <ForNode: for word in words, tail_len: 3> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
i | 3 |
item | <Entry: ኮማ ስም> |
len_values | 4 |
loop_dict | {'counter': 4, 'counter0': 3, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0} |
node | <WithNode> |
nodelist | ['\n\t <div class="col-md-4">\n ', '\n' '\t <div class="card border-0 transform-on-hover">\n' '\t\t\t\t <a class="lightbox" href=" ' 'https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%88%9A%E1%8B%B0%E1%88%A8.jpg">\n' '\t \t<img ' 'src="https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%88%9A%E1%8B%B0%E1%88%A8.jpg" ' 'alt="" class=" img-responsive"> \n' '\t \t</a>\n' '\t <div class="card-body">\n' '\t <h3><a ' 'href="http://mermru.com/dictionary/?q=ኮሚደረ">ኮሚደረ</a></h3>\n' '\t\t\t\t\n' '\t </div>\n' '\t </div>\n' ' ', '\n\t </div>\n\t\t\t', '\n\t <div class="col-md-4">\n ', '\n' '\t <div class="card border-0 transform-on-hover">\n' '\t\t\t\t <a class="lightbox" href=" ' 'https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%88%AB%E1%88%AA%E1%88%9B.jpeg">\n' '\t \t<img ' 'src="https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%88%AB%E1%88%AA%E1%88%9B.jpeg" ' 'alt="" class=" img-responsive"> \n' '\t \t</a>\n' '\t <div class="card-body">\n' '\t <h3><a ' 'href="http://mermru.com/dictionary/?q=ኮራሪማ">ኮራሪማ</a></h3>\n' '\t\t\t\t\n' '\t </div>\n' '\t </div>\n' ' ', '\n\t </div>\n\t\t\t', '\n\t <div class="col-md-4">\n ', '\n' '\t <div class="card border-0 transform-on-hover">\n' '\t\t\t\t <a class="lightbox" href=" ' 'https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%8A%BD%E1%88%92.jpg">\n' '\t \t<img ' 'src="https://mermru-test-bucket.s3.amazonaws.com/media/dictionary/images/%E1%8A%AE%E1%8A%BD%E1%88%92.jpg" ' 'alt="" class=" img-responsive"> \n' '\t \t</a>\n' '\t <div class="card-body">\n' '\t <h3><a ' 'href="http://mermru.com/dictionary/?q=ኮኽሒ">ኮኽሒ</a></h3>\n' '\t\t\t\t\n' '\t </div>\n' '\t </div>\n' ' ', '\n\t </div>\n\t\t\t', '\n\t <div class="col-md-4">\n '] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for word in words, tail_len: 3> |
unpack | False |
values | <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <WithNode> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/defaulttags.py
in render
def __repr__(self):
return '<%s>' % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <WithNode> |
values | {'defi': <Definition: Definition object (320751)>} |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' '\t <div class="card border-0 transform-on-hover">\n' '\t\t\t\t <a class="lightbox" href=" ') |
bits | ['\n' '\t <div class="card border-0 transform-on-hover">\n' '\t\t\t\t <a class="lightbox" href=" '] |
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
node | <Variable Node: defi.image.url> |
self | [<TextNode: '\n\t <div cl'>, <Variable Node: defi.image.url>, <TextNode: '">\n\t \t<img'>, <Variable Node: defi.image.url>, <TextNode: '" alt="'>, <Variable Node: word.entry>, <TextNode: '" class=" img-responsive"'>, <Variable Node: word.word>, <TextNode: '">'>, <Variable Node: word.word>, <TextNode: '</a></h3>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t </d'>] |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <Variable Node: defi.image.url> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <Variable Node: defi.image.url> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x7f9665c70358> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
self | <Variable: 'defi.image.url'> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/template/base.py
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, 'None': None, 'False': False}, {}, {}, {'error': '', 'fidelform': <FidelForm bound=False, valid=Unknown, fields=(fidel)>, 'words': <QuerySet [<Entry: ኮሚደረ ስም>, <Entry: ኮራሪማ ስም>, <Entry: ኮኽሒ ስም>, <Entry: ኮማ ስም>]>, 'variants': ['ከ', 'ኩ', 'ኪ', 'ካ', 'ኬ', 'ክ', 'ኮ']}] |
current | <ImageFieldFile: None> |
self | <Variable: 'defi.image.url'> |
template_name | 'fidelat/index.html' |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/db/models/fields/files.py
in url
@property
def path(self):
self._require_file()
return self.storage.path(self.name)
@property
def url(self):
self._require_file()…
return self.storage.url(self.name)
@property
def size(self):
self._require_file()
if not self._committed:
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
/home/ubuntu/mezgeb/env/lib/python3.5/site-packages/django/db/models/fields/files.py
in _require_file
# The standard File contains most of the necessary properties, but
# FieldFiles can be instantiated without a name, so that needs to
# be checked for here.
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)…
def _get_file(self):
self._require_file()
if getattr(self, '_file', None) is None:
self._file = self.storage.open(self.name, 'rb')
return self._file
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
AnonymousUser
Variable | Value |
---|---|
q | 'ኮ' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'mermru.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.145.115.195' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_REAL_IP | '3.145.115.195' |
PATH_INFO | '/fidelat/' |
QUERY_STRING | 'q=%E1%8A%AE' |
RAW_URI | '/fidelat/?q=%E1%8A%AE' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'mermru.com' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.9.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/ubuntu/mezgeb/mezgeb.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f96668d0320> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f96668d0f28> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
mezgeb.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['mermru.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AWS_ACCESS_KEY_ID | '********************' |
AWS_DEFAULT_ACL | 'public-read' |
AWS_LOCATION | 'static' |
AWS_S3_CUSTOM_DOMAIN | 'mermru-test-bucket.s3.amazonaws.com' |
AWS_S3_OBJECT_PARAMETERS | {'CacheControl': 'max-age=86400'} |
AWS_SECRET_ACCESS_KEY | '********************' |
AWS_STORAGE_BUCKET_NAME | 'mermru-test-bucket' |
BASE_DIR | '/home/ubuntu/mezgeb' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'mezgeb_db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'admin'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'mezgeb.storage_backends.MediaStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'storages', 'fidelat.apps.FidelatConfig', 'bibles.apps.BiblesConfig', 'dictionary.apps.DictionaryConfig', 'accounts.apps.AccountsConfig', 'blog.apps.BlogConfig', 'corpus.apps.CorpusConfig', 'tinymce', 'crispy_forms', 'tools.apps.ToolsConfig', 'games.apps.GamesConfig', 'pwa'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', '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'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/ubuntu/mezgeb/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_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'mezgeb.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_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 | 'mezgeb.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 | ('/home/ubuntu/mezgeb/static_in_env',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'storages.backends.s3boto3.S3Boto3Storage' |
STATIC_ROOT | '/home/ubuntu/mezgeb/static/' |
STATIC_URL | 'https://mermru-test-bucket.s3.amazonaws.com/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/ubuntu/mezgeb/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', '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.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' |
TINYMCE_DEFAULT_CONFIG | {'cleanup_on_startup': True, 'contextmenu': 'formats | link image', 'custom_undo_redo_levels': 20, 'menubar': True, 'plugins': '\n' ' textcolor save link image media preview codesample ' 'contextmenu\n' ' table code lists fullscreen insertdatetime ' 'nonbreaking\n' ' contextmenu directionality searchreplace wordcount ' 'visualblocks\n' ' visualchars code fullscreen autolink lists charmap ' 'print hr\n' ' anchor pagebreak\n' ' ', 'selector': 'textarea', 'statusbar': True, 'theme': 'modern', 'toolbar1': '\n' ' fullscreen preview bold italic underline | ' 'fontselect,\n' ' fontsizeselect | forecolor backcolor | alignleft ' 'alignright |\n' ' aligncenter alignjustify | indent outdent | bullist ' 'numlist table |\n' ' | link image media | codesample |\n' ' ', 'toolbar2': '\n' ' visualblocks visualchars |\n' ' charmap hr pagebreak nonbreaking anchor | code |\n' ' '} |
USE_I18N | True |
USE_L10N | True |
USE_S3 | 'TRUE' |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'mezgeb.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.