TemplateDoesNotExist at /pt-br/blog.html

monitoo/blog.html
Request Method: GET
Request URL: https://monitoo.com.br/pt-br/blog.html
Django Version: 3.0
Exception Type: TemplateDoesNotExist
Exception Value:
monitoo/blog.html
Exception Location: /mnt/producao/monitoo_website/env_monitoo_webiste/lib/python3.8/site-packages/django/template/loader.py in get_template, line 19
Python Executable: /mnt/producao/monitoo_website/env_monitoo_webiste/bin/python
Python Version: 3.8.10
Python Path:
['/mnt/producao/monitoo_website/monitoo_website',
 '/mnt/producao/monitoo_website/env_monitoo_webiste/bin',
 '/usr/lib/python38.zip',
 '/usr/lib/python3.8',
 '/usr/lib/python3.8/lib-dynload',
 '/mnt/producao/monitoo_website/env_monitoo_webiste/lib/python3.8/site-packages',
 '/mnt/producao/monitoo_website/env_monitoo_webiste/src/cruds-adminlte']
Server time: Qui, 28 Mar 2024 08:52:05 +0000

Template-loader postmortem

Django tried loading these templates, in this order:

Using engine django:

Traceback Switch to copy-and-paste view



Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
HTTP_ACCEPT
'*/*'
HTTP_CONNECTION
'close'
HTTP_HOST
'monitoo.com.br'
HTTP_REFERER
'https://monitoo.com.br/blog.html'
HTTP_USER_AGENT
'claudebot'
HTTP_X_FORWARDED_FOR
'3.238.161.165'
HTTP_X_FORWARDED_PROTO
'https'
HTTP_X_REAL_IP
'3.238.161.165'
PATH_INFO
'/pt-br/blog.html'
QUERY_STRING
''
RAW_URI
'/pt-br/blog.html'
REMOTE_ADDR
'127.0.0.1'
REMOTE_PORT
'46490'
REQUEST_METHOD
'GET'
SCRIPT_NAME
''
SERVER_NAME
'127.0.0.1'
SERVER_PORT
'8006'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SOFTWARE
'gunicorn/20.1.0'
gunicorn.socket
<socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8006), raddr=('127.0.0.1', 46490)>
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f0ceb7c93d0>
wsgi.file_wrapper
''
wsgi.input
<gunicorn.http.body.Body object at 0x7f0ceb7c9ca0>
wsgi.input_terminated
True
wsgi.multiprocess
False
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)

Settings

Using settings module monitoo.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACME_TOKEN
'********************'
ADMINS
[]
ALLOWED_HOSTS
['*']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'auth.User'
BASE_DIR
'/mnt/producao/monitoo_website/monitoo_website/monitoo'
BLOG_AUTHOR
'Micropyramid'
BLOG_DESCRIPTION
'Rapid development of web applications'
BLOG_KEYWORDS
'********************'
BLOG_TITLE
''
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CKEDITOR_BASEPATH
'/static/ckeditor/ckeditor/'
CKEDITOR_CONFIGS
{'default': {'toolbar': 'full', 'width': 800}}
CKEDITOR_UPLOAD_PATH
'uploads/'
COMPRESSORS
{'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'}
COMPRESS_CACHEABLE_PRECOMPILERS
()
COMPRESS_CACHE_BACKEND
'default'
COMPRESS_CACHE_KEY_FUNCTION
'********************'
COMPRESS_CLEAN_CSS_ARGUMENTS
''
COMPRESS_CLEAN_CSS_BINARY
'cleancss'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
''
COMPRESS_CLOSURE_COMPILER_BINARY
'java -jar compiler.jar'
COMPRESS_CSS_HASHING_METHOD
'mtime'
COMPRESS_DATA_URI_MAX_SIZE
1024
COMPRESS_DEBUG_TOGGLE
None
COMPRESS_ENABLED
True
COMPRESS_FILTERS
{'css': ['compressor.filters.css_default.CssAbsoluteFilter',
         'compressor.filters.cssmin.rCSSMinFilter'],
 'js': ['compressor.filters.jsmin.rJSMinFilter']}
COMPRESS_JINJA2_GET_ENVIRONMENT
<function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f0cee17f5e0>
COMPRESS_MINT_DELAY
30
COMPRESS_MTIME_DELAY
10
COMPRESS_OFFLINE
False
COMPRESS_OFFLINE_CONTEXT
{'STATIC_URL': '/static/'}
COMPRESS_OFFLINE_MANIFEST
'manifest.json'
COMPRESS_OFFLINE_TIMEOUT
31536000
COMPRESS_OUTPUT_DIR
'CACHE'
COMPRESS_PARSER
'compressor.parser.AutoSelectParser'
COMPRESS_PRECOMPILERS
()
COMPRESS_REBUILD_TIMEOUT
2592000
COMPRESS_ROOT
'/mnt/producao/monitoo_website/monitoo_website/monitoo/staticfiles'
COMPRESS_STORAGE
'compressor.storage.CompressorFileStorage'
COMPRESS_TEMPLATE_FILTER_CONTEXT
{'STATIC_URL': '/static/'}
COMPRESS_URL
'/static/'
COMPRESS_URL_PLACEHOLDER
'/__compressor_url_placeholder__/'
COMPRESS_VERBOSE
False
COMPRESS_YUGLIFY_BINARY
'yuglify'
COMPRESS_YUGLIFY_CSS_ARGUMENTS
'--terminal'
COMPRESS_YUGLIFY_JS_ARGUMENTS
'--terminal'
COMPRESS_YUI_BINARY
'java -jar yuicompressor.jar'
COMPRESS_YUI_CSS_ARGUMENTS
''
COMPRESS_YUI_JS_ARGUMENTS
''
CRISPY_TEMPLATE_PACK
'bootstrap3'
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.postgresql_psycopg2',
             'HOST': '127.0.0.1',
             'NAME': 'monitoo_website',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '5432',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'postgres'},
 'monitoo-admin': {'ATOMIC_REQUESTS': False,
                   'AUTOCOMMIT': True,
                   'CONN_MAX_AGE': 0,
                   'ENGINE': 'django.db.backends.postgresql_psycopg2',
                   'HOST': 'monitoo-do-user-7582859-0.b.db.ondigitalocean.com',
                   'NAME': 'monitoo',
                   'OPTIONS': {'sslmode': 'require'},
                   'PASSWORD': '********************',
                   'PORT': '25061',
                   'TEST': {'CHARSET': None,
                            'COLLATION': None,
                            'MIRROR': None,
                            'NAME': None},
                   'TIME_ZONE': None,
                   'USER': 'doadmin'}}
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']
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
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
EASY_TEMPLATE_FOLDER
'monitoo'
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_FROM
'contato@monitoo.com.br'
EMAIL_HOST
'smtp.sendgrid.net'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'contato@monitoo.com.br'
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'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sitemaps',
 'django.contrib.sites',
 'parler',
 'mptt',
 'captcha',
 'compressor',
 'csscompressor',
 'html5lib',
 'dal',
 'dal_select2',
 'crispy_forms',
 'monitoo.cruds_config.CrudsConfig',
 'website',
 'simple_pagination',
 'sorl.thumbnail',
 'ckeditor',
 'os3letsencrypt',
 'ckeditor_uploader',
 'apps.django_social_share',
 'apps.nucleo',
 'apps.perfil',
 'apps.django_blog_it',
 'apps.documentacoes',
 'apps.recursos',
 'apps.os3marketing',
 'apps.email_sender',
 'apps.precos']
INTERNAL_IPS
[]
LANGUAGES
(('pt-br', 'Português'), ('es', 'Espanhol'), ('en', 'US English'))
LANGUAGES_BIDI
['he', 'ar', '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
['/mnt/producao/monitoo_website/monitoo_website/monitoo/locale']
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
'/mnt/producao/monitoo_website/monitoo_website/monitoo/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
OS3MARKETING_SMTP_MODEL
'email_sender.SMTPServer'
PARLER_DEFAULT_LANGUAGE
'pt-br'
PARLER_ENABLE_CACHING
False
PARLER_LANGUAGES
{1: ({'code': 'pt-br', 'fallbacks': ['pt-br'], 'hide_untranslated': False},
     {'code': 'en', 'fallbacks': ['pt-br'], 'hide_untranslated': False},
     {'code': 'es', 'fallbacks': ['pt-br'], 'hide_untranslated': False}),
 'default': {'code': 'pt-br',
             'fallbacks': ['pt-br'],
             'hide_untranslated': False}}
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
RECAPTCHA_PRIVATE_KEY
'********************'
RECAPTCHA_PUBLIC_KEY
'********************'
RECAPTCHA_REQUIRED_SCORE
0.85
ROOT_URLCONF
'monitoo.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
None
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
'monitoo.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
('/mnt/producao/monitoo_website/monitoo_website/monitoo/static',)
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 'compressor.finders.CompressorFinder')
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'/mnt/producao/monitoo_website/monitoo_website/monitoo/staticfiles'
STATIC_URL
'/static/'
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': [],
  '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',
                                     'apps.perfil.context_processors.profile']}}]
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
'UTC'
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
'monitoo.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.