Properties matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | http://www.carvalhohosken.com.br/imoveis/barra-da-tijuca-peninsula-bernini-1502/ |
Django Version: | 3.1.14 |
Exception Type: | DoesNotExist |
Exception Value: | Properties matching query does not exist. |
Exception Location: | /usr/local/lib/python3.8/site-packages/django/db/models/query.py, line 429, in get |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.8.13 |
Python Path: | ['/app', '/usr/local/bin', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 17:36:34 -0300 |
/usr/local/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('Properties matching query does not exist.') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fc5181023d0>> |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
/usr/local/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 cms_perms.<locals>.inner at 0x7fc5157d9430> |
callback_args | () |
callback_kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc515b1a8b0>> |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc5181023d0> |
wrapped_callback | <function cms_perms.<locals>.inner at 0x7fc5157d9430> |
/usr/local/lib/python3.8/site-packages/cms/utils/decorators.py
, line 19, in inner
page = request.current_page
if page:
if page.login_required and not request.user.is_authenticated:
return redirect_to_login(urlquote(request.get_full_path()), settings.LOGIN_URL)
site = get_current_site()
if not user_can_view_page(request.user, page, site):
return _handle_no_page(request)
return func(request, *args, **kwargs)…
inner.__module__ = func.__module__
inner.__doc__ = func.__doc__
if hasattr(func, '__name__'):
inner.__name__ = func.__name__
elif hasattr(func, '__class__'):
inner.__name__ = func.__class__.__name__
Variable | Value |
---|---|
args | () |
func | <function PropertiesDetailView at 0x7fc515852ca0> |
kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
page | <SimpleLazyObject: <cms.models.pagemodel.Page id=4 is_draft=False object at 0x7fc514d3e1c0>> |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
site | <Site: https://www.carvalhohosken.com.br> |
/usr/local/lib/python3.8/site-packages/django/views/generic/base.py
, line 70, in view
self = cls(**initkwargs)
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
return self.dispatch(request, *args, **kwargs)…
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'plugins.views.PropertiesDetailView'> |
initkwargs | {} |
kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
self | <plugins.views.PropertiesDetailView object at 0x7fc513f4ffa0> |
/usr/local/lib/python3.8/site-packages/django/views/generic/base.py
, line 98, in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)…
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method PropertiesDetailView.get of <plugins.views.PropertiesDetailView object at 0x7fc513f4ffa0>> |
kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
self | <plugins.views.PropertiesDetailView object at 0x7fc513f4ffa0> |
/app/plugins/views.py
, line 96, in get
template_name = 'properties/detail.html'
def get_context_data(self, **kwargs):
context = super(PropertiesDetailView, self).get_context_data(**kwargs)
return context
def get(self, request, *args, **kwargs):
properties = Properties.objects.get(slug=kwargs['slug'])…
latest_properties = Properties.objects.filter(published=True).exclude(slug=kwargs['slug']).order_by('-id')[0:3]
if not properties.published:
return redirect('/')
context = {'properties': properties, 'latest_properties': latest_properties}
return render(request, 'properties/detail.html', context)
Variable | Value |
---|---|
args | () |
kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
request | <WSGIRequest: GET '/imoveis/barra-da-tijuca-peninsula-bernini-1502/'> |
self | <plugins.views.PropertiesDetailView object at 0x7fc513f4ffa0> |
/usr/local/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': 'barra-da-tijuca-peninsula-bernini-1502'} |
name | 'get' |
self | <treebeard.mp_tree.MP_NodeManager object at 0x7fc51656fc40> |
/usr/local/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 | <MP_NodeQuerySet []> |
kwargs | {'slug': 'barra-da-tijuca-peninsula-bernini-1502'} |
limit | 21 |
num | 0 |
self | <MP_NodeQuerySet [<plugins.models.properties.Properties id=1080 plugin_type='' object at 0x7fc51400fbe0>, <plugins.models.properties.Properties id=1081 plugin_type='' object at 0x7fc51400f700>, <plugins.models.properties.Properties id=1084 plugin_type='' object at 0x7fc51400f280>, <plugins.models.properties.Properties id=1085 plugin_type='' object at 0x7fc514015ee0>, <plugins.models.properties.Properties id=3995 plugin_type='' object at 0x7fc514015fa0>, <plugins.models.properties.Properties id=3996 plugin_type='' object at 0x7fc5140154c0>, <plugins.models.properties.Properties id=3997 plugin_type='' object at 0x7fc513fddee0>, <plugins.models.properties.Properties id=3999 plugin_type='' object at 0x7fc514d3ed90>, <plugins.models.properties.Properties id=4001 plugin_type='' object at 0x7fc514298310>, <plugins.models.properties.Properties id=4002 plugin_type='' object at 0x7fc514298430>, <plugins.models.properties.Properties id=4003 plugin_type='' object at 0x7fc514298580>, <plugins.models.properties.Properties id=4007 plugin_type='' object at 0x7fc5142986d0>, <plugins.models.properties.Properties id=4008 plugin_type='' object at 0x7fc514298820>, <plugins.models.properties.Properties id=4015 plugin_type='' object at 0x7fc514298940>, <plugins.models.properties.Properties id=4017 plugin_type='' object at 0x7fc514298a60>, <plugins.models.properties.Properties id=4018 plugin_type='' object at 0x7fc514298b80>, <plugins.models.properties.Properties id=4019 plugin_type='' object at 0x7fc514298ca0>, <plugins.models.properties.Properties id=4020 plugin_type='' object at 0x7fc514298dc0>, <plugins.models.properties.Properties id=4021 plugin_type='' object at 0x7fc514298ee0>, <plugins.models.properties.Properties id=4025 plugin_type='' object at 0x7fc51429c040>, '...(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.81.97.37' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86ba69c5f9b48027-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'www.carvalhohosken.com.br' |
HTTP_REFERER | 'https://www.carvalhohosken.com.br/imovel/BarradaTijuca-4-Pen%25C3%25ADnsula/34204-0/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.81.97.37, 172.70.135.15, 172.22.0.1' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_NGINX_PROXY | 'true' |
HTTP_X_REAL_IP | '172.22.0.1' |
PATH_INFO | '/imoveis/barra-da-tijuca-peninsula-bernini-1502/' |
QUERY_STRING | '' |
RAW_URI | '/imoveis/barra-da-tijuca-peninsula-bernini-1502/' |
REMOTE_ADDR | '172.22.0.2' |
REMOTE_PORT | '33974' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/21.2.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.22.0.3', 8000), raddr=('172.22.0.2', 33974)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fc514306400> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7fc514e47c70> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
mainsite.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['carvalho-hosken-prd.huiahlg.com.br', 'carvalhohosken.com.br', 'www.carvalhohosken.com.br'] |
ANAPRO_AGENCY | '84D920A5-5648-42BA-9237-A4B92D91CFC2' |
ANAPRO_CHANNEL | 'z4cDUryIp581' |
ANAPRO_DEFAULT_CAMPAIGN | 'dio3yJ_Jq1k1' |
ANAPRO_DEFAULT_PRODUCT | 'sZ9yJcCT9Bk1' |
ANAPRO_INTEGRATOR | '84D920A5-5648-42BA-9237-A4B92D91CFC2' |
ANAPRO_KEY | '********************' |
ANAPRO_POLICY | 'DoOXbfPcbX41' |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/app') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CMS_LANGUAGES | {1: [{'code': 'pt-br', 'fallbacks': [], 'hide_untranslated': False, 'name': 'pt-br', 'public': True, 'redirect_on_fallback': True}], 'default': {'hide_untranslated': False, 'public': True, 'redirect_on_fallback': True}, <class 'cms.utils.conf.VERIFIED'>: True} |
CMS_PAGE_CACHE | False |
CMS_PERMISSION | True |
CMS_PLACEHOLDER_CACHE | False |
CMS_PLACEHOLDER_CONF | {'Blog_Internas': {'name': 'Blog - Internas'}, 'Rodape_Endereco': {'name': 'Rodapé - Endereço', 'plugins': ['AddressPlugin']}, 'Rodape_Pontos_Venda': {'child_classes': {'SellingPointsPlugin': ['SellingPointPlugin']}, 'name': 'Rodapé - Pontos de Venda', 'plugins': ['SellingPointsPlugin', 'SellingPointPlugin']}, 'Rodape_Redes': {'name': 'Rodapé - Redes Sociais', 'plugins': ['SocialMediaPlugin']}, 'content': {'excluded_plugins': ['SellingPointsPlugin', 'SellingPointPlugin', 'AddressPlugin', 'TextPlugin'], 'name': 'Conteúdo'}} |
CMS_PLUGIN_CACHE | False |
CMS_TEMPLATES | (('fullwidth.html', 'Fullwidth'), ('sidebar_left.html', 'Sidebar Left'), ('sidebar_right.html', 'Sidebar Right'), ('home_html.html', 'HTML Home'), ('lista_imoveis_html.html', 'HTML Lista Imoveis'), ('imovel_html.html', 'HTML Imovel'), ('page_base.html', 'Página Simples')) |
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': 'carvalho-hosken.cluster-cf8vn6h3y4bg.us-east-1.rds.amazonaws.com', 'NAME': 'carvalho_hosken_prd', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'db_carvalho_hosken'}} |
DATABASE_ROUTERS | [] |
DATA_DIR | '/app' |
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_FROM | '[email protected]' |
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 |
FILER_IMAGE_MODEL | 'filer.Image' |
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 | ['plugins.apps.PluginsConfig', 'djangocms_admin_style', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'djangocms_text_ckeditor', 'colorfield', 'cms', 'menus', 'sekizai', 'treebeard', 'filer', 'easy_thumbnails', 'adminsortable2', 'pyexcel_xlsx', 'mainsite', 'djangocms_redirect', 'popup_image'] |
INTERNAL_IPS | [] |
LANGUAGES | (('pt-br', 'Português'),) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'pt-br' |
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 | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/app/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['cms.middleware.utils.ApphookReloadMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware', 'djangocms_redirect.middleware.RedirectMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'mainsite.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 |
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 | 'mainsite.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 |
STATICFILES_DIRS | ('/app/mainsite/static',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/app/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/mainsite/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'sekizai.context_processors.sekizai', 'django.template.context_processors.static', 'cms.context_processors.cms_settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Sao_Paulo' |
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 | 'mainsite.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.