Instrutor matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | http://treehouse.com.br/nossa_equipe/Marcella-Bueno |
Django Version: | 1.8 |
Exception Type: | DoesNotExist |
Exception Value: | Instrutor matching query does not exist. |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/db/models/query.py in get, line 334 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.12 |
Python Path: | ['/home/ubuntu/treehouse', '/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'] |
Server time: | Sex, 29 Mar 2024 10:02:53 +0000 |
/usr/local/lib/python2.7/dist-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:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | DoesNotExist('Instrutor matching query does not exist.',) |
callback_args | () |
resolver_match | ResolverMatch(func=core.views.instrutor, args=(), kwargs={'nome': u'Marcella-Bueno'}, url_name=instrutor, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f6ea15813d0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ea36d03d0> |
request | "<WSGIRequest\npath:/nossa_equipe/Marcella-Bueno,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'JRKYARZ2dypVquLWknRD6pXnG2DNGJlw',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'treehouse.com.br',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/nossa_equipe/Marcella-Bueno',\n 'PATH_TRANSLATED': '/home/ubuntu/treehouse/treehouse/wsgi.py/nossa_equipe/Marcella-Bueno',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '34.228.239.171',\n 'REMOTE_PORT': '47534',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/nossa_equipe/Marcella-Bueno',\n 'SCRIPT_FILENAME': '/home/ubuntu/treehouse/treehouse/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '172.31.0.31',\n 'SERVER_ADMIN': 'webmaster@localhost',\n 'SERVER_NAME': 'treehouse.com.br',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.18 (Ubuntu) Server at treehouse.com.br Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.18 (Ubuntu)',\n 'apache.version': (2, 4, 18),\n 'mod_wsgi.application_group': 'ip-172-31-0-31.sa-east-1.compute.internal|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.request_start': '1711706573838097',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.script_start': '1711706573838248',\n 'mod_wsgi.version': (4, 3, 0),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f6ea1508a08>,\n 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f6ea1453070>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function instrutor at 0x7f6ea150ef50> |
wrapped_callback | <function instrutor at 0x7f6ea150ef50> |
resolver | <RegexURLResolver 'treehouse.urls' (None:None) ^/> |
callback_kwargs | {'nome': u'Marcella-Bueno'} |
response | None |
urlconf | 'treehouse.urls' |
/home/ubuntu/treehouse/core/views.py
in instrutor
return render_to_response("core/nossa_equipe_dinamica.html", context)
def instrutor(request, nome):
dest = Destino.objects.all().order_by("nome")
i = Instrutor.objects.get(nome_url=nome)...
f = ImagemInstrutor.objects.filter(instrutor=i)
context = RequestContext(request, locals())
return render_to_response("core/instrutor.html", context)
Variable | Value |
---|---|
dest | [<Destino: Foz do Iguaçu>, <Destino: Itatiaia>, <Destino: Pantanal e Bonito>, <Destino: Paraty e Saco do Mamanguá>, <Destino: Pedra do Baú>, <Destino: Petar - Parque Estadual Turístico do Alto Ribeira>, <Destino: Petrópolis>, <Destino: Serra da Bocaina e Fazendas do Café>, <Destino: Serra do Cipó>, <Destino: Trilhas na Serra da Mantiqueira>] |
request | "<WSGIRequest\npath:/nossa_equipe/Marcella-Bueno,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'JRKYARZ2dypVquLWknRD6pXnG2DNGJlw',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'treehouse.com.br',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/nossa_equipe/Marcella-Bueno',\n 'PATH_TRANSLATED': '/home/ubuntu/treehouse/treehouse/wsgi.py/nossa_equipe/Marcella-Bueno',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '34.228.239.171',\n 'REMOTE_PORT': '47534',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/nossa_equipe/Marcella-Bueno',\n 'SCRIPT_FILENAME': '/home/ubuntu/treehouse/treehouse/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '172.31.0.31',\n 'SERVER_ADMIN': 'webmaster@localhost',\n 'SERVER_NAME': 'treehouse.com.br',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.18 (Ubuntu) Server at treehouse.com.br Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.18 (Ubuntu)',\n 'apache.version': (2, 4, 18),\n 'mod_wsgi.application_group': 'ip-172-31-0-31.sa-east-1.compute.internal|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.request_start': '1711706573838097',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.script_start': '1711706573838248',\n 'mod_wsgi.version': (4, 3, 0),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f6ea1508a08>,\n 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f6ea1453070>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
nome | u'Marcella-Bueno' |
/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py
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 = {}
# Refs http://bugs.python.org/issue1785.
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x7f6ea1601190> |
args | () |
name | 'get' |
kwargs | {'nome_url': u'Marcella-Bueno'} |
/usr/local/lib/python2.7/dist-packages/django/db/models/query.py
in get
clone = clone.order_by()
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, num)
)
Variable | Value |
---|---|
clone | [] |
num | 0 |
self | [<Instrutor: Filippo Croso>, <Instrutor: Fernando Garcia>, <Instrutor: Vinícius Maltauro>, <Instrutor: Fernando Zara>, <Instrutor: Monica Machado>, <Instrutor: Oliver Van Sluys Menck>, <Instrutor: Fernando Aranha>, <Instrutor: Branca Sales Melo Franco>, <Instrutor: Patricia Bianca Ribeiro>, <Instrutor: Millena Lopes Pitanguy>, <Instrutor: Carlo Fumagalli>, <Instrutor: Álvaro Aurélio da Matta>, <Instrutor: Juliana Pedrosa Cortez>, <Instrutor: Armando Galassini>, <Instrutor: Tiago Reis>, <Instrutor: Antônio "Guto" Bertagnoli>, <Instrutor: Camilla Duarte Callado>] |
args | () |
kwargs | {'nome_url': u'Marcella-Bueno'} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
SERVER_SOFTWARE | 'Apache/2.4.18 (Ubuntu)' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.4.18 (Ubuntu) Server at treehouse.com.br Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/nossa_equipe/Marcella-Bueno' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'treehouse.com.br' |
REMOTE_ADDR | '34.228.239.171' |
mod_wsgi.request_handler | 'wsgi-script' |
apache.version | (2, 4, 18) |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/ubuntu/treehouse/treehouse/wsgi.py/nossa_equipe/Marcella-Bueno' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '172.31.0.31' |
DOCUMENT_ROOT | '/var/www/html' |
mod_wsgi.process_group | '' |
SCRIPT_FILENAME | '/home/ubuntu/treehouse/treehouse/wsgi.py' |
SERVER_ADMIN | 'webmaster@localhost' |
wsgi.input | <mod_wsgi.Input object at 0x7f6ea1453070> |
HTTP_HOST | 'treehouse.com.br' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/nossa_equipe/Marcella-Bueno' |
HTTP_ACCEPT | '*/*' |
wsgi.file_wrapper | '' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f6ea1508a08> |
REMOTE_PORT | '47534' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (4, 3, 0) |
mod_wsgi.script_start | '1711706573838248' |
mod_wsgi.application_group | 'ip-172-31-0-31.sa-east-1.compute.internal|' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.request_start | '1711706573838097' |
CSRF_COOKIE | u'JRKYARZ2dypVquLWknRD6pXnG2DNGJlw' |
treehouse.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'pt-br' |
ROOT_URLCONF | 'treehouse.urls' |
MANAGERS | () |
BASE_DIR | '/home/ubuntu/treehouse' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/ubuntu/treehouse/static' |
ALLOWED_HOSTS | ['treehouse.com.br'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/ubuntu/treehouse/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': ''}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'treehouse.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'foundation', 'core', 'tinymce') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.treehouse.com.br' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/ubuntu/treehouse/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
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']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'treehouse.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | '587' |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
TINYMCE_DEFAULT_CONFIG | {'plugins': 'media', 'relative_urls': False, 'theme': 'advanced', 'theme_advanced_buttons1': 'bold,italic,underline,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,link,unlink,image,styleselect,formatselect,fontselect,fontsizeselect,fullscreen,code', 'theme_advanced_buttons2': 'cut,copy,paste,pastetext,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,|,forecolor,backcolor,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr', 'theme_advanced_path': False, 'theme_advanced_resizing': True} |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
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 | 'website2@treehouse.com.br' |
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.