Cannot resolve keyword 'lawyer_sub_category' into field. Choices are: area_of_practise, basic_info, certificate_of_practice, country, country_id, courts_of_practice, date, education, email, facebook_link, full_name, hourly_charge, id, image, is_online, is_stamp_paper_provided, language_known, lawyer_city, lawyer_city_id, legal_services, legal_services_id, linkedin_link, llb_certificate, name_profiles, no_of_answer, no_of_consultations, permanent_address, phone_no, pratice_profiles, services_provided, slug, specialization, state, state_id, twitter_link, user, user_id, user_type, whatsapp_number, years_in_practise
Request Method: | GET |
---|---|
Request URL: | https://contracteasily.com/user/profile/lawyer-category/criminal-law/ |
Django Version: | 3.0.3 |
Exception Type: | FieldError |
Exception Value: | Cannot resolve keyword 'lawyer_sub_category' into field. Choices are: area_of_practise, basic_info, certificate_of_practice, country, country_id, courts_of_practice, date, education, email, facebook_link, full_name, hourly_charge, id, image, is_online, is_stamp_paper_provided, language_known, lawyer_city, lawyer_city_id, legal_services, legal_services_id, linkedin_link, llb_certificate, name_profiles, no_of_answer, no_of_consultations, permanent_address, phone_no, pratice_profiles, services_provided, slug, specialization, state, state_id, twitter_link, user, user_id, user_type, whatsapp_number, years_in_practise |
Exception Location: | /home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py in names_to_path, line 1483 |
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: | Tue, 19 Mar 2024 19:16:50 +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 | FieldError("Cannot resolve keyword 'lawyer_sub_category' into field. Choices are: area_of_practise, basic_info, certificate_of_practice, country, country_id, courts_of_practice, date, education, email, facebook_link, full_name, hourly_charge, id, image, is_online, is_stamp_paper_provided, language_known, lawyer_city, lawyer_city_id, legal_services, legal_services_id, linkedin_link, llb_certificate, name_profiles, no_of_answer, no_of_consultations, permanent_address, phone_no, pratice_profiles, services_provided, slug, specialization, state, state_id, twitter_link, user, user_id, user_type, whatsapp_number, years_in_practise") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f6a73200ed0>> |
request | <WSGIRequest: GET '/user/profile/lawyer-category/criminal-law/'> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/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 lawyer_category_details at 0x7f6a6dd5e830> |
callback_args | () |
callback_kwargs | {'category_slug': 'criminal-law'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f6a72fe9890>> |
request | <WSGIRequest: GET '/user/profile/lawyer-category/criminal-law/'> |
resolver | <URLResolver 'sample.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=user_profile.views.lawyer_category_details, args=(), kwargs={'category_slug': 'criminal-law'}, url_name=lawyer_category_details, app_names=['user_profile'], namespaces=['user_profile'], route=^user/profile/lawyer-category/(?P<category_slug>[\w-]+)/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6a73200ed0> |
wrapped_callback | <function lawyer_category_details at 0x7f6a6dd5e830> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/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 lawyer_category_details at 0x7f6a6dd5e830> |
callback_args | () |
callback_kwargs | {'category_slug': 'criminal-law'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f6a72fe9890>> |
request | <WSGIRequest: GET '/user/profile/lawyer-category/criminal-law/'> |
resolver | <URLResolver 'sample.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=user_profile.views.lawyer_category_details, args=(), kwargs={'category_slug': 'criminal-law'}, url_name=lawyer_category_details, app_names=['user_profile'], namespaces=['user_profile'], route=^user/profile/lawyer-category/(?P<category_slug>[\w-]+)/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6a73200ed0> |
wrapped_callback | <function lawyer_category_details at 0x7f6a6dd5e830> |
/home/adbozhqi/contacteasily_project/user_profile/views.py
in lawyer_category_details
"""
Lawyer Category Details
"""
category_details = LawyerCategory.objects.filter(slug=category_slug).first()
sub_categories = LawyerSubCategory.objects.filter(lawyer_category=category_details)
lawyers = Profile.objects.filter(user_type='LAWYER', lawyer_sub_category__in=sub_categories).order_by('id')…
page = request.GET.get('page', 1)
city = City.objects.all()
Variable | Value |
---|---|
category_details | <LawyerCategory: Criminal Law> |
category_slug | 'criminal-law' |
request | <WSGIRequest: GET '/user/profile/lawyer-category/criminal-law/'> |
sub_categories | <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/manager.py
in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)…
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
for name, method in inspect.getmembers(queryset_class, predicate=inspect.isfunction):
Variable | Value |
---|---|
args | () |
kwargs | {'lawyer_sub_category__in': <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>, 'user_type': 'LAWYER'} |
name | 'filter' |
self | <django.db.models.manager.Manager object at 0x7f6a6d9462d0> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/query.py
in filter
def filter(self, *args, **kwargs):
"""
Return a new QuerySet instance with the args ANDed to the existing
set.
"""
self._not_support_combined_queries('filter')
return self._filter_or_exclude(False, *args, **kwargs)…
def exclude(self, *args, **kwargs):
"""
Return a new QuerySet instance with NOT (args) ANDed to the existing
set.
"""
Variable | Value |
---|---|
args | () |
kwargs | {'lawyer_sub_category__in': <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>, 'user_type': 'LAWYER'} |
self | <QuerySet [<Profile: abhishek.ag2000>, <Profile: admin>, <Profile: RASHICHOUDHARY>, <Profile: bracketline>, <Profile: niladry>, <Profile: niladry8>, <Profile: dasadvocatesourav>, <Profile: contract_user>, <Profile: AlfonsoCic>, <Profile: killHes>, <Profile: Larryhum>, <Profile: obi>, <Profile: pinupcasinoo>, <Profile: Richardnop>, <Profile: sellHes>, <Profile: spiderHes>, <Profile: upssHes>, <Profile: wooPak>, <Profile: niladry6>, <Profile: HarshitaJain>, '...(remaining elements truncated)...']> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/query.py
in _filter_or_exclude
assert not self.query.is_sliced, \
"Cannot filter a query once a slice has been taken."
clone = self._chain()
if negate:
clone.query.add_q(~Q(*args, **kwargs))
else:
clone.query.add_q(Q(*args, **kwargs))…
return clone
def complex_filter(self, filter_obj):
"""
Return a new QuerySet instance with filter_obj added to the filters.
Variable | Value |
---|---|
args | () |
clone | <QuerySet [<Profile: abhishek.ag2000>, <Profile: admin>, <Profile: RASHICHOUDHARY>, <Profile: bracketline>, <Profile: niladry>, <Profile: niladry8>, <Profile: dasadvocatesourav>, <Profile: contract_user>, <Profile: AlfonsoCic>, <Profile: killHes>, <Profile: Larryhum>, <Profile: obi>, <Profile: pinupcasinoo>, <Profile: Richardnop>, <Profile: sellHes>, <Profile: spiderHes>, <Profile: upssHes>, <Profile: wooPak>, <Profile: niladry6>, <Profile: HarshitaJain>, '...(remaining elements truncated)...']> |
kwargs | {'lawyer_sub_category__in': <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>, 'user_type': 'LAWYER'} |
negate | False |
self | <QuerySet [<Profile: abhishek.ag2000>, <Profile: admin>, <Profile: RASHICHOUDHARY>, <Profile: bracketline>, <Profile: niladry>, <Profile: niladry8>, <Profile: dasadvocatesourav>, <Profile: contract_user>, <Profile: AlfonsoCic>, <Profile: killHes>, <Profile: Larryhum>, <Profile: obi>, <Profile: pinupcasinoo>, <Profile: Richardnop>, <Profile: sellHes>, <Profile: spiderHes>, <Profile: upssHes>, <Profile: wooPak>, <Profile: niladry6>, <Profile: HarshitaJain>, '...(remaining elements truncated)...']> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py
in add_q
# For join promotion this case is doing an AND for the added q_object
# and existing conditions. So, any existing inner join forces the join
# type to remain inner. Existing outer joins can however be demoted.
# (Consider case where rel_a is LOUTER and rel_a__col=1 is added - if
# rel_a doesn't produce any rows, then the whole condition must fail.
# So, demotion is OK.
existing_inner = {a for a in self.alias_map if self.alias_map[a].join_type == INNER}
clause, _ = self._add_q(q_object, self.used_aliases)…
if clause:
self.where.add(clause, AND)
self.demote_joins(existing_inner)
def build_where(self, q_object):
return self._add_q(q_object, used_aliases=set(), allow_joins=False, simple_col=True)[0]
Variable | Value |
---|---|
existing_inner | set() |
q_object | <Q: (AND: ('lawyer_sub_category__in', <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>), ('user_type', 'LAWYER'))> |
self | <django.db.models.sql.query.Query object at 0x7f6a6c6eca50> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py
in _add_q
)
joinpromoter.add_votes(needed_inner)
else:
child_clause, needed_inner = self.build_filter(
child, can_reuse=used_aliases, branch_negated=branch_negated,
current_negated=current_negated, allow_joins=allow_joins,
split_subq=split_subq, simple_col=simple_col,
check_filterable=check_filterable,…
)
joinpromoter.add_votes(needed_inner)
if child_clause:
target_clause.add(child_clause, connector)
needed_inner = joinpromoter.update_join_types(self)
return target_clause, needed_inner
Variable | Value |
---|---|
allow_joins | True |
branch_negated | False |
check_filterable | True |
child | ('lawyer_sub_category__in', <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>) |
connector | 'AND' |
current_negated | False |
joinpromoter | <django.db.models.sql.query.JoinPromoter object at 0x7f6a6c5da350> |
q_object | <Q: (AND: ('lawyer_sub_category__in', <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>), ('user_type', 'LAWYER'))> |
self | <django.db.models.sql.query.Query object at 0x7f6a6c6eca50> |
simple_col | False |
split_subq | True |
target_clause | <WhereNode: (AND: )> |
used_aliases | set() |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py
in build_filter
condition = self.build_lookup(['exact'], filter_expr.resolve_expression(self), True)
clause = self.where_class()
clause.add(condition, AND)
return clause, []
arg, value = filter_expr
if not arg:
raise FieldError("Cannot parse keyword query %r" % arg)
lookups, parts, reffed_expression = self.solve_lookup_type(arg)…
if check_filterable:
self.check_filterable(reffed_expression)
if not allow_joins and len(parts) > 1:
raise FieldError("Joined field references are not permitted in this query")
Variable | Value |
---|---|
allow_joins | True |
arg | 'lawyer_sub_category__in' |
branch_negated | False |
can_reuse | set() |
check_filterable | True |
current_negated | False |
filter_expr | ('lawyer_sub_category__in', <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]>) |
reuse_with_filtered_relation | False |
self | <django.db.models.sql.query.Query object at 0x7f6a6c6eca50> |
simple_col | False |
split_subq | True |
value | <QuerySet [<LawyerSubCategory: Cheque bounce>, <LawyerSubCategory: Fraud/Default>, <LawyerSubCategory: Forgery/Cheating>, <LawyerSubCategory: Breach of trust>, <LawyerSubCategory: FIR>, <LawyerSubCategory: Bail/Anticipatory Bail>, <LawyerSubCategory: Police action>, <LawyerSubCategory: Cybercrime>, <LawyerSubCategory: Trespass>, <LawyerSubCategory: Other criminal matters>]> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py
in solve_lookup_type
Solve the lookup type from the lookup (e.g.: 'foobar__id__icontains').
"""
lookup_splitted = lookup.split(LOOKUP_SEP)
if self.annotations:
expression, expression_lookups = refs_expression(lookup_splitted, self.annotations)
if expression:
return expression_lookups, (), expression
_, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())…
field_parts = lookup_splitted[0:len(lookup_splitted) - len(lookup_parts)]
if len(lookup_parts) > 1 and not field_parts:
raise FieldError(
'Invalid lookup "%s" for model %s".' %
(lookup, self.get_meta().model.__name__)
)
Variable | Value |
---|---|
lookup | 'lawyer_sub_category__in' |
lookup_splitted | ['lawyer_sub_category', 'in'] |
self | <django.db.models.sql.query.Query object at 0x7f6a6c6eca50> |
/home/adbozhqi/virtualenv/contacteasily_project/3.7/lib/python3.7/site-packages/django/db/models/sql/query.py
in names_to_path
if pos == -1 or fail_on_missing:
available = sorted([
*get_field_names_from_opts(opts),
*self.annotation_select,
*self._filtered_relations,
])
raise FieldError("Cannot resolve keyword '%s' into field. "
"Choices are: %s" % (name, ", ".join(available)))…
break
# Check if we need any joins for concrete inheritance cases (the
# field lives in parent, but we are currently in one of its
# children)
if model is not opts.model:
path_to_parent = opts.get_path_to_parent(model)
Variable | Value |
---|---|
allow_many | True |
available | ['area_of_practise', 'basic_info', 'certificate_of_practice', 'country', 'country_id', 'courts_of_practice', 'date', 'education', 'email', 'facebook_link', 'full_name', 'hourly_charge', 'id', 'image', 'is_online', 'is_stamp_paper_provided', 'language_known', 'lawyer_city', 'lawyer_city_id', 'legal_services', 'legal_services_id', 'linkedin_link', 'llb_certificate', 'name_profiles', 'no_of_answer', 'no_of_consultations', 'permanent_address', 'phone_no', 'pratice_profiles', 'services_provided', 'slug', 'specialization', 'state', 'state_id', 'twitter_link', 'user', 'user_id', 'user_type', 'whatsapp_number', 'years_in_practise'] |
cur_names_with_path | ('lawyer_sub_category', []) |
fail_on_missing | False |
field | None |
filtered_relation | None |
name | 'lawyer_sub_category' |
names | ['lawyer_sub_category', 'in'] |
names_with_path | [] |
opts | <Options for Profile> |
path | [] |
pos | -1 |
self | <django.db.models.sql.query.Query object at 0x7f6a6c6eca50> |
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 | '54.226.222.183' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '866de92f3917391f-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'contracteasily.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.226.222.183,172.70.38.11' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/user/profile/lawyer-category/criminal-law/' |
PROXY_REMOTE_ADDR | '162.0.215.214' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.226.222.183' |
REMOTE_PORT | '41274' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/user/profile/lawyer-category/criminal-law/' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://contracteasily.com/user/profile/lawyer-category/criminal-law/' |
SCRIPT_URL | '/user/profile/lawyer-category/criminal-law/' |
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 0x7f6a6d941050> |
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.