TemplateDoesNotExist at /contact/contact-form/

contact_form/contact.html
Request Method: GET
Request URL: https://spanish.destination-asia.com/contact/contact-form/
Django Version: 1.6.8
Exception Type: TemplateDoesNotExist
Exception Value:
contact_form/contact.html
Exception Location: /home/dasia/web/destination-asia.com/private/django/env/lib/python2.7/site-packages/django/template/loader.py in select_template, line 186
Python Executable: /usr/bin/python
Python Version: 2.7.6
Python Path:
['/home/dasia/web/destination-asia.com/private/django/sites/src/project/apps',
 '/home/dasia/web/destination-asia.com/private/django/sites/src/project/apps',
 '/home/dasia/web/destination-asia.com/private/django/sites/src/project',
 '/home/dasia/web/destination-asia.com/private/django/sites/src',
 '/home/dasia/web/destination-asia.com/private/django/env/lib/python2.7/site-packages',
 '/home/dasia/web/destination-asia.com/private/django/env/lib/python2.7/site-packages',
 '/home/dasia/web/destination-asia.com/private/django/env/src/django-teambox-icons-master',
 '/usr/local/lib/python2.7/dist-packages/Django-1.10a1-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/home/dasia/web/destination-asia.com/private/django/sites/src',
 '/home/dasia/web/destination-asia.com/private/django/sites/src/project',
 '/home/dasia/web/destination-asia.com/private/django/sites/src/project/apps',
 '/home/dasia/web/destination-asia.com/private/django/sites/src/project/libs']
Server time: Tue, 19 Mar 2024 09:31:28 +0700

Template-loader postmortem

Django tried loading these templates, in this order:

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
mod_wsgi.listener_port
'8443'
HTTP_CF_IPCOUNTRY
'US'
REDIRECT_STATUS
'200'
CONTEXT_DOCUMENT_ROOT
'/home/dasia/web/destination-asia.com/public_html'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.27 OpenSSL/1.0.1f mod_wsgi/4.5.2 Python/2.7.6'
SCRIPT_NAME
u''
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
SERVER_SIGNATURE
''
REQUEST_METHOD
'GET'
wsgi.run_once
False
PATH_INFO
u'/contact/contact-form/'
REDIRECT_URL
'/contact/contact-form/'
SERVER_PROTOCOL
'HTTP/1.0'
QUERY_STRING
''
HTTP_CF_RAY
'866a0be20f54578b-IAD'
wsgi.errors
<mod_wsgi.Log object at 0x7f33bef74bb8>
HTTP_X_REAL_IP
'3.93.173.205'
HTTP_USER_AGENT
'claudebot'
HTTP_CONNECTION
'close'
SERVER_NAME
'spanish.destination-asia.com'
REMOTE_ADDR
'172.31.30.252'
mod_wsgi.queue_start
'1710815488211459'
mod_wsgi.request_handler
'wsgi-script'
apache.version
(2, 4, 7)
mod_wsgi.thread_id
3
wsgi.url_scheme
'https'
PATH_TRANSLATED
'redirect:/django.wsgi/contact/contact-form//contact-form/'
SERVER_PORT
'443'
mod_wsgi.daemon_connects
'1'
wsgi.multiprocess
True
SERVER_ADDR
'172.31.30.252'
DOCUMENT_ROOT
'/home/dasia/web/destination-asia.com/public_html'
HTTP_CF_VISITOR
'{"scheme":"https"}'
mod_wsgi.process_group
'sdestination-asia.com'
mod_wsgi.thread_requests
2375L
HTTP_X_FORWARDED_PROTO
'https'
SCRIPT_FILENAME
'/home/dasia/web/destination-asia.com/public_html/django.wsgi'
SERVER_ADMIN
'[email protected]'
HTTP_CDN_LOOP
'cloudflare'
wsgi.input
<mod_wsgi.Input object at 0x7f33bef4e780>
HTTP_HOST
'spanish.destination-asia.com'
CONTEXT_PREFIX
''
wsgi.multithread
True
mod_wsgi.callable_object
'application'
HTTP_CF_CONNECTING_IP
'3.93.173.205'
mod_wsgi.daemon_restarts
'0'
REQUEST_URI
'/contact/contact-form/'
HTTP_ACCEPT
'*/*'
mod_wsgi.path_info
'/contact/contact-form/'
wsgi.file_wrapper
''
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
REDIRECT_HTTPS
'on'
mod_wsgi.script_name
'/django.wsgi'
REMOTE_PORT
'40068'
mod_wsgi.listener_host
'172.31.30.252'
REQUEST_SCHEME
'https'
mod_wsgi.version
(4, 5, 2)
HTTP_X_FORWARDED_FOR
'3.93.173.205, 3.93.173.205'
mod_wsgi.script_start
'1710815488211615'
mod_wsgi.total_requests
8532L
mod_wsgi.application_group
''
mod_wsgi.script_reloading
'1'
mod_wsgi.request_start
'1710815488211176'
CSRF_COOKIE
u'op3wW8H2zu79uxi8i0W7W8WikBP38MvG'
HTTP_ACCEPT_ENCODING
'gzip, br'
mod_wsgi.daemon_start
'1710815488211583'

Settings

Using settings module settings.production

Setting Value
MEDIA_TREE_ICON_DIRS
('teambox/24x32px', 'media_tree/img/icons/mimetypes')
USE_L10N
True
MEDIA_TREE_MEDIA_BACKENDS
('media_tree.contrib.media_backends.easy_thumbnails.EasyThumbnailsBackend',)
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'en-us'
ROOT_URLCONF
'project.urls'
MANAGERS
(('Destination Asia', '[email protected]'),)
DEFAULT_CHARSET
'utf-8'
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
'/home/dasia/web/destination-asia.com/private/django/sites/assets/'
USE_THOUSAND_SEPARATOR
False
DJANGO_ROOT
'/home/dasia/web/destination-asia.com/private/django/sites/src/project'
ALLOWED_HOSTS
['demo.destination-asia.com']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX
'[project] '
SEND_BROKEN_LINK_EMAILS
False
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': '',
             'NAME': 'demo_da2',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'UTC',
             'USER': 'demo_da2'}}
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.i18n',
 'django.core.context_processors.request')
DEFAULT_CONTENT_TYPE
'text/html'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
FEINCMS_USE_PAGE_ADMIN
False
SERVER_EMAIL
'specials'
SESSION_COOKIE_PATH
'/'
MIDDLEWARE_CLASSES
('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.contrib.redirects.middleware.RedirectFallbackMiddleware')
USE_I18N
False
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
FEINCMS_DEFAULT_PAGE_MODEL
'pages.Page'
WSGI_APPLICATION
'project.wsgi.application'
TEMPLATE_DEBUG
True
X_FRAME_OPTIONS
'SAMEORIGIN'
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
HAYSTACK_CONNECTIONS
{'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
             'PATH': '/home/dasia/web/destination-asia.com/private/django/sites/src/project/settings/whoosh_index'}}
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
USE_ETAGS
False
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SESSION_COOKIE_SECURE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.redirects',
 'feincms',
 'mptt',
 'feincms.module.page',
 'easy_thumbnails',
 'teambox_icons',
 'django_markdown2',
 'crispy_forms',
 'floppyforms',
 'haystack',
 'south',
 'media_tree',
 'da',
 'cms')
LANGUAGES
(('en', <django.utils.functional.__proxy__ object at 0x7f33c6924a50>),
 ('th', <django.utils.functional.__proxy__ object at 0x7f33c6924a90>))
COMMENTS_ALLOW_PROFANITIES
False
PROJECT_APPS
('media_tree', 'da', 'cms')
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TINYMCE_JS_URL
'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.9.11/tinymce.min.js'
TIME_FORMAT
'P'
DEFAULT_APPS
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.redirects')
AUTH_USER_MODEL
'auth.User'
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')
CSRF_COOKIE_NAME
'csrftoken'
EMAIL_HOST_PASSWORD
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
NUMBER_GROUPING
0
SHORT_DATETIME_FORMAT
'm/d/Y P'
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH
'/'
LOGIN_REDIRECT_URL
'/accounts/profile/'
PROJECT_ROOT
'/home/dasia/web/destination-asia.com/private/django/sites/src/project/settings/..'
DECIMAL_SEPARATOR
'.'
IGNORABLE_404_URLS
()
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
True
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
'/home/dasia/web/destination-asia.com/private/django/sites/media/'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
(('Arthur Hanson', '[email protected]'),)
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
STATICFILES_DIRS
('/home/dasia/web/destination-asia.com/private/django/sites/src/project/assets',)
MEDIA_URL
'/media/'
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
('/home/dasia/web/destination-asia.com/private/django/sites/src/project/templates',)
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
LOGGING
{'disable_existing_loggers': False,
 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
TEST_RUNNER
'django.test.runner.DiscoverRunner'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
TIME_ZONE
'Asia/Bangkok'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
CRISPY_TEMPLATE_PACK
'bootstrap3'
SITE_NAME
'project'
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'settings.production'
FEINCMS_RICHTEXT_INIT_TEMPLATE
'admin/content/richtext/init_tinymce4.html'
SITE_ROOT
'/home/dasia/web/destination-asia.com/private/django/sites/src/project'
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
FILE_UPLOAD_TEMP_DIR
None
INTERNAL_IPS
()
STATIC_URL
'/static/'
EMAIL_PORT
25
USE_TZ
True
FEINCMS_RICHTEXT_INIT_CONTEXT
{'TINYMCE_JS_URL': 'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.9.11/tinymce.min.js'}
PASSWORD_HASHERS
u'********************'
THIRD_PARTY_APPS
('feincms',
 'mptt',
 'feincms.module.page',
 'easy_thumbnails',
 'teambox_icons',
 'django_markdown2',
 'crispy_forms',
 'floppyforms',
 'haystack',
 'south')
ABSOLUTE_URL_OVERRIDES
{}
CACHE_MIDDLEWARE_SECONDS
600
CSRF_COOKIE_HTTPONLY
False
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')
EMAIL_HOST_USER
'specials'
PROFANITIES_LIST
u'********************'

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 500 page.