Reverse for 'index' not found. 'index' is not a valid view function or pattern name.
Request Method: | GET |
---|---|
Request URL: | https://ircell.iitkgp.ac.in/ftp/projects/anu |
Django Version: | 2.2.9 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'index' not found. 'index' is not a valid view function or pattern name. |
Exception Location: | /var/www/html/ircell/envs/ircell/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673 |
Python Executable: | /usr/bin/python3 |
Python Version: | 3.6.8 |
Python Path: | ['/var/www/html/ircell/ircell', '/var/www/html/ircell/envs/ircell/lib/python3.6/site-packages/git/ext/gitdb', '/var/www/html/ircell/envs/ircell/lib/python3.6/site-packages', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/usr/local/lib64/python3.6/site-packages', '/usr/local/lib/python3.6/site-packages', '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages', '/var/www/html/ircell/envs/ircell/lib/python3.6/site-packages/gitdb/ext/smmap'] |
Server time: | Fri, 29 Mar 2024 17:00:51 +0530 |
In template /var/www/html/ircell/ircell/templates/ftp/base_with_no_menu.html
, error at line 0
1 | {% load static %} |
---|---|
2 | |
3 | <!DOCTYPE html> |
4 | <html lang="en"> |
5 | |
6 | <head> |
7 | <meta charset="utf-8"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
9 | <meta http-equiv="x-ua-compatible" content="ie=edge"> |
10 | <title>{% block title %}{% endblock %}</title> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 | NoReverseMatch("Reverse for 'index' not found. 'index' is not a valid view function or pattern name.",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f18cab02c18>> |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 view_anu_projects at 0x7f18c9ef8f28> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f18ca648860>> |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
resolver | <URLResolver 'ircell.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=ftp.views.view_anu_projects, args=(), kwargs={}, url_name=anu_projects, app_names=['ftp'], namespaces=['ftp'], route=^ftp/projects/anu) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f18cab02c18> |
wrapped_callback | <function view_anu_projects at 0x7f18c9ef8f28> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 view_anu_projects at 0x7f18c9ef8f28> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f18ca648860>> |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
resolver | <URLResolver 'ircell.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=ftp.views.view_anu_projects, args=(), kwargs={}, url_name=anu_projects, app_names=['ftp'], namespaces=['ftp'], route=^ftp/projects/anu) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f18cab02c18> |
wrapped_callback | <function view_anu_projects at 0x7f18c9ef8f28> |
/var/www/html/ircell/ircell/ftp/views.py
in view_anu_projects
return render(request, 'ftp/ProjectsPage/anu_apply.html', {'form': form, 'errors': form.errors})
else:
form = AnuForm()
try:
profile = Profile.objects.get(username=request.user)
except:
profile = {}
return render(request, 'ftp/ProjectsPage/anu_apply.html', {'form': form, "prof": profile})…
def view_anu_2022(request):
# return HttpResponse('Hello ANU')
return redirect('ftp:anu_form_closed')
Variable | Value |
---|---|
form | <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)> |
profile | {} |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 | {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}} |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
status | None |
template_name | 'ftp/ProjectsPage/anu_apply.html' |
using | None |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 | {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}} |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
template | <django.template.backends.django.Template object at 0x7f18c9ce10b8> |
template_name | 'ftp/ProjectsPage/anu_apply.html' |
using | None |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
request | <WSGIRequest: GET '/ftp/projects/anu'> |
self | <django.template.backends.django.Template object at 0x7f18c9ce10b8> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <django.template.base.Template object at 0x7f18c99c2710> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <django.template.base.Template object at 0x7f18c99c2710> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
node | <ExtendsNode: extends 'ftp/base_with_no_menu.html'> |
self | [<ExtendsNode: extends 'ftp/base_with_no_menu.html'>] |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <ExtendsNode: extends 'ftp/base_with_no_menu.html'> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 0x7f18c9954fd0> |
blocks | {'head': <Block Node: head. Contents: []>, 'header': <Block Node: header. Contents: [<TextNode: '\n '>]>, 'js': <Block Node: js. Contents: [<TextNode: '\n '>]>, 'main': <Block Node: main. Contents: [<TextNode: '\n '>]>, 'title': <Block Node: title. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7f18c9954198> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
node | <django.template.defaulttags.LoadNode object at 0x7f18c978a588> |
self | <ExtendsNode: extends 'ftp/base_with_no_menu.html'> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <django.template.base.Template object at 0x7f18c9954198> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 | ('" alt="" /></a>\n' ' <p class="nav__title">International Relations Cell</p>\n' ' </div>\n' ' </nav>\n' '\n' ' \n' ' </header>\n' ' ') |
bits | ['', '\n' '\n' '<!DOCTYPE html>\n' '<html lang="en">\n' '\n' '<head>\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' ' <meta http-equiv="x-ua-compatible" content="ie=edge">\n' ' <title>', 'ANU | International Relations Cell', '</title>\n\n ', '\n' '\n' '<meta charset="utf-8">\n' '<meta name="viewport" content="width=device-width, initial-scale=1">\n' '<link ' 'href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" ' 'rel="stylesheet"\n' ' ' 'integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" ' 'crossorigin="anonymous">\n' '<script ' 'src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.1/dist/umd/popper.min.js"\n' ' ' 'integrity="sha384-SR1sx49pcuLnqZUnnPwx6FCym0wLsk5JZuNx2bPPENzswTNFaQU1RDvt3wT4gWFG"\n' ' crossorigin="anonymous"></script>\n' '<script ' 'src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.min.js"\n' ' ' 'integrity="sha384-j0CNLUeiqtyaRmlzUHCPZ+Gy5fQu0dQ6eZ/xAww941Ai1SxSY+0EQqNXNE6DZiVc"\n' ' crossorigin="anonymous"></script>\n' '<style>\n' ' .accordion-body {\n' ' background-color: #f8f8f8;\n' ' margin-right: 2.6em;\n' ' border-bottom: 2px solid #cacaca99;\n' ' }\n' '</style>\n' '\n', '\n\n <!-- CSS here -->\n <!-- <link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/bootstrap.min.css', '"> -->\n <link rel="shortcut icon" type="image/icon" href="', '/static/ftp/ProjectsPage/img/logo/irclogo.png', '" />\n <!-- <link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/slicknav.css', '"> -->\n <!-- <link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/fontawesome-all.min.css', '"> -->\n <!-- <link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/style.css', '"> -->\n <link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/style2.css', '">\n' ' <!-- fonts -->\n' ' <link rel="stylesheet" ' 'href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" ' '/>\n' ' <!-- <link ' "href='https://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext' " "rel='stylesheet' type='text/css'> -->\n" " <!-- <link href='https://fonts.googleapis.com/css?family=Raleway' " "rel='stylesheet'> -->\n" ' <!-- <link\n' ' ' 'href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&display=swap"\n' ' rel="stylesheet"> -->\n' ' <!-- <style type="text/css">\n' ' @import url("', '/static/ftp/ProjectsPage/css/tabbed.css', '");\n' ' </style> -->\n' ' <!-- <link rel="stylesheet" type="text/css" href="', '/static/ftp/ProjectsPage/css/colors.css', '" media="screen"> -->\n' ' <script type="text/javascript" ' 'src="https://code.jquery.com/jquery-1.9.1.min.js"></script>\n' ' <script src="https://kit.fontawesome.com/f784174103.js" ' 'crossorigin="anonymous"></script>\n' ' ', '', '\n' ' <!-- CSS For footer -->\n' ' <style>\n' ' .themeBtn.scrollToTopBtn {\n' ' background: linear-gradient(135deg, #001A3B, #00506B, #007C96, ' '#00809B);\n' ' }\n' '\n' ' .themeBtn.scrollToTopBtn:hover {\n' ' background: #fff;\n' ' color: #d50391;\n' ' }\n' '\n' ' .whitePlaceholder::placeholder {\n' ' color: white !important;\n' ' }\n' '\n' ' .quickl:hover {\n' ' transform: translateX(5px);\n' ' color: white !important;\n' ' }\n' '\n' '\n' '\n' ' .links:hover {\n' ' border-bottom: 2px solid white;\n' ' }\n' '\n' ' .fab:hover {\n' ' transform: translateY(5px);\n' ' filter: brightness(70%);\n' ' }\n' '\n' ' .quickl {\n' ' transition: all 0.5s;\n' ' }\n' '\n' ' .footer-col a {\n' ' transition: all 0.5s;\n' … <trimmed 10042 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
node | <Block Node: main. Contents: [<TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f18c978a588>, <TextNode: '\n\n<!DOCTYPE html>\n<html l'>, <Block Node: title. Contents: []>, <TextNode: '</title>\n\n '>, <Block Node: header. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n <!-- CSS here -->\n '>, <django.templatetags.static.StaticNode object at 0x7f18c97e25c0>, <TextNode: '"> -->\n <link rel="sho'>, <django.templatetags.static.StaticNode object at 0x7f18c97e2c50>, <TextNode: '" />\n <!-- <link rel="'>, <django.templatetags.static.StaticNode object at 0x7f18c998f9b0>, <TextNode: '"> -->\n <!-- <link rel'>, <django.templatetags.static.StaticNode object at 0x7f18c9a245c0>, <TextNode: '"> -->\n <!-- <link rel'>, <django.templatetags.static.StaticNode object at 0x7f18c96b0ef0>, <TextNode: '"> -->\n <link rel="sty'>, <django.templatetags.static.StaticNode object at 0x7f18ca5f25f8>, <TextNode: '">\n <!-- fonts -->\n '>, <django.templatetags.static.StaticNode object at 0x7f18c978a2e8>, <TextNode: '");\n </style> -->\n '>, <django.templatetags.static.StaticNode object at 0x7f18c978ae10>, <TextNode: '" media="screen"> -->\n '>, <Block Node: head. Contents: []>, <TextNode: '\n <!-- CSS For footer '>, <django.templatetags.static.StaticNode object at 0x7f18c902c550>, <TextNode: '") fixed no-repeat center'>, <django.templatetags.static.StaticNode object at 0x7f18c902c208>, <TextNode: '">\n </div>'>, <django.templatetags.static.StaticNode object at 0x7f18c902cc88>, <TextNode: '"\n '>, <django.templatetags.static.StaticNode object at 0x7f18c902c9b0>, <TextNode: '" alt="" /></a>\n '>, <Block Node: main. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n <footer>\n <d'>, <django.template.defaulttags.URLNode object at 0x7f18c902c7b8>, <TextNode: '">\n <i class="'>, <django.template.defaulttags.URLNode object at 0x7f18c9c7e240>, <TextNode: '">\n <i class="'>, <Block Node: js. Contents: [<TextNode: '\n '>]>, <TextNode: '\n <!-- active link han'>, <django.templatetags.static.StaticNode object at 0x7f18c962ab70>, <TextNode: '"></script> -->\n <!-- '>, <django.templatetags.static.StaticNode object at 0x7f18c3fa3710>, <TextNode: '"></script> -->\n <!-- '>, <django.templatetags.static.StaticNode object at 0x7f18c93f6828>, <TextNode: '"></script> -->\n\n <!--'>, <django.templatetags.static.StaticNode object at 0x7f18c99510f0>, <TextNode: '"></script> -->\n <scri'>, <django.templatetags.static.StaticNode object at 0x7f18c93f6470>, <TextNode: '"></script>\n\n <!-- pus'>, <ForNode: for pNotif in pendingNotifications, tail_len: 7>, <TextNode: ']\n </p>\n <script>\n '>] |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <Block Node: main. Contents: [<TextNode: '\n '>]> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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: main. Contents: [<TextNode: '\n<style>\n \n #one {\n'>, <django.templatetags.static.StaticNode object at 0x7f18c989c3c8>, <TextNode: '">\n<main>\n <section st'>, <django.templatetags.static.StaticNode object at 0x7f18c989c550>, <TextNode: ')no-repeat fixed;">\n\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f18c989c0f0>, <TextNode: '\n\n <di'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.templatetags.static.StaticNode object at 0x7f18c9a488d0>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a482e8>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a48b38>, <TextNode: '" style="color:red; font-'>, <django.template.defaulttags.CommentNode object at 0x7f18c8c0e320>, <TextNode: '\n '>, <django.template.defaulttags.URLNode object at 0x7f18c9a480f0>, <TextNode: '\'">Close</button>\n '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f18c9954fd0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
push | <Block Node: main. Contents: [<TextNode: '\n<style>\n \n #one {\n'>, <django.templatetags.static.StaticNode object at 0x7f18c989c3c8>, <TextNode: '">\n<main>\n <section st'>, <django.templatetags.static.StaticNode object at 0x7f18c989c550>, <TextNode: ')no-repeat fixed;">\n\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f18c989c0f0>, <TextNode: '\n\n <di'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.templatetags.static.StaticNode object at 0x7f18c9a488d0>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a482e8>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a48b38>, <TextNode: '" style="color:red; font-'>, <django.template.defaulttags.CommentNode object at 0x7f18c8c0e320>, <TextNode: '\n '>, <django.template.defaulttags.URLNode object at 0x7f18c9a480f0>, <TextNode: '\'">Close</button>\n '>]> |
self | <Block Node: main. Contents: [<TextNode: '\n '>]> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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' ' <div class="accordion-item anu_project">\n' ' <h2 class="accordion-header" ' 'id="headingTwo">\n' ' <button class="accordion-button ' 'collapsed" type="button" data-bs-toggle="collapse"\n' ' data-bs-target="#collapseTwo" ' 'aria-expanded="false" aria-controls="collapseTwo">\n' ' <h6> Project 2: Unveiling ' 'substructures in groups and clusters of galaxies</h6>\n' ' <span style="color: ' '#00506B;font-weight: bold;"\n' ' class="priority"></span>\n' ' </button>\n' ' </button>\n' ' <input class="form-check-input" ' 'type="checkbox" autocomplete="off" value="2" id="flexCheckDefault"\n' ' onchange="handleChoice(event)" ' 'disabled>\n' ' </h2>\n' ' <div id="collapseTwo" ' 'class="accordion-collapse collapse" aria-labelledby="headingTwo"\n' ' data-bs-parent="#accordionExample">\n' ' <div class="accordion-body">\n' ' Clusters of galaxies are the most ' 'massive objects in our Universe. According to the current formation model, ' 'they form through hierarchical mergers of smaller groups of galaxies. ' 'Combining X-ray data from the eROSITA satellite and optical data from the ' 'GAMA galaxy survey, we will investigate whether the detected groups and ' 'clusters show substructures, which are crucial to understand galaxy ' 'evolution. \n' ' <pre></pre>\n' ' <a ' 'href="https://erosita.mpe.mpg.de/edr/">https://erosita.mpe.mpg.de/edr/</a> \n' ' <pre></pre>\n' ' <a ' 'href="http://www.gama-survey.org/">http://www.gama-survey.org/</a>\n' ' <pre></pre>\n' ' Supervised by Stefania Barsanti & ' 'Matthew Colless\n' ' </div>\n' ' </div>\n' ' </div>\n' ' <div class="accordion-item anu_project">\n' ' <h2 class="accordion-header" ' 'id="headingThree">\n' ' <button class="accordion-button ' 'collapsed" type="button" data-bs-toggle="collapse"\n' ' data-bs-target="#collapseThree" ' 'aria-expanded="false"\n' ' aria-controls="collapseThree">\n' ' <h6>Project 3: Spin-filament ' 'alignments of the internal orbital structures of galaxies</h6>\n' '\n' ' <span style="color: ' '#00506B;font-weight: bold;"\n' ' class="priority"></span>\n' ' </button>\n' ' </button>\n' ' <input class="form-check-input" ' 'type="checkbox" autocomplete="off" value="3" id="flexCheckDefault"\n' ' onchange="handleChoice(event)" ' 'disabled>\n' ' </h2>\n' ' <div id="collapseThree" ' 'class="accordion-collapse collapse"\n' ' aria-labelledby="headingThree" ' 'data-bs-parent="#accordionExample">\n' ' <div class="accordion-body">\n' ' The study of how galaxies acquire ' 'their angular momentum in… <trimmed 43163 bytes string> |
bits | ['\n' '<style>\n' ' \n' ' #one {\n' ' color: red;\n' ' }\n' '\n' ' #two {\n' ' color: red;\n' ' }\n' '\n' ' #three {\n' ' color: red;\n' ' }\n' '\n' ' section{\n' ' padding-top: 0 !important;\n' ' }\n' '\n' ' #application {\n' ' background-color: white;\n' ' }\n' '\n' ' #accordionExample {\n' ' margin-bottom: 50px;\n' ' }\n' '\n' ' .accordion-header {\n' ' display: flex;\n' ' align-items: center;\n' ' }\n' '\n' ' .accordion-header>input {\n' ' margin: 0;\n' ' margin-left: 10px;\n' ' }\n' '\n' ' .accordion-item {\n' ' border: 0;\n' ' }\n' '\n' ' .accordion-body {\n' ' margin-right: 2.45em;\n' ' border: 2px solid #cacaca99;\n' ' }\n' '\n' ' .priority {\n' ' margin-left: 5px;\n' ' margin-bottom: auto;\n' ' }\n' ' @media only screen and (max-width: 750px) {\n' ' #application {\n' ' padding: 60px 0 !important;\n' ' }\n' '</style>\n' '<link rel="stylesheet" href="', '/static/ftp/ProjectsPage/css/application.css', '">\n<main>\n <section style="background: url(', '/static/%20ftp/images/bg.jpg', ')no-repeat fixed;">\n' '\n' ' <div id="application" class="services-section section-padding30 fix" ' 'style="padding:60px;">\n' ' <div style="background-color:#ece8e899 ; width: 94%; ' 'margin-left: 3% ; margin-top: 50px;">\n' ' <div class="success" style="font-size: 25px;font-weight: ' '700;text-align: center;color: #ed293c;">\n' ' Submissions are closed.\n' ' </div>\n' ' <form style="background-color:white ; margin-left:15px; ' 'margin-right: 15px;" onsubmit="validateForm(event)" name="myForm" ' 'id="myform" method="post" enctype="multipart/form-data">\n' ' ', '<input type="hidden" name="csrfmiddlewaretoken" ' 'value="ioedVB83J1wrPstgp61LGhGOwSiwsiCSatZWQnS04ufw3grARe97o4n1cWPMMQJ2">', '\n' '\n' ' <div class="row">\n' ' <!-- Content Column -->\n' ' <div class="col-xl-12 my-4" style="text-align: ' 'center">\n' '\n' '\n' ' <div class="row">\n' ' ', '', '\n ', '', '\n' ' </div>\n' ' </div>\n' ' </div>\n' '\n' ' <div class="form-group row" style="margin-top: 1rem; ' 'margin-left:30px">\n' ' <div class="row">\n' ' <div class="cell w-100">\n' ' <!-- Large title -->\n' ' <h1 style="font-size:40px"> Apply for ANU ' 'Projects<br><br></i></h1>\n' ' </div>\n' ' </div>\n' ' </div>\n' '\n' ' <div class="container" style="width:94% ;">\n' ' ', '\n' ' <div class="row" style="margin-bottom: 50px;">\n' ' <div class="col-md-6">\n' ' <label class="col-form-label" for="name"\n' ' style="color:#8c8a8ae3 ; font-weight: ' 'bold; font-size: 16px;display: inline-block;margin-bottom:10px; ' 'font-family: \'Open Sans\', sans-serif !important;">Name\n' ' of the Student<span style="color:red;"> ' '*</span></label>\n' ' <Input name="fullname" class="form-control"\n' ' style="height:25px;outline: 0; ' 'border-width: 0 0 1px;border-radius: 0 0 0 0;border-color: black; ' 'opacity:0.4; "\n' ' placeholder="Name of the Student" ' 'required disabled></Input>\n' ' </div>\n' ' <div class="col-md-6">\n' ' … <trimmed 62620 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
node | <django.template.defaulttags.URLNode object at 0x7f18c9a480f0> |
self | [<TextNode: '\n<style>\n \n #one {\n'>, <django.templatetags.static.StaticNode object at 0x7f18c989c3c8>, <TextNode: '">\n<main>\n <section st'>, <django.templatetags.static.StaticNode object at 0x7f18c989c550>, <TextNode: ')no-repeat fixed;">\n\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f18c989c0f0>, <TextNode: '\n\n <di'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.templatetags.static.StaticNode object at 0x7f18c9a488d0>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a482e8>, <TextNode: '" style="color:red; font-'>, <django.templatetags.static.StaticNode object at 0x7f18c9a48b38>, <TextNode: '" style="color:red; font-'>, <django.template.defaulttags.CommentNode object at 0x7f18c8c0e320>, <TextNode: '\n '>, <django.template.defaulttags.URLNode object at 0x7f18c9a480f0>, <TextNode: '\'">Close</button>\n '>] |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
self | <django.template.defaulttags.URLNode object at 0x7f18c9a480f0> |
/var/www/html/ircell/envs/ircell/lib/python3.6/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AnuForm bound=False, valid=Unknown, fields=(fullname;rollno;email;year;contact;sop;lor1;lor2;undertaking;cv;transcript;pref1;pref2;pref3;former_anu)>, 'prof': {}}] |
current_app | 'ftp' |
kwargs | {} |
reverse | <function reverse at 0x7f18cb66e840> |
self | <django.template.defaulttags.URLNode object at 0x7f18c9a480f0> |
url | '' |
view_name | 'index' |
/var/www/html/ircell/envs/ircell/lib/python3.6/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, tuple(ns_converters.items()))
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))…
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
Variable | Value |
---|---|
args | [] |
current_app | 'ftp' |
current_path | ['ftp'] |
kwargs | {} |
ns_converters | {} |
ns_pattern | '' |
parts | ['index'] |
path | [] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'ircell.urls' (None:None) '^/'> |
urlconf | 'ircell.urls' |
view | 'index' |
viewname | 'index' |
/var/www/html/ircell/envs/ircell/lib/python3.6/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)…
Variable | Value |
---|---|
_prefix | '/' |
args | () |
kwargs | {} |
lookup_view | 'index' |
lookup_view_s | 'index' |
m | None |
msg | ("Reverse for 'index' not found. 'index' is not a valid view function or " 'pattern name.') |
n | None |
patterns | [] |
possibilities | [] |
self | <URLResolver 'ircell.urls' (None:None) '^/'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html/ircell' |
CONTEXT_PREFIX | '' |
CSRF_COOKIE | 'XVZjS32gAzcxAFSgowpQ3mUlCDELamodP0K2NPMdV2VCOtQAQExcL9ByiHb1uUvn' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/var/www/html/ircell' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'ircell.iitkgp.ac.in' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/ftp/projects/anu' |
PATH_TRANSLATED | '/var/www/html/ircell/ircell/ircell/wsgi.py/ftp/projects/anu' |
QUERY_STRING | '' |
REMOTE_ADDR | '44.221.45.48' |
REMOTE_PORT | '53240' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/ftp/projects/anu' |
SCRIPT_FILENAME | '/var/www/html/ircell/ircell/ircell/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '172.16.1.60' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'ircell.iitkgp.ac.in' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.7.1 Python/3.6 PHP/7.4.13' |
SSL_TLS_SNI | 'ircell.iitkgp.ac.in' |
UNIQUE_ID | 'Zgama9g2aoGhsX4Tzdp1FgAAAAI' |
apache.version | (2, 4, 6) |
mod_wsgi.application_group | 'ircell.iitkgp.ac.in|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711711851451881' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/ftp/projects/anu' |
mod_wsgi.process_group | 'ircell' |
mod_wsgi.queue_start | '1711711851451785' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'Zgama9g2aoGhsX4Tzdp1FgAAAAI' |
mod_wsgi.request_start | '1711711851451556' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711711851451932' |
mod_wsgi.thread_id | 2 |
mod_wsgi.thread_requests | 348 |
mod_wsgi.total_requests | 1515 |
mod_wsgi.version | (4, 7, 1) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f18c97d2ab0> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
ircell.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['ircell.iitkgp.ac.in', 'www.ircell.iitkgp.ac.in', '*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'ftp.CustomUser' |
BASE_DIR | '/var/www/html/ircell/ircell' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/var/www/html/ircell/ircell/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | '10.3.103.129' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'irc@iitkgp.ac.in' |
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 | True |
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', 'ftp.apps.FtpConfig', 'mailing_app.apps.MailingAppConfig', 'master.apps.MasterConfig', 'ktp.apps.KtpConfig'] |
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 | '/var/www/html/ircell/ircell/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 |
PROJECT_ROOT | '/var/www/html/ircell/ircell/ircell' |
ROOT_URLCONF | 'ircell.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 | 'ircell.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ROOT | '/var/www/html/ircell/ircell/ircell' |
STATICFILES_DIRS | ('/var/www/html/ircell/ircell/static',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/html/ircell/ircell/staticfiles' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/html/ircell/ircell/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.media']}}] |
TEST_EMAIL | 'vardhanfirstof@gmail.com' |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Asia/Kolkata' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'ircell.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.