CurrentAffairs matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | https://www.thestudyias.net/current-affairs-preview/25522/ |
Django Version: | 3.1.7 |
Exception Type: | DoesNotExist |
Exception Value: | CurrentAffairs matching query does not exist. |
Exception Location: | /home/ubuntu/thestudywebenv/lib/python3.8/site-packages/django/db/models/query.py, line 429, in get |
Python Executable: | /home/ubuntu/thestudywebenv/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/home/ubuntu/thestudywebenv/thestudyias', '/home/ubuntu/thestudywebenv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ubuntu/thestudywebenv/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 22:29:54 +0530 |
/home/ubuntu/thestudywebenv/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@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 | DoesNotExist('CurrentAffairs matching query does not exist.') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f590578b880>> |
request | <WSGIRequest: GET '/current-affairs-preview/25522/'> |
/home/ubuntu/thestudywebenv/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function CurrentAffairPreview at 0x7f590531f5e0> |
callback_args | () |
callback_kwargs | {'slug': '25522'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f59056524c0>> |
request | <WSGIRequest: GET '/current-affairs-preview/25522/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f590578b880> |
wrapped_callback | <function CurrentAffairPreview at 0x7f590531f5e0> |
/home/ubuntu/thestudywebenv/thestudyias/frontend/views.py
, line 1267, in CurrentAffairPreview
return render(request, 'bookreviewpreview.html', {
"course": bookreview,
"meta": meta,
})
def CurrentAffairPreview(request, slug):
currentaffaris = CurrentAffairs.objects.get(slug=slug)…
meta = {
'title' : currentaffaris.metatitle if currentaffaris.metatitle else currentaffaris.title,
'description' : currentaffaris.metadescription if currentaffaris.metadescription else currentaffaris.title,
'keywords' : currentaffaris.metakeywords if currentaffaris.metakeywords else currentaffaris.title,
}
if currentaffaris.language == "hindi":
Variable | Value |
---|---|
request | <WSGIRequest: GET '/current-affairs-preview/25522/'> |
slug | '25522' |
/home/ubuntu/thestudywebenv/lib/python3.8/site-packages/django/db/models/manager.py
, line 85, 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 | {'slug': '25522'} |
name | 'get' |
self | <django.db.models.manager.Manager object at 0x7f5903be1880> |
/home/ubuntu/thestudywebenv/lib/python3.8/site-packages/django/db/models/query.py
, line 429, in get
if not clone.query.select_for_update or connections[clone.db].features.supports_select_for_update_with_limit:
limit = MAX_GET_RESULTS
clone.query.set_limits(high=limit)
num = len(clone)
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist(…
"%s matching query does not exist." %
self.model._meta.object_name
)
raise self.model.MultipleObjectsReturned(
'get() returned more than one %s -- it returned %s!' % (
self.model._meta.object_name,
Variable | Value |
---|---|
args | () |
clone | <QuerySet []> |
kwargs | {'slug': '25522'} |
limit | 21 |
num | 0 |
self | <QuerySet [<CurrentAffairs: World’s Largest Museum>, <CurrentAffairs: U.S.-Pak. ties amid changes in Afghanistan>, <CurrentAffairs: No winners in Russia-Ukraine war, but an opportunity for India>, <CurrentAffairs: On Kabul, Delhi must wait>, <CurrentAffairs: Why Dara Shikoh matters>, <CurrentAffairs: Where liberalism and nationalism are placed in Asia>, <CurrentAffairs: A limited window>, <CurrentAffairs: A Taliban-led Afghanistan and the Chinese conundrum>, <CurrentAffairs: Panagrolaimus Kolymaensis>, <CurrentAffairs: पिंगली वेंकय्या>, <CurrentAffairs: वायु प्रदूषण, ओलिव रिडले, ग्लोबल ग्रीनहाउस गैस, फाइटोप्लांकटन, वन प्रमाणीकरण>, <CurrentAffairs: मोढेरा सूर्य मंदिर>, <CurrentAffairs: Modhera’s Sun Temple>, <CurrentAffairs: महाराजा सरफोजी>, <CurrentAffairs: श्री पद्मनाभस्वामी मंदिर>, <CurrentAffairs: EWS कोटा – सुप्रीम कोर्ट>, <CurrentAffairs: Four Tribal Rebellions in the Maiden Speech of President Draupadi Murmu>, <CurrentAffairs: खान और खनिज (विकास और विनियमन) संशोधन विधेयक, 2023>, <CurrentAffairs: 20 Story of Unsung Heroes>, <CurrentAffairs: कामाख्या मंदिर>, '...(remaining elements truncated)...']> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '3.238.142.134' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86b92c61eeb56fe6-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'www.thestudyias.net' |
HTTP_REFERER | 'https://www.thestudyias.net/currentaffaris-preview/25522/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.238.142.134, 172.70.175.49' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '172.70.175.49' |
PATH_INFO | '/current-affairs-preview/25522/' |
QUERY_STRING | '' |
RAW_URI | '/current-affairs-preview/25522/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.thestudyias.net' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/run/thestudywebgunicorn.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f59039cfc10> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f59037cdc40> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
thestudyias.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
ALLOW_UNICODE_SLUGS | True |
APPEND_SLASH | False |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/ubuntu/thestudywebenv/thestudyias') |
BASE_URL | 'https://www.thestudyias.net' |
BOOTSTRAP4 | {'include_jquery': True} |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_5_CONFIGS | {'default': {'toolbar': [['Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker'], ['NumberedList', 'BulletedList', 'Indent', 'Outdent', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['Image', 'Table', 'Link', 'Unlink', 'Anchor', 'SectionLink', 'Subscript', 'Superscript'], ['Undo', 'Redo'], ['Source'], ['Maximize']]}, 'extends': {'blockToolbar': ['paragraph', 'heading1', 'heading2', 'heading3', '|', 'bulletedList', 'numberedList', '|', 'blockQuote', 'imageUpload'], 'heading': {'options': [{'class': 'ck-heading_paragraph', 'model': 'paragraph', 'title': 'Paragraph'}, {'class': 'ck-heading_heading1', 'model': 'heading1', 'title': 'Heading 1', 'view': 'h1'}, {'class': 'ck-heading_heading2', 'model': 'heading2', 'title': 'Heading 2', 'view': 'h2'}, {'class': 'ck-heading_heading3', 'model': 'heading3', 'title': 'Heading 3', 'view': 'h3'}]}, 'image': {'styles': ['full', 'side', 'alignLeft', 'alignRight', 'alignCenter'], 'toolbar': ['imageTextAlternative', 'imageTitle', '|', 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight', 'imageStyle:alignCenter', 'imageStyle:side', '|']}, 'table': {'contentToolbar': ['tableColumn', 'tableRow', 'mergeTableCells', 'tableProperties', 'tableCellProperties'], 'tableCellProperties': {'backgroundColors': [{'color': 'hsl(4, ' '90%, ' '58%)', 'label': 'Red'}, {'color': 'hsl(340, ' '82%, ' '52%)', 'label': 'Pink'}, {'color': 'hsl(291, ' '64%, ' '42%)', 'label': 'Purple'}, {'color': 'hsl(262, ' '52%, ' '47%)', 'label': 'Deep ' 'Purple'}, {'color': 'hsl(231, ' '48%, ' '48%)', 'label': 'Indigo'}, {'color': 'hsl(207, ' '90%, ' '54%)', 'label': 'Blue'}], 'borderColors': [{'color': 'hsl(4, ' '90%, ' '58%)', 'label': 'Red'}, {'color': 'hsl(340, ' '82%, ' '52%)', 'label': 'Pink'}, {'color': 'hsl(291, ' '64%, ' '42%)', 'label': 'Purple'}, {'color': 'hsl(262, ' '52%, ' '47%)', 'label': 'Deep ' 'Purple'}, {'color': 'hsl(231, ' '48%, ' '48%)', 'label': 'Indigo'}, {'color': 'hsl(207, ' '90%, ' '54%)', 'label': 'Blue'}]}, 'tableProperties': {'backgroundColors': [{'color': 'hsl(4, ' '90%, ' '58%)', 'label': 'Red'}, {'color': 'hsl(340, ' '82%, ' '52%)', 'label': 'Pink'}, {'color': 'hsl(291, ' '64%, ' '42%)', 'label': 'Purple'}, {'color': 'hsl(262, ' '52%, ' '47%)', 'label': 'Deep ' 'Purple'}, {'color': 'hsl(231, ' '48%, ' '48%)', 'label': 'Indigo'}, {'color': 'hsl(207, ' '90%, ' '54%)', 'label': 'Blue'}], 'borderColors': [{'color': 'hsl(4, ' '90%, ' '58%)', 'label': 'Red'}, {'color': 'hsl(340, ' '82%, ' '52%)', 'label': 'Pink'}, {'color': 'hsl(291, ' '64%, ' '42%)', 'label': 'Purple'}, {'color': 'hsl(262, ' '52%, ' '47%)', 'label': 'Deep ' 'Purple'}, {'color': 'hsl(231, ' '48%, ' '48%)', 'label': 'Indigo'}, {'color': 'hsl(207, ' '90%, ' '54%)', 'label': 'Blue'}]}}, 'toolbar': ['heading', '|', 'outdent', 'indent', '|', 'bold', 'italic', 'link', 'underline', 'strikethrough', 'code', 'subscript', 'superscript', 'highlight', '|', 'bulletedList', 'numberedList', 'todoList', '|', 'blockQuote', 'imageUpload', '|', 'fontSize', 'fontFamily', 'fontColor', 'fontBackgroundColor', 'mediaEmbed', 'removeFormat', 'insertTable']}} |
CKEDITOR_5_CUSTOM_CSS | 'path_to.css' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CORS_ORIGIN_ALLOW_ALL | True |
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 | ['https://www.cashfree.com/'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': 'localhost', 'NAME': 'thestudyiasweb', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'crispy_forms', 'django_ckeditor_5', 'frontend', 'backend', 'accounts', 'rest_framework', 'api', 'allauth', 'allauth.account', 'allauth.socialaccount', 'django.contrib.sites', 'allauth.socialaccount.providers.google'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'), ('hi', 'Hindi')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', '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 | ('/home/ubuntu/thestudywebenv/thestudyias/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/ubuntu/thestudywebenv/thestudyias/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', '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 | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'thestudyias.urls' |
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 | 'same-origin' |
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 | 'thestudyias.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 | 2 |
SOCIALACCOUNT_PROVIDERS | {'google': {'AUTH_PARAMS': {'access_type': 'online'}, 'SCOPE': ['email']}} |
STATICFILES_DIRS | ['/home/ubuntu/thestudywebenv/thestudyias/assets'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/ubuntu/thestudywebenv/thestudyias/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['templates', 'templates/frontend', 'templates/backend', 'templates/backend/ncert', 'templates/backend/courses/add_courses', 'templates/frontend/filters', 'templates/frontend/hindi', 'templates/accounts', 'templates/components', 'templates/frontend/currentaffairs', 'templates/frontend/manikant_sir_videos', 'templates/frontend/ncert', 'templates/frontend/ncert-new', 'templates/frontend/art_and_cluture', 'templates/frontend/book_reviews', 'templates/backend/manikantsirvideos', 'templates/backend/mcq', 'templates/frontend/mcq', 'templates/backend/artandculture', 'templates/backend/currentaffairs', 'templates/backend/bookreview', 'templates/backend/previous_year_paper', 'templates/backend/banner', 'templates/frontend/previousyearpaper', 'templates/frontend/courses_sections', 'templates/backend/courses_section', 'templates/backend/courses_section/studymaterial', 'templates/backend/courses_section/offlinecourses', 'templates/backend/historical_terminology', 'templates/frontend/historical_terminology', 'templates/frontend/blogs', 'templates/backend/testimonial', 'templates/frontend/gallery', 'templates/backend/gallery'], '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.i18n']}}] |
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 | 'thestudyias.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.