global name 'InvalidPage' is not defined
Request Method: | GET |
---|---|
Request URL: | https://www.schoolprop.com/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi |
Django Version: | 1.11 |
Exception Type: | NameError |
Exception Value: | global name 'InvalidPage' is not defined |
Exception Location: | /var/www/html/schoolprop/authentication/views.py in build_page, line 2669 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.17 |
Python Path: | ['/var/www/html/schoolprop', '/var/www/html/env/lib/python2.7', '/var/www/html/env/lib/python2.7/plat-x86_64-linux-gnu', '/var/www/html/env/lib/python2.7/lib-tk', '/var/www/html/env/lib/python2.7/lib-old', '/var/www/html/env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/www/html/env/local/lib/python2.7/site-packages', '/var/www/html/env/lib/python2.7/site-packages', '/'] |
Server time: | Thu, 28 Mar 2024 15:38:51 +0530 |
/var/www/html/env/local/lib/python2.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, assigned=available_attrs(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 | NameError("global name 'InvalidPage' is not defined",) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7ff31cb098d0>> |
request | <WSGIRequest: GET '/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi'> |
/var/www/html/env/local/lib/python2.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 | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
callback_args | () |
callback_kwargs | {} |
e | NameError("global name 'InvalidPage' is not defined",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7ff307762450>> |
request | <WSGIRequest: GET '/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi'> |
resolver | <RegexURLResolver 'schoolprop.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=authentication.views.FacetedSearchView, args=(), kwargs={}, url_name=haystack_search, app_names=[], namespaces=['authentication']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ff31cb098d0> |
wrapped_callback | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
/var/www/html/env/local/lib/python2.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 | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
callback_args | () |
callback_kwargs | {} |
e | NameError("global name 'InvalidPage' is not defined",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7ff307762450>> |
request | <WSGIRequest: GET '/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi'> |
resolver | <RegexURLResolver 'schoolprop.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=authentication.views.FacetedSearchView, args=(), kwargs={}, url_name=haystack_search, app_names=[], namespaces=['authentication']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ff31cb098d0> |
wrapped_callback | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
/var/www/html/schoolprop/authentication/views.py
in __call__
# self.deals = Product.objects.filter(status_id=2).exclude(stock_id=2).exclude(discount_per='0').exclude(discount_per='0.0').order_by('-discount_per')[:20]
# self.home_banner = CreateAdv.objects.filter(status_id=2, postion='Search').order_by('?').reverse()[:10]
self.prop_city = PropertyDetail.objects.filter(status_id=2).values_list('city', flat=True).distinct()
self.prop_title = PropertyDetail.objects.filter(status_id=2).values_list('title', flat=True).distinct()
self.search = search_list()
# self.latest = PropertyDetail.objects.filter(status_id=2).order_by('-id')[:3]
return self.create_response()...
def build_form(self, form_kwargs=None):
data = None
kwargs = {
'load_all': self.load_all,
}
Variable | Value |
---|---|
request | <WSGIRequest: GET '/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi'> |
self | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
/var/www/html/schoolprop/authentication/views.py
in create_response
context['suggestion'] = self.form.get_suggestion()
context.update(self.extra_context())
return context
def create_response(self):
context = self.get_context()...
return render(self.request, self.template, context)
def search_view_factory(view_class=SearchView, *args, **kwargs):
def search_view(request):
Variable | Value |
---|---|
self | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
/var/www/html/schoolprop/authentication/views.py
in get_context
return (paginator, page)
def extra_context(self):
return {}
def get_context(self):
(paginator, page) = self.build_page()...
context = {
'query': self.query,
'form': self.form,
'page': page,
'paginator': paginator,
Variable | Value |
---|---|
self | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
/var/www/html/schoolprop/authentication/views.py
in build_page
start_offset = (page_no - 1) * self.results_per_page
self.results[start_offset:start_offset + self.results_per_page]
paginator = Paginator(self.results, self.results_per_page)
try:
page = paginator.page(page_no)
except InvalidPage:...
raise Http404("No such page!")
return (paginator, page)
def extra_context(self):
return {}
Variable | Value |
---|---|
page_no | 9 |
paginator | <django.core.paginator.Paginator object at 0x7ff2cadde110> |
self | <authentication.views.FacetedSearchView object at 0x7ff304eb1e50> |
start_offset | 160 |
AnonymousUser
Variable | Value |
---|---|
q | u'tamil' |
selected_facets | u'city_exact:Kallakkurichchi' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html/schoolprop' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/html/schoolprop' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.schoolprop.com' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/search/' |
PATH_TRANSLATED | '/var/www/html/schoolprop/schoolprop/wsgi.py/search/' |
QUERY_STRING | 'q=tamil&selected_facets=city_exact:Kallakkurichchi' |
REMOTE_ADDR | '3.235.75.229' |
REMOTE_PORT | '59112' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/search/?q=tamil&selected_facets=city_exact:Kallakkurichchi' |
SCRIPT_FILENAME | '/var/www/html/schoolprop/schoolprop/wsgi.py' |
SCRIPT_NAME | u'' |
SCRIPT_URI | 'https://www.schoolprop.com/search/' |
SCRIPT_URL | '/search/' |
SERVER_ADDR | '139.59.40.195' |
SERVER_ADMIN | 'arpithak@schoolserv.in' |
SERVER_NAME | 'www.schoolprop.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.29 (Ubuntu) Server at www.schoolprop.com Port 443</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.29 (Ubuntu)' |
SSL_TLS_SNI | 'www.schoolprop.com' |
apache.version | (2, 4, 29) |
mod_wsgi.application_group | 'www.schoolprop.com|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.connection_id | 'CrictX2GCCw' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711620530742306' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/search/' |
mod_wsgi.process_group | 'schoolprop' |
mod_wsgi.queue_start | '1711620530742168' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | '1KK5ta2ECCw' |
mod_wsgi.request_start | '1711620530741972' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711620530980139' |
mod_wsgi.thread_id | 5 |
mod_wsgi.thread_requests | 920L |
mod_wsgi.total_requests | 18247L |
mod_wsgi.version | (4, 5, 17) |
wsgi.errors | <mod_wsgi.Log object at 0x7ff2c9f83530> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7ff304287260> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
schoolprop.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['schoolprop.com', 'www.schoolprop.com', 'https://www.schoolprop.com', '139.59.40.195'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/www/html/schoolprop' |
BROKER_TRANSPORT_OPTIONS | {'visibility_timeout': 3600} |
BROKER_URL | 'redis://localhost:6379/0' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERY_RESULT_BACKEND | 'redis://localhost:6379/0' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'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': 'schoolprop_latest', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;', 'sql_mode': 'traditional'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, '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 | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'serv@schoolserv.in' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'email_log.backends.EmailBackend' |
EMAIL_HOST | 'smtp-relay.sendinblue.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'schoolserv' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
FROM_EMAIL | 'arpitha.email@gmail.com' |
FROM_PWD | 'serv@123' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'INCLUDE_SPELLING': True, 'URL': 'http://139.59.40.195:8983/solr/collection1'}} |
HAYSTACK_SEARCH_RESULTS_PER_PAGE | 20 |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.RealtimeSignalProcessor' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'authentication', 'property', 'django.contrib.humanize', 'fancybox', 'haystack', 'django.contrib.sites', 'django.contrib.sitemaps', 'mathfilters', 'email_log', 'robots', 'djcelery', 'sendgrid'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/html/schoolprop/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'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'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
ORG_EMAIL | '@gmail.com' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PAYU_INFO | {'curl': 'https://www.schoolprop.com/property/cancel/', 'furl': 'https://www.schoolprop.com/property/failure/', 'merchant_key': u'********************', 'merchant_salt': 'VMhcRSid', 'payment_url': 'https://secure.payu.in/_payment', 'surl': 'https://www.schoolprop.com/property/pay_success/'} |
PREPEND_WWW | False |
REDIS_HOST | 'localhost' |
REDIS_PORT | '6379' |
ROBOTS_CACHE_TIMEOUT | 864000 |
ROBOTS_SITEMAP_URLS | ['http://www.schoolprop.com/sitemap.xml'] |
ROBOTS_USE_SITEMAP | False |
ROOT_URLCONF | 'schoolprop.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SENDGRID_EMAIL_BACKEND | 'email_log.backends.EmailBackend' |
SENDGRID_EVENTS_IGNORE_MISSING | True |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'schoolprop.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SMTP_PORT | 993 |
SMTP_SERVER | 'imap.gmail.com' |
STATICFILES_DIRS | ('/var/www/html/schoolprop/static',) |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | 'staticfiles' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/html/schoolprop/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']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Asia/Kolkata' |
USE_ETAGS | False |
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 | 'schoolprop.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.