ShortStory matching query does not exist.
| Request Method: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/author/shirley-jackson/short-story/the-lottery |
| Django Version: | 1.4.2 |
| Exception Type: | DoesNotExist |
| Exception Value: | ShortStory matching query does not exist. |
| Exception Location: | /Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/db/models/query.py in get, line 366 |
| Python Executable: | /Users/eae/.virtualenvs/amlit/bin/python |
| Python Version: | 2.7.2 |
| Python Path: | ['/Users/eae/code/sites/amlit', '/Users/eae/.venvburrito/lib/python/virtualenv-1.7.2-py2.7.egg', '/Users/eae/.venvburrito/lib/python/virtualenvwrapper-3.6-py2.7.egg', '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/readline-6.2.4.1-py2.7-macosx-10.7-intel.egg', '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/boto-2.6.0_dev-py2.7.egg', '/Users/eae/.virtualenvs/amlit/src/fuzzywuzzy', '/Users/eae/.venvburrito/lib/python', '/Users/eae/code/django/eeapps', '/Users/eae/code/sites/amlit', '/Library/Python/2.7/site-packages', '/Users/eae/.virtualenvs/amlit/lib/python27.zip', '/Users/eae/.virtualenvs/amlit/lib/python2.7', '/Users/eae/.virtualenvs/amlit/lib/python2.7/plat-darwin', '/Users/eae/.virtualenvs/amlit/lib/python2.7/plat-mac', '/Users/eae/.virtualenvs/amlit/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/eae/.virtualenvs/amlit/Extras/lib/python', '/Users/eae/.virtualenvs/amlit/lib/python2.7/lib-tk', '/Users/eae/.virtualenvs/amlit/lib/python2.7/lib-old', '/Users/eae/.virtualenvs/amlit/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages'] |
| Server time: | Tue, 19 Mar 2013 11:26:28 -0600 |
/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, 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 |
|---|---|
| exceptions | <module 'django.core.exceptions' from '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
| e | DoesNotExist('ShortStory matching query does not exist.',) |
| callback_args | (u'shirley-jackson', u'the-lottery') |
| settings | <django.conf.LazySettings object at 0x10086dc10> |
| middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x1015203d0>> |
| self | <django.core.handlers.wsgi.WSGIHandler object at 0x1010c3410> |
| request | "<WSGIRequest\npath:/author/shirley-jackson/short-story/the-lottery,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-ulpkIo/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-Ih545Y/Apple_Ubiquity_Message',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'CSRF_COOKIE': '29D2maa9THbXfBDNTO49E9u8PGCxFM0u',\n 'DISPLAY': '/tmp/launch-bG0LkX/org.macosforge.xquartz:0',\n 'DJANGO_SETTINGS_MODULE': 'amlit.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOME': '/Users/eae',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, compress',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_USER_AGENT': 'python-requests/0.14.1 CPython/2.7.2 Darwin/12.2.0',\n 'LANG': 'en_US.UTF-8',\n 'LOGNAME': 'eae',\n 'MACOSX_DEPLOYMENT_TARGET': '10.8',\n 'PATH': '/Users/eae/.virtualenvs/amlit/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/eae/.venvburrito/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/VirtualBox.app/Contents/MacOS/',\n 'PATH_INFO': u'/author/shirley-jackson/short-story/the-lottery',\n 'PIP_RESPECT_VIRTUALENV': 'true',\n 'PIP_VIRTUALENV_BASE': '/Users/eae/.virtualenvs',\n 'PS1': '(amlit)\\\\W $ ',\n 'PWD': '/Users/eae/code/sites/amlit',\n 'PYTHONPATH': '/Users/eae/.venvburrito/lib/python:/Users/eae/code/django/eeapps:',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SECURITYSESSIONID': '186a3',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AUTH_SOCK': '/tmp/launch-lGYKdA/Listeners',\n 'TERM': 'xterm-256color',\n 'TERM_PROGRAM': 'Apple_Terminal',\n 'TERM_PROGRAM_VERSION': '309',\n 'TERM_SESSION_ID': 'A39CBC66-160A-43AB-9B66-0E54AF2363B8',\n 'TMPDIR': '/var/folders/1_/fdw8s7xd0ml4nrm302vqwjbm0000gn/T/',\n 'TZ': 'America/Denver',\n 'USER': 'eae',\n 'VERSIONER_PYTHON_PREFER_32_BIT': 'no',\n 'VERSIONER_PYTHON_VERSION': '2.7',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/Users/eae/.virtualenvs',\n 'VIRTUALENVWRAPPER_LOG_DIR': '/Users/eae/.virtualenvs',\n 'VIRTUALENVWRAPPER_PROJECT_FILENAME': '.project',\n 'VIRTUAL_ENV': '/Users/eae/.virtualenvs/amlit',\n 'WORKON_HOME': '/Users/eae/.virtualenvs',\n '_': '/Users/eae/.virtualenvs/amlit/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x1005a9270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x100a7b940>,\n 'wsgi.input': <socket._fileobject object at 0x1019d6450>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
| callback | <function display_shortstory at 0x101548050> |
| resolver | <RegexURLResolver amlit.urls (None:None) ^/> |
| urlresolvers | <module 'django.core.urlresolvers' from '/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
| callback_kwargs | {} |
| response | None |
| urlconf | 'amlit.urls' |
/Users/eae/code/sites/amlit/amlit/views.py in display_shortstory
return render_to_response('author.html', {'theauthor': a, 'shortstories': s, 'books': b, 'plays': p, 'essays': e, 'poems': po, 'fairytales': ft, 'letters': l, 'dialogues': d, 'sscarousel': carousel_stories}) #return render_to_response('author.html', {'theauthor': a, 'shortstories': s, 'books': b, 'sscarousel': carousel_stories})def display_shortstory(request, the_author, the_ss):
# print the_author, the_ss
a = Author.objects.get(slug=the_author)
s = ShortStory.objects.get(slug=the_ss, author_id=a.id) # titles are not necessarily unique across all authors, need a.id...
return render_to_response('shortstory.html', {'theauthor': a, 'shortstory': s})# this can be abstracted above, ShortStory should be thought of as a "Document", I did it correctly in history
# def display_essay(request, the_author, the_essay):
# a = Author.objects.get(slug=the_author)
# e = ShortStory.objects.get(slug=the_essay,author_id=a.id) # titles are not necessarily unique across all authors, need a.id
| Variable | Value |
|---|---|
| a | <Author: Shirley Jackson> |
| the_ss | u'the-lottery' |
| request | "<WSGIRequest\npath:/author/shirley-jackson/short-story/the-lottery,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'Apple_PubSub_Socket_Render': '/tmp/launch-ulpkIo/Render',\n 'Apple_Ubiquity_Message': '/tmp/launch-Ih545Y/Apple_Ubiquity_Message',\n 'COMMAND_MODE': 'unix2003',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'CSRF_COOKIE': '29D2maa9THbXfBDNTO49E9u8PGCxFM0u',\n 'DISPLAY': '/tmp/launch-bG0LkX/org.macosforge.xquartz:0',\n 'DJANGO_SETTINGS_MODULE': 'amlit.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOME': '/Users/eae',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, compress',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_USER_AGENT': 'python-requests/0.14.1 CPython/2.7.2 Darwin/12.2.0',\n 'LANG': 'en_US.UTF-8',\n 'LOGNAME': 'eae',\n 'MACOSX_DEPLOYMENT_TARGET': '10.8',\n 'PATH': '/Users/eae/.virtualenvs/amlit/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/eae/.venvburrito/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/VirtualBox.app/Contents/MacOS/',\n 'PATH_INFO': u'/author/shirley-jackson/short-story/the-lottery',\n 'PIP_RESPECT_VIRTUALENV': 'true',\n 'PIP_VIRTUALENV_BASE': '/Users/eae/.virtualenvs',\n 'PS1': '(amlit)\\\\W $ ',\n 'PWD': '/Users/eae/code/sites/amlit',\n 'PYTHONPATH': '/Users/eae/.venvburrito/lib/python:/Users/eae/code/django/eeapps:',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SECURITYSESSIONID': '186a3',\n 'SERVER_NAME': '1.0.0.127.in-addr.arpa',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AUTH_SOCK': '/tmp/launch-lGYKdA/Listeners',\n 'TERM': 'xterm-256color',\n 'TERM_PROGRAM': 'Apple_Terminal',\n 'TERM_PROGRAM_VERSION': '309',\n 'TERM_SESSION_ID': 'A39CBC66-160A-43AB-9B66-0E54AF2363B8',\n 'TMPDIR': '/var/folders/1_/fdw8s7xd0ml4nrm302vqwjbm0000gn/T/',\n 'TZ': 'America/Denver',\n 'USER': 'eae',\n 'VERSIONER_PYTHON_PREFER_32_BIT': 'no',\n 'VERSIONER_PYTHON_VERSION': '2.7',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/Users/eae/.virtualenvs',\n 'VIRTUALENVWRAPPER_LOG_DIR': '/Users/eae/.virtualenvs',\n 'VIRTUALENVWRAPPER_PROJECT_FILENAME': '.project',\n 'VIRTUAL_ENV': '/Users/eae/.virtualenvs/amlit',\n 'WORKON_HOME': '/Users/eae/.virtualenvs',\n '_': '/Users/eae/.virtualenvs/amlit/bin/python',\n '__CF_USER_TEXT_ENCODING': '0x1F5:0:0',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x1005a9270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x100a7b940>,\n 'wsgi.input': <socket._fileobject object at 0x1019d6450>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
| the_author | u'shirley-jackson' |
/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/db/models/manager.py in get
def distinct(self, *args, **kwargs):
return self.get_query_set().distinct(*args, **kwargs)
def extra(self, *args, **kwargs):
return self.get_query_set().extra(*args, **kwargs)
def get(self, *args, **kwargs):
return self.get_query_set().get(*args, **kwargs)...
def get_or_create(self, **kwargs):
return self.get_query_set().get_or_create(**kwargs)
def create(self, **kwargs):
return self.get_query_set().create(**kwargs)
| Variable | Value |
|---|---|
| self | <django.db.models.manager.Manager object at 0x101514fd0> |
| args | () |
| kwargs | {'author_id': 70, 'slug': u'the-lottery'} |
/Users/eae/.virtualenvs/amlit/lib/python2.7/site-packages/django/db/models/query.py in get
if self.query.can_filter():
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! Lookup parameters were %s"% (self.model._meta.object_name, num, kwargs))
def create(self, **kwargs):
"""
Creates a new object with the given kwargs, saving it to the database
| Variable | Value |
|---|---|
| clone | [] |
| num | 0 |
| self | [<ShortStory: "Bad Medicine">, <ShortStory: A College Vagabond>, <ShortStory: A Question of Possession>, <ShortStory: A Winter Round-Up>, <ShortStory: Around the Spade Wagon>, <ShortStory: At Comanche Ford>, <ShortStory: Drifting North>, <ShortStory: In the Hands of His Friends>, <ShortStory: Rangering>, <ShortStory: Seigerman's Per Cent>, <ShortStory: The Double Trail>, <ShortStory: The Passing of Peg-Leg>, <ShortStory: The Ransom of Don Ramon Mora>, <ShortStory: The Story of a Poker Steer>, <ShortStory: A Country Christmas>, <ShortStory: A Modern Cinderella>, <ShortStory: Aunt Kipp>, <ShortStory: Cousin Tribulation's Story>, <ShortStory: Cupid and Chow Chow>, <ShortStory: Debby's Debut>, '...(remaining elements truncated)...'] |
| args | () |
| kwargs | {'author_id': 70, 'slug': u'the-lottery'} |
No GET data
No POST data
No FILES data
No cookie data
| Variable | Value |
|---|---|
| wsgi.multiprocess | False |
| RUN_MAIN | 'true' |
| VERSIONER_PYTHON_PREFER_32_BIT | 'no' |
| SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.2' |
| TERM_PROGRAM_VERSION | '309' |
| REQUEST_METHOD | 'GET' |
| LOGNAME | 'eae' |
| USER | 'eae' |
| PATH | '/Users/eae/.virtualenvs/amlit/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/eae/.venvburrito/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/VirtualBox.app/Contents/MacOS/' |
| QUERY_STRING | '' |
| HOME | '/Users/eae' |
| PS1 | '(amlit)\\W $ ' |
| DISPLAY | '/tmp/launch-bG0LkX/org.macosforge.xquartz:0' |
| TERM_PROGRAM | 'Apple_Terminal' |
| LANG | 'en_US.UTF-8' |
| TERM | 'xterm-256color' |
| SHELL | '/bin/bash' |
| TZ | 'America/Denver' |
| SERVER_NAME | '1.0.0.127.in-addr.arpa' |
| VERSIONER_PYTHON_VERSION | '2.7' |
| SHLVL | '1' |
| MACOSX_DEPLOYMENT_TARGET | '10.8' |
| SECURITYSESSIONID | '186a3' |
| wsgi.url_scheme | 'http' |
| _ | '/Users/eae/.virtualenvs/amlit/bin/python' |
| SERVER_PORT | '8000' |
| CONTENT_LENGTH | '' |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| PATH_INFO | u'/author/shirley-jackson/short-story/the-lottery' |
| WORKON_HOME | '/Users/eae/.virtualenvs' |
| TERM_SESSION_ID | 'A39CBC66-160A-43AB-9B66-0E54AF2363B8' |
| PIP_RESPECT_VIRTUALENV | 'true' |
| PYTHONPATH | '/Users/eae/.venvburrito/lib/python:/Users/eae/code/django/eeapps:' |
| SSH_AUTH_SOCK | '/tmp/launch-lGYKdA/Listeners' |
| VIRTUAL_ENV | '/Users/eae/.virtualenvs/amlit' |
| wsgi.input | <socket._fileobject object at 0x1019d6450> |
| Apple_PubSub_Socket_Render | '/tmp/launch-ulpkIo/Render' |
| HTTP_HOST | '127.0.0.1:8000' |
| SCRIPT_NAME | u'' |
| wsgi.multithread | True |
| TMPDIR | '/var/folders/1_/fdw8s7xd0ml4nrm302vqwjbm0000gn/T/' |
| VIRTUALENVWRAPPER_LOG_DIR | '/Users/eae/.virtualenvs' |
| HTTP_ACCEPT | '*/*' |
| VIRTUALENVWRAPPER_PROJECT_FILENAME | '.project' |
| wsgi.version | (1, 0) |
| VIRTUALENVWRAPPER_HOOK_DIR | '/Users/eae/.virtualenvs' |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| wsgi.run_once | False |
| CSRF_COOKIE | '29D2maa9THbXfBDNTO49E9u8PGCxFM0u' |
| wsgi.errors | <open file '<stderr>', mode 'w' at 0x1005a9270> |
| REMOTE_ADDR | '127.0.0.1' |
| HTTP_USER_AGENT | 'python-requests/0.14.1 CPython/2.7.2 Darwin/12.2.0' |
| __CF_USER_TEXT_ENCODING | '0x1F5:0:0' |
| Apple_Ubiquity_Message | '/tmp/launch-Ih545Y/Apple_Ubiquity_Message' |
| PWD | '/Users/eae/code/sites/amlit' |
| PIP_VIRTUALENV_BASE | '/Users/eae/.virtualenvs' |
| DJANGO_SETTINGS_MODULE | 'amlit.settings' |
| CONTENT_TYPE | 'text/plain' |
| wsgi.file_wrapper | '' |
| REMOTE_HOST | '' |
| HTTP_ACCEPT_ENCODING | 'gzip, deflate, compress' |
| COMMAND_MODE | 'unix2003' |
amlit.settings| Setting | Value |
|---|---|
| USE_L10N | True |
| USE_THOUSAND_SEPARATOR | False |
| CSRF_COOKIE_SECURE | False |
| LANGUAGE_CODE | 'en-us' |
| ROOT_URLCONF | 'amlit.urls' |
| MANAGERS | () |
| DEFAULT_CHARSET | 'utf-8' |
| STATIC_ROOT | '' |
| MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
| EMAIL_SUBJECT_PREFIX | '[Django] ' |
| FILE_UPLOAD_PERMISSIONS | None |
| URL_VALIDATOR_USER_AGENT | 'Django/1.4.2 (https://www.djangoproject.com)' |
| STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
| SESSION_COOKIE_DOMAIN | None |
| SESSION_COOKIE_NAME | 'sessionid' |
| ADMIN_FOR | () |
| TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
| DATABASES | {'default': {'ENGINE': 'django.db.backends.sqlite3',
'HOST': '',
'NAME': '/Users/eae/code/sites/amlit/dev.db',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'UTC',
'USER': ''}} |
| SERVER_EMAIL | 'root@localhost' |
| FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
| 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',
'LOCATION': ''}} |
| SESSION_COOKIE_PATH | '/' |
| USE_X_FORWARDED_HOST | False |
| MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware') |
| USE_I18N | True |
| THOUSAND_SEPARATOR | ',' |
| SECRET_KEY | u'********************' |
| LANGUAGE_COOKIE_NAME | 'django_language' |
| DEFAULT_INDEX_TABLESPACE | '' |
| TRANSACTIONS_MANAGED | False |
| LOGGING_CONFIG | 'django.utils.log.dictConfig' |
| SEND_BROKEN_LINK_EMAILS | False |
| TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader') |
| WSGI_APPLICATION | 'amlit.wsgi.application' |
| TEMPLATE_DEBUG | True |
| X_FRAME_OPTIONS | 'SAMEORIGIN' |
| AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
| FORCE_SCRIPT_NAME | None |
| CACHE_BACKEND | 'locmem://' |
| 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.humanize',
'django.contrib.admin',
'amlit',
'history',
'south') |
| LANGUAGES | (('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-gb', 'British English'),
('eo', 'Esperanto'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy-nl', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('kk', 'Kazakh'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('nb', 'Norwegian Bokmal'),
('ne', 'Nepali'),
('nl', 'Dutch'),
('nn', 'Norwegian Nynorsk'),
('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'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese')) |
| COMMENTS_ALLOW_PROFANITIES | False |
| STATICFILES_DIRS | ('/Users/eae/code/sites/amlit/amlit/assets',) |
| 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 |
| TIME_FORMAT | 'P' |
| 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 |
| SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
| CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
| CSRF_COOKIE_PATH | '/' |
| LOGIN_REDIRECT_URL | '/accounts/profile/' |
| 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} |
| IGNORABLE_404_URLS | () |
| LOCALE_PATHS | () |
| TEMPLATE_STRING_IF_INVALID | '' |
| LOGOUT_URL | '/accounts/logout/' |
| EMAIL_USE_TLS | False |
| FIXTURE_DIRS | () |
| EMAIL_HOST | 'localhost' |
| DATE_FORMAT | 'N j, Y' |
| MEDIA_ROOT | '/Users/eae/code/sites/amlit/amlit/assets' |
| DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
| ADMINS | () |
| FORMAT_MODULE_PATH | None |
| DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
| MEDIA_URL | '/assets/' |
| DATETIME_FORMAT | 'N j, Y, P' |
| TEMPLATE_DIRS | ('/Users/eae/code/sites/amlit/amlit/templates',
'/Users/eae/code/sites/amlit/amlit/history/templates') |
| SITE_ID | 1 |
| DISALLOWED_USER_AGENTS | () |
| ALLOWED_INCLUDE_ROOTS | () |
| DECIMAL_SEPARATOR | '.' |
| SHORT_DATE_FORMAT | 'm/d/Y' |
| TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
| CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
| TIME_ZONE | 'America/Denver' |
| FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
| EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
| DEFAULT_TABLESPACE | '' |
| TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.core.context_processors.tz',
'django.contrib.messages.context_processors.messages') |
| SESSION_COOKIE_AGE | 1209600 |
| SETTINGS_MODULE | 'amlit.settings' |
| USE_ETAGS | False |
| LANGUAGES_BIDI | ('he', 'ar', 'fa') |
| FILE_UPLOAD_TEMP_DIR | None |
| INTERNAL_IPS | () |
| STATIC_URL | '/static/' |
| EMAIL_PORT | 25 |
| USE_TZ | True |
| SHORT_DATETIME_FORMAT | 'm/d/Y P' |
| PASSWORD_HASHERS | u'********************' |
| ABSOLUTE_URL_OVERRIDES | {} |
| CACHE_MIDDLEWARE_SECONDS | 600 |
| 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 | '' |
| 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.