invalid syntax (views.py, line 1805)
Request Method: | GET |
---|---|
Request URL: | https://contracteasily.com/law-library/act/the-representation-of-the-people-act-1950/ |
Django Version: | 3.0.3 |
Exception Type: | SyntaxError |
Exception Value: | invalid syntax (views.py, line 1805) |
Exception Location: | /home/adbozhqi/contacteasily_project/aggrement/urls.py in <module>, line 6 |
Python Executable: | /home/adbozhqi/virtualenv/contacteasily_project/3.7/bin/python |
Python Version: | 3.7.17 |
Python Path: | ['', '/home/adbozhqi/contacteasily_project', '/opt/alt/python37/lib64/python37.zip', '/opt/alt/python37/lib64/python3.7', '/opt/alt/python37/lib64/python3.7/lib-dynload', '/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib64/python3.7/site-packages', '/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages'] |
Server time: | Thu, 28 Mar 2024 18:38:12 +0530 |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response)
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 | SyntaxError('invalid syntax', ('/home/adbozhqi/contacteasily_project/aggrement/views.py', 1805, 15, '\t\tif obj.email="[email protected]" or obj.user.email="[email protected]:\n')) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x2b29bfc399d0>> |
request | <WSGIRequest: GET '/law-library/act/the-representation-of-the-people-act-1950/'> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/core/handlers/base.py
in _get_response
if hasattr(request, 'urlconf'):
urlconf = request.urlconf
set_urlconf(urlconf)
resolver = get_resolver(urlconf)
else:
resolver = get_resolver()
resolver_match = resolver.resolve(request.path_info)…
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
Variable | Value |
---|---|
request | <WSGIRequest: GET '/law-library/act/the-representation-of-the-people-act-1950/'> |
resolver | <URLResolver 'sample.urls' (None:None) '^/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2b29bfc399d0> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/urls/resolvers.py
in resolve
def resolve(self, path):
path = str(path) # path may be a reverse_lazy object
tried = []
match = self.pattern.match(path)
if match:
new_path, args, kwargs = match
for pattern in self.url_patterns:…
try:
sub_match = pattern.resolve(new_path)
except Resolver404 as e:
sub_tried = e.args[0].get('tried')
if sub_tried is not None:
tried.extend([pattern] + t for t in sub_tried)
Variable | Value |
---|---|
args | () |
kwargs | {} |
match | ('law-library/act/the-representation-of-the-people-act-1950/', (), {}) |
new_path | 'law-library/act/the-representation-of-the-people-act-1950/' |
path | '/law-library/act/the-representation-of-the-people-act-1950/' |
self | <URLResolver 'sample.urls' (None:None) '^/'> |
tried | [] |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/utils/functional.py
in __get__
"""
Call the function and put the return value in instance.__dict__ so that
subsequent attribute access on the instance returns the cached value
instead of calling cached_property.__get__().
"""
if instance is None:
return self
res = instance.__dict__[self.name] = self.func(instance)…
return res
class Promise:
"""
Base class for the proxy class created in the closure of the lazy function.
Variable | Value |
---|---|
cls | <class 'django.urls.resolvers.URLResolver'> |
instance | <URLResolver 'sample.urls' (None:None) '^/'> |
self | <django.utils.functional.cached_property object at 0x2b29beb12e10> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/urls/resolvers.py
in url_patterns
return import_module(self.urlconf_name)
else:
return self.urlconf_name
@cached_property
def url_patterns(self):
# urlconf_module might be a valid set of patterns, so we default to it
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)…
try:
iter(patterns)
except TypeError:
msg = (
"The included URLconf '{name}' does not appear to have any "
"patterns in it. If you see valid patterns in the file then "
Variable | Value |
---|---|
self | <URLResolver 'sample.urls' (None:None) '^/'> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/utils/functional.py
in __get__
"""
Call the function and put the return value in instance.__dict__ so that
subsequent attribute access on the instance returns the cached value
instead of calling cached_property.__get__().
"""
if instance is None:
return self
res = instance.__dict__[self.name] = self.func(instance)…
return res
class Promise:
"""
Base class for the proxy class created in the closure of the lazy function.
Variable | Value |
---|---|
cls | <class 'django.urls.resolvers.URLResolver'> |
instance | <URLResolver 'sample.urls' (None:None) '^/'> |
self | <django.utils.functional.cached_property object at 0x2b29beb12d50> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/urls/resolvers.py
in urlconf_module
tried.append([pattern])
raise Resolver404({'tried': tried, 'path': new_path})
raise Resolver404({'path': path})
@cached_property
def urlconf_module(self):
if isinstance(self.urlconf_name, str):
return import_module(self.urlconf_name)…
else:
return self.urlconf_name
@cached_property
def url_patterns(self):
# urlconf_module might be a valid set of patterns, so we default to it
Variable | Value |
---|---|
self | <URLResolver 'sample.urls' (None:None) '^/'> |
/opt/alt/python37/lib64/python3.7/importlib/__init__.py
in import_module
msg = ("the 'package' argument is required to perform a relative "
"import for {!r}")
raise TypeError(msg.format(name))
for character in name:
if character != '.':
break
level += 1
return _bootstrap._gcd_import(name[level:], package, level)…
_RELOADING = {}
def reload(module):
Variable | Value |
---|---|
level | 0 |
name | 'sample.urls' |
package | None |
<frozen importlib._bootstrap>
in _gcd_import
<source code not available>…
Variable | Value |
---|---|
level | 0 |
name | 'sample.urls' |
package | None |
<frozen importlib._bootstrap>
in _find_and_load
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x2b29b6bc2b00> |
module | <object object at 0x2b29b6bab060> |
name | 'sample.urls' |
<frozen importlib._bootstrap>
in _find_and_load_unlocked
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x2b29b6bc2b00> |
name | 'sample.urls' |
parent | 'sample' |
parent_module | <module 'sample' from '/home/adbozhqi/contacteasily_project/sample/__init__.py'> |
path | ['/home/adbozhqi/contacteasily_project/sample'] |
spec | ModuleSpec(name='sample.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29bfd8a690>, origin='/home/adbozhqi/contacteasily_project/sample/urls.py') |
<frozen importlib._bootstrap>
in _load_unlocked
<source code not available>…
Variable | Value |
---|---|
module | <module 'sample.urls' from '/home/adbozhqi/contacteasily_project/sample/urls.py'> |
spec | ModuleSpec(name='sample.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29bfd8a690>, origin='/home/adbozhqi/contacteasily_project/sample/urls.py') |
<frozen importlib._bootstrap_external>
in exec_module
<source code not available>…
Variable | Value |
---|---|
code | <code object <module> at 0x2b29c00ce540, file "/home/adbozhqi/contacteasily_project/sample/urls.py", line 15> |
module | <module 'sample.urls' from '/home/adbozhqi/contacteasily_project/sample/urls.py'> |
self | <_frozen_importlib_external.SourceFileLoader object at 0x2b29bfd8a690> |
<frozen importlib._bootstrap>
in _call_with_frames_removed
<source code not available>…
Variable | Value |
---|---|
args | (<code object <module> at 0x2b29c00ce540, file "/home/adbozhqi/contacteasily_project/sample/urls.py", line 15>, {'AgreementListSiteMap': <class 'aggrement.sitemaps.AgreementListSiteMap'>, 'AllActDetailsSiteMap': <class 'law_library.sitemaps.AllActDetailsSiteMap'>, 'AllActsSiteMap': <class 'law_library.sitemaps.AllActsSiteMap'>, 'AllBlogCategoriesSiteMap': <class 'blog.sitemaps.AllBlogCategoriesSiteMap'>, 'AllBlogSiteMap': <class 'blog.sitemaps.AllBlogSiteMap'>, 'AllBlogTagsSiteMap': <class 'blog.sitemaps.AllBlogTagsSiteMap'>, 'AllLawyersSiteMap': <class 'app.sitemaps.AllLawyersSiteMap'>, 'BlogViewSiteMap': <class 'blog.sitemaps.BlogViewSiteMap'>, 'ContactUsSiteMap': <class 'contact_us.sitemaps.ContactUsSiteMap'>, 'DisclaimerSiteMap': <class 'app.sitemaps.DisclaimerSiteMap'>, 'FaqSiteMap': <class 'faq.sitemaps.FaqSiteMap'>, 'HomeViewSiteMap': <class 'app.sitemaps.HomeViewSiteMap'>, 'LegalDictionarySiteMap': <class 'legal_dictionary.sitemaps.LegalDictionarySiteMap'>, 'MyAgreementSiteMap': <class 'aggrement.sitemaps.MyAgreementSiteMap'>, 'PrivacySiteMap': <class 'app.sitemaps.PrivacySiteMap'>, 'TermsSiteMap': <class 'app.sitemaps.TermsSiteMap'>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionErr… <trimmed 13944 bytes string> |
f | <built-in function exec> |
kwds | {} |
/home/adbozhqi/contacteasily_project/sample/urls.py
in <module>
############# App Urls ################################
url(r"^talk_to_lawyer/", include("talk_to_lawyer.urls", namespace="talk_to_lawyer")),
url(r"^legal-services/", include("services.urls", namespace="services")),
url(r"^contract-accounts/", include("accounts.urls", namespace="accounts")),
url(r"^legal-documents/", include("aggrement.urls", namespace="aggrement")),…
url(r"^blogs/", include("blog.urls", namespace="blog")),
url(r"^contact-us/", include("contact_us.urls", namespace="contact_us")),
url(r"^law-library/", include("law_library.urls", namespace="law_library")),
url(r"^frequently-asked-questions/", include("faq.urls", namespace="faq")),
url(r"^legal-dictionary/", include("legal_dictionary.urls", namespace="legal_dictionary")),
Variable | Value |
---|---|
AgreementListSiteMap | <class 'aggrement.sitemaps.AgreementListSiteMap'> |
AllActDetailsSiteMap | <class 'law_library.sitemaps.AllActDetailsSiteMap'> |
AllActsSiteMap | <class 'law_library.sitemaps.AllActsSiteMap'> |
AllBlogCategoriesSiteMap | <class 'blog.sitemaps.AllBlogCategoriesSiteMap'> |
AllBlogSiteMap | <class 'blog.sitemaps.AllBlogSiteMap'> |
AllBlogTagsSiteMap | <class 'blog.sitemaps.AllBlogTagsSiteMap'> |
AllLawyersSiteMap | <class 'app.sitemaps.AllLawyersSiteMap'> |
BlogViewSiteMap | <class 'blog.sitemaps.BlogViewSiteMap'> |
ContactUsSiteMap | <class 'contact_us.sitemaps.ContactUsSiteMap'> |
DisclaimerSiteMap | <class 'app.sitemaps.DisclaimerSiteMap'> |
FaqSiteMap | <class 'faq.sitemaps.FaqSiteMap'> |
HomeViewSiteMap | <class 'app.sitemaps.HomeViewSiteMap'> |
LegalDictionarySiteMap | <class 'legal_dictionary.sitemaps.LegalDictionarySiteMap'> |
MyAgreementSiteMap | <class 'aggrement.sitemaps.MyAgreementSiteMap'> |
PrivacySiteMap | <class 'app.sitemaps.PrivacySiteMap'> |
TermsSiteMap | <class 'app.sitemaps.TermsSiteMap'> |
__builtins__ | {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis represents `...' " 'in slices.', '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>), 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': … <trimmed 6583 bytes string> |
__cached__ | '/home/adbozhqi/contacteasily_project/sample/__pycache__/urls.cpython-37.pyc' |
__doc__ | ('demo URL Configuration\n' '\n' 'The `urlpatterns` list routes URLs to views. For more information please ' 'see:\n' ' https://docs.djangoproject.com/en/3.0/topics/http/urls/\n' 'Examples:\n' 'Function views\n' ' 1. Add an import: from my_app import views\n' " 2. Add a URL to urlpatterns: path('', views.home, name='home')\n" 'Class-based views\n' ' 1. Add an import: from other_app.views import Home\n' " 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')\n" 'Including another URLconf\n' ' 1. Import the include() function: from django.urls import include, path\n' " 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))\n") |
__file__ | '/home/adbozhqi/contacteasily_project/sample/urls.py' |
__loader__ | <_frozen_importlib_external.SourceFileLoader object at 0x2b29bfd8a690> |
__name__ | 'sample.urls' |
__package__ | 'sample' |
__spec__ | ModuleSpec(name='sample.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29bfd8a690>, origin='/home/adbozhqi/contacteasily_project/sample/urls.py') |
admin | <module 'django.contrib.admin' from '/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/contrib/admin/__init__.py'> |
handler404 | 'app.views.my_custom_permission_denied_view' |
handler500 | 'app.views.my_custom_server_error_view' |
include | <function include at 0x2b29bdf8d290> |
path | functools.partial(<function _path at 0x2b29beb1b710>, Pattern=<class 'django.urls.resolvers.RoutePattern'>) |
settings | <LazySettings "sample.settings"> |
sitemap | <function sitemap at 0x2b29bfa55b90> |
sitemaps | {'act_details': <class 'law_library.sitemaps.AllActDetailsSiteMap'>, 'all_acts': <class 'law_library.sitemaps.AllActsSiteMap'>, 'all_agreements': <class 'aggrement.sitemaps.AgreementListSiteMap'>, 'all_blogs': <class 'blog.sitemaps.AllBlogSiteMap'>, 'attorneys': <class 'app.sitemaps.AllLawyersSiteMap'>, 'blog_categories': <class 'blog.sitemaps.AllBlogCategoriesSiteMap'>, 'blog_list': <class 'blog.sitemaps.BlogViewSiteMap'>, 'blog_tags': <class 'blog.sitemaps.AllBlogTagsSiteMap'>, 'contact_us': <class 'contact_us.sitemaps.ContactUsSiteMap'>, 'disclaimer': <class 'app.sitemaps.DisclaimerSiteMap'>, 'faq': <class 'faq.sitemaps.FaqSiteMap'>, 'home': <class 'app.sitemaps.HomeViewSiteMap'>, 'legal_dictionary': <class 'legal_dictionary.sitemaps.LegalDictionarySiteMap'>, 'my_agreements': <class 'aggrement.sitemaps.MyAgreementSiteMap'>, 'privacy': <class 'app.sitemaps.PrivacySiteMap'>, 'terms': <class 'app.sitemaps.TermsSiteMap'>} |
static | <function static at 0x2b29c0063f80> |
url | <function url at 0x2b29c0063b00> |
views | <module 'app.views' from '/home/adbozhqi/contacteasily_project/app/views.py'> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/urls/conf.py
in include
'provide the namespace argument to include() instead.' % len(arg)
)
else:
# No namespace hint - use manually provided namespace.
urlconf_module = arg
if isinstance(urlconf_module, str):
urlconf_module = import_module(urlconf_module)…
patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
app_name = getattr(urlconf_module, 'app_name', app_name)
if namespace and not app_name:
raise ImproperlyConfigured(
'Specifying a namespace in include() without providing an app_name '
'is not supported. Set the app_name attribute in the included '
Variable | Value |
---|---|
app_name | None |
arg | 'aggrement.urls' |
namespace | 'aggrement' |
urlconf_module | 'aggrement.urls' |
/opt/alt/python37/lib64/python3.7/importlib/__init__.py
in import_module
msg = ("the 'package' argument is required to perform a relative "
"import for {!r}")
raise TypeError(msg.format(name))
for character in name:
if character != '.':
break
level += 1
return _bootstrap._gcd_import(name[level:], package, level)…
_RELOADING = {}
def reload(module):
Variable | Value |
---|---|
level | 0 |
name | 'aggrement.urls' |
package | None |
<frozen importlib._bootstrap>
in _gcd_import
<source code not available>…
Variable | Value |
---|---|
level | 0 |
name | 'aggrement.urls' |
package | None |
<frozen importlib._bootstrap>
in _find_and_load
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x2b29b6bc2b00> |
module | <object object at 0x2b29b6bab060> |
name | 'aggrement.urls' |
<frozen importlib._bootstrap>
in _find_and_load_unlocked
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x2b29b6bc2b00> |
name | 'aggrement.urls' |
parent | 'aggrement' |
parent_module | <module 'aggrement' from '/home/adbozhqi/contacteasily_project/aggrement/__init__.py'> |
path | ['/home/adbozhqi/contacteasily_project/aggrement'] |
spec | ModuleSpec(name='aggrement.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29c053ebd0>, origin='/home/adbozhqi/contacteasily_project/aggrement/urls.py') |
<frozen importlib._bootstrap>
in _load_unlocked
<source code not available>…
Variable | Value |
---|---|
module | <module 'aggrement.urls' from '/home/adbozhqi/contacteasily_project/aggrement/urls.py'> |
spec | ModuleSpec(name='aggrement.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29c053ebd0>, origin='/home/adbozhqi/contacteasily_project/aggrement/urls.py') |
<frozen importlib._bootstrap_external>
in exec_module
<source code not available>…
Variable | Value |
---|---|
code | <code object <module> at 0x2b29c3569660, file "/home/adbozhqi/contacteasily_project/aggrement/urls.py", line 3> |
module | <module 'aggrement.urls' from '/home/adbozhqi/contacteasily_project/aggrement/urls.py'> |
self | <_frozen_importlib_external.SourceFileLoader object at 0x2b29c053ebd0> |
<frozen importlib._bootstrap>
in _call_with_frames_removed
<source code not available>…
Variable | Value |
---|---|
args | (<code object <module> at 0x2b29c3569660, file "/home/adbozhqi/contacteasily_project/aggrement/urls.py", line 3>, {'__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeErr… <trimmed 10222 bytes string> |
f | <built-in function exec> |
kwds | {} |
/home/adbozhqi/contacteasily_project/aggrement/urls.py
in <module>
"""
Urls
"""
from django.conf.urls import url
from django.urls import path
from . import views, views_admin…
app_name = 'aggrement'
urlpatterns = [
url(r'^$', views.aggrement_list_view, name='aggrementlist'),
Variable | Value |
---|---|
__builtins__ | {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis represents `...' " 'in slices.', '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>), 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': … <trimmed 6583 bytes string> |
__cached__ | '/home/adbozhqi/contacteasily_project/aggrement/__pycache__/urls.cpython-37.pyc' |
__doc__ | '\nUrls\n' |
__file__ | '/home/adbozhqi/contacteasily_project/aggrement/urls.py' |
__loader__ | <_frozen_importlib_external.SourceFileLoader object at 0x2b29c053ebd0> |
__name__ | 'aggrement.urls' |
__package__ | 'aggrement' |
__spec__ | ModuleSpec(name='aggrement.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x2b29c053ebd0>, origin='/home/adbozhqi/contacteasily_project/aggrement/urls.py') |
path | functools.partial(<function _path at 0x2b29beb1b710>, Pattern=<class 'django.urls.resolvers.RoutePattern'>) |
url | <function url at 0x2b29c0063b00> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '44.220.131.93' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86b7d8f77ce728a4-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'contracteasily.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.220.131.93,172.71.223.4' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/law-library/act/the-representation-of-the-people-act-1950/' |
PROXY_REMOTE_ADDR | '162.0.215.214' |
QUERY_STRING | '' |
REMOTE_ADDR | '44.220.131.93' |
REMOTE_PORT | '40434' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/law-library/act/the-representation-of-the-people-act-1950/' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://contracteasily.com/law-library/act/the-representation-of-the-people-act-1950/' |
SCRIPT_URL | '/law-library/act/the-representation-of-the-people-act-1950/' |
SERVER_ADDR | '162.0.215.214' |
SERVER_ADMIN | '[email protected]' |
SERVER_NAME | 'contracteasily.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'LiteSpeed' |
X-LSCACHE | 'on' |
wsgi.errors | <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <lsapi_wsgi.InputStream object at 0x2b29bff8e670> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
sample.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_AUTHENTICATION_METHOD | 'email' |
ACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_EMAIL_VERIFICATION | 'optional' |
ACCOUNT_USERNAME_REQUIRED | False |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BACKUP_DIR | '/home/adbozhqi/contacteasily_project/backup' |
BASE_DIR | '/home/adbozhqi/contacteasily_project' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'special': {'toolbar': 'Special', 'toolbar_Special': [['Styles', 'Font', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo'], ['Link', 'Unlink', 'Anchor', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['Image', 'Flash', 'Table', 'HorizontalRule'], ['TextColor', 'BGColor'], ['Smiley', 'SpecialChar'], ['Source']], 'width': 'auto'}} |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
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.mysql', 'HOST': 'localhost', 'NAME': 'adbozhqi_contract', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'adbozhqi_contract'}} |
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'] |
DBBACKUP_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DBBACKUP_STORAGE_OPTIONS | {'location': '/home/adbozhqi/contacteasily_project/backup'} |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | '[email protected]' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'apikey' |
EMAIL_PORT | 587 |
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 | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOGLE_RECAPTCHA_SECRET_KEY | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'ckeditor', 'ckeditor_uploader', 'robots', 'sorl.thumbnail', 'crispy_forms', 'django_user_agents', 'dbbackup', 'django_summernote', 'faicon', 'django_crontab', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'app', 'blog', 'accounts', 'aggrement', 'user_profile', 'mobile', 'law_library', 'contact_us', 'legal_dictionary', 'faq', 'contract_seo', 'shorturl', 'email_configuration', 'services', 'talk_to_lawyer', 'sentry_sdk', 'django.contrib.humanize'] |
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'), ('uz', 'Uzbek'), ('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_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'index' |
LOGIN_URL | 'accounts:login' |
LOGOUT_REDIRECT_URL | 'index' |
LOGOUT_URL | 'accounts:logout' |
MANAGERS | [] |
MEDIA_ROOT | '/home/adbozhqi/contracteasily.com/media/' |
MEDIA_URL | '/media/' |
MERCHANT_ID | 'CONTRACTONLINE' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django_user_agents.middleware.UserAgentMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
OPEN_AI_KEY | '********************' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'sample.urls' |
SALT_KEY | '********************' |
SALT_KEY_INDEX | '********************' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | None |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SENDGRID_API_KEY | '********************' |
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 | 'sample.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SOCIALACCOUNT_LOGIN_ON_GET | True |
SOCIALACCOUNT_PROVIDERS | {'google': {'AUTH_PARAMS': {'access_type': 'online'}, 'SCOPE': ['profile', 'email']}} |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/adbozhqi/contacteasily_project/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/adbozhqi/contacteasily_project/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', 'contact_us.context_processors.contact_us_details', 'services.context_processors.service_category_list', 'blog.context_processors.blog_category_list']}}] |
TEMPLATE_DIR | '/home/adbozhqi/contacteasily_project/templates' |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_PROGRESSIVE | False |
THUMBNAIL_QUALITY | 60 |
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 | 'sample.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.