Skip to content

Instantly share code, notes, and snippets.

@rjfranco
Created April 16, 2011 22:17
Show Gist options
  • Save rjfranco/923557 to your computer and use it in GitHub Desktop.
Save rjfranco/923557 to your computer and use it in GitHub Desktop.
ellington error
MultipleObjectsReturned at /news/2011/apr/16/the-heart-and-the-fist-works-well/
get() returned more than one Rate -- it returned 2! Lookup parameters were {'user': <django.utils.functional.SimpleLazyObject object at 0x55b6650>}
Request Method: GET
Request URL: http://www.columbian.com/news/2011/apr/16/the-heart-and-the-fist-works-well/
Django Version: 1.2.5 SVN-16026
Exception Type: MultipleObjectsReturned
Exception Value:
get() returned more than one Rate -- it returned 2! Lookup parameters were {'user': <django.utils.functional.SimpleLazyObject object at 0x55b6650>}
Exception Location: /home/code.django-1.0/django/db/models/query.py in get, line 349
Python Executable: /usr/bin/python
Python Version: 2.5.2
Python Path: ['/home/code.django-1.0', '/usr/lib/python2.5/site-packages/m2secret-0.1.1-py2.5.egg', '/usr/lib/python2.5/site-packages/pip-0.7.2-py2.5.egg', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5', '/home/code/worldonline/thirdparty']
Server time: Sat, 16 Apr 2011 14:58:12 -0700
Traceback Switch to copy-and-paste view
/home/code.django-1.0/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/home/code.django-1.0/ellington/core/decorators.py in _wrapped
result = view(request, *args, **kwargs) ...
▶ Local vars
/home/code.django-1.0/ellington/news/views/stories.py in story_detail
response = HttpResponse(t.render(c)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
return self._render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/code.django-1.0/django/template/__init__.py in render_node
return node.render(context) ...
▶ Local vars
/home/code.django-1.0/ellington/ratings/templatetags/rating_tags.py in render
rate = getattr(rated_item, self.fk_name).get(user=user) ...
▶ Local vars
/home/code.django-1.0/django/db/models/manager.py in get
return self.get_query_set().get(*args, **kwargs) ...
▶ Local vars
/home/code.django-1.0/django/db/models/query.py in get
% (self.model._meta.object_name, num, kwargs)) ...
▶ Local vars
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
__utmz
'214468168.1302990909.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
ellington_sessionid
'6044a38eed510bb3b1b419f680507a1d'
__gads
'ID=60aae0d517f20598:T=1302990909:S=ALNI_MazSRvQrjjtUQpbB41rtSznrjKDSw'
__qca
'P0-1627566249-1302990909270'
__utma
'214468168.407860237.1302990909.1302990909.1302990909.1'
__utmb
'214468168.50.0.1302991090193'
__utmc
'214468168'
META
Variable Value
DOCUMENT_ROOT
'/home/static/columbian.media.clients.ellingtoncms.com/html'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8'
HTTP_COOKIE
'__gads=ID=60aae0d517f20598:T=1302990909:S=ALNI_MazSRvQrjjtUQpbB41rtSznrjKDSw; __utmz=214468168.1302990909.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __qca=P0-1627566249-1302990909270; ellington_sessionid=6044a38eed510bb3b1b419f680507a1d; __utma=214468168.407860237.1302990909.1302990909.1302990909.1; __utmc=214468168; __utmb=214468168.50.0.1302991090193'
HTTP_HOST
'www.columbian.com'
HTTP_REFERER
'http://www.columbian.com/news/presstalk/lou-brancaccio/'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16'
HTTP_X_FORWARDED_FOR
'24.21.64.5'
HTTP_X_VARNISH
'1392633750'
PATH
'/bin:/usr/bin:/usr/local/bin'
PATH_INFO
u'/news/2011/apr/16/the-heart-and-the-fist-works-well/'
PATH_TRANSLATED
'/etc/apache2/wsgi/hosted.clients.columbian.standard/news/2011/apr/16/the-heart-and-the-fist-works-well/'
QUERY_STRING
''
REMOTE_ADDR
'24.21.64.5'
REMOTE_PORT
'46824'
REQUEST_METHOD
'GET'
REQUEST_URI
'/news/2011/apr/16/the-heart-and-the-fist-works-well/'
SCRIPT_FILENAME
'/etc/apache2/wsgi/hosted.clients.columbian.standard'
SCRIPT_NAME
u''
SCRIPT_URI
'http://www.columbian.com/news/2011/apr/16/the-heart-and-the-fist-works-well/'
SCRIPT_URL
'/news/2011/apr/16/the-heart-and-the-fist-works-well/'
SERVER_ADDR
'10.0.0.5'
SERVER_ADMIN
'[email protected]'
SERVER_NAME
'www.columbian.com'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
''
SERVER_SOFTWARE
'Apache'
mod_wsgi.application_group
'www.columbian.com|'
mod_wsgi.callable_object
'application'
mod_wsgi.listener_host
'10.0.0.5'
mod_wsgi.listener_port
'8215'
mod_wsgi.process_group
'hosted.clients.columbian.standard'
mod_wsgi.reload_mechanism
'1'
mod_wsgi.script_reloading
'1'
wsgi.errors
<mod_wsgi.Log object at 0x4c248d0>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0x56db378>
wsgi.input
<mod_wsgi.Input object at 0x4cd50b0>
wsgi.multiprocess
True
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module hosted.clients.columbian.standard
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACCOUNT_ACTIVATION_DAYS
7
ADMINS
(('Cody Soyland', '[email protected]'), ('Ellington Support', '[email protected]'), ('webmaster', '[email protected]'))
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'http://columbian.media.clients.ellingtoncms.com/static/django_admin/'
ALLOWED_INCLUDE_ROOTS
('/home/static/columbian.media.clients.ellingtoncms.com/media/include',)
ANONYMITY_FROM_EMAIL
{1: '[email protected]'}
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend', 'socialregistration.auth.FacebookAuth', 'socialregistration.auth.OpenIDAuth', 'socialregistration.auth.TwitterAuth')
AUTH_PROFILE_MODULE
'userprofiles.userprofile'
AUTH_SESSION_COOKIE
'rizzo'
BANNED_EMAIL_DOMAINS
['mailinator.com', 'dodgeit.com', 'spamgourmet.com', 'mytrashmail.com']
BANNED_IPS
('204.94.104.99', '66.142.59.23', '220.196.165.142', '64.65.191.117', '24.124.72.20', '170.135.241.46', '198.74.20.74', '198.74.20.75', '66.142.32.50', '24.255.208.243', '24.124.63.170', '160.149.207.65', '24.124.89.55', '70.243.237.12', '69.154.22.191', '75.39.129.109')
BITLY_API_KEY
'R_f5013f26f05d16f3d7e26904c03022b4'
BITLY_API_USER
'crand275'
BLOG_INDEX_ENTRY_LIMIT
20
BROKER_HOST
'busby'
BROKER_PASSWORD
'********************'
BROKER_PORT
5672
BROKER_USER
'celery'
BROKER_VHOST
'10.0.0.50:columbian:1'
CACHE_BACKEND
'memcached://10.0.0.15:11211/'
CACHE_KEY_PREFIX
'ho-columbian'
CACHE_MIDDLEWARE_ANONYMOUS_ONLY
True
CACHE_MIDDLEWARE_KEY_PREFIX
'ho-columbian-mid'
CACHE_MIDDLEWARE_SECONDS
60
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_APP
'ellington.comments'
COMMENTS_BANNED_USERS_GROUP
1
COMMENTS_BLOCK_MESSAGES_GROUP
31
COMMENTS_FIRST_FEW
10
COMMENTS_HIDE_REMOVED
False
COMMENTS_MODERATORS_GROUP
2
COMMENTS_SKETCHY_USERS_GROUP
3
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_NAME
'csrftoken'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
DATABASES
{'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': '10.0.0.50', 'NAME': 'columbian', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Los_Angeles', 'USER': 'apache'}}
DATABASE_ENGINE
''
DATABASE_HOST
'10.0.0.50'
DATABASE_NAME
''
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
'5432'
DATABASE_ROUTERS
[]
DATABASE_USER
'apache'
DATETIME_FORMAT
'F j, Y P'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT
'F 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
False
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_COMMENT_STATUS
4
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_DECODING_ERROR_HANDLING
'strict'
DEFAULT_ENCODING_ERROR_HANDLING
'strict'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'[email protected]'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_LATITUDE
'38.973086'
DEFAULT_LONGITUDE
'-95.235827'
DEFAULT_SITE_SETTING
'desktop'
DEFAULT_TABLESPACE
''
DEFAULT_TUMBLE_MODELS
()
DEFAULT_VIDEO_HEIGHT
240
DEFAULT_VIDEO_WIDTH
300
DESKTOP_SITE_SETTING
'desktop'
DISALLOWED_USER_AGENTS
(<_sre.SRE_Pattern object at 0xbf4100>, <_sre.SRE_Pattern object at 0x9b6a28>, <_sre.SRE_Pattern object at 0x940e30>, <_sre.SRE_Pattern object at 0xbf41d0>, <_sre.SRE_Pattern object at 0xc4b120>)
ELLINGTON_APPS
['ellington.accounts', 'ellington.alerts', 'ellington.anonymity', 'ellington.answers', 'ellington.categories', 'ellington.chats', 'ellington.comments', 'ellington.contests', 'ellington.core', 'ellington.drinkspecials', 'ellington.dynamicforms', 'ellington.events', 'ellington.externalfeeds', 'ellington.externallinks', 'ellington.externalprofiles', 'ellington.features', 'ellington.flatpages', 'ellington.forums', 'ellington.fragments', 'ellington.linklists', 'ellington.mailform', 'ellington.mailfriend', 'ellington.manonthestreet', 'ellington.maps', 'ellington.media', 'ellington.metadata', 'ellington.movies', 'ellington.multimedia', 'ellington.music', 'ellington.news', 'ellington.nitf', 'ellington.persistentsearch', 'ellington.places', 'ellington.playlists', 'ellington.podcasts', 'ellington.polls', 'ellington.pr', 'ellington.publichistory', 'ellington.questionnaires', 'ellington.quizzes', 'ellington.q_and_a', 'ellington.ratings', 'ellington.recipes', 'ellington.relatedlinks', 'ellington.reports', 'ellington.restaurants', 'ellington.restaurantspecials', 'ellington.reviews', 'ellington.search', 'ellington.sectionfronts', 'ellington.sms', 'ellington.social', 'ellington.staff', 'ellington.throttle', 'ellington.tumble', 'ellington.weather', 'ellington.weblogs', 'ellington.widgets', 'ellington.media.photogalleries', 'ellington.news.births', 'ellington.news.society']
ELLINGTON_BASE_MODEL_ADMIN_CLASS
'ellington.core.admin.options.EllingtonDefaultModelAdmin'
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SERVER_RESPECTS_BCC
False
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
EVENT_EMAILS
[]
EXCLUDED_APPS
('clients', 'internal', 'legacy', 'marketplace', 'realestate', 'sexoffenders', 'test')
EXIFTOOL_PATH
'/usr/bin/exiftool'
FACEBOOK_API_KEY
'da74aaf63cf0711e202909e9e1de647d'
FACEBOOK_SECRET_KEY
'********************'
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
GOOGLE_MAPS_API_KEY
{'columbian.com': 'ABQIAAAAshMSFhSR5VuDxIWPyNSbehSLBSQwFrvaxXC648pqb48R1DlZrhTOANiW4tlQ0U-gz2_f0NY4dEOw1w', 'ellingtoncms.com': 'ABQIAAAA8Xgel7HZx7p5O-5UfZBMIxStQXbqYGIQYSMUcKPTq99cWSVvoBRxn5_UldP_W23fm_OHZIwho2ZmHQ'}
HAYSTACK_BATCH_SIZE
500
HAYSTACK_INCLUDE_SPELLING
True
HAYSTACK_SEARCH_ENGINE
'solr'
HAYSTACK_SITECONF
'hosted.clients.default.suite_search_sites'
HAYSTACK_SOLR_TIMEOUT
300
HAYSTACK_SOLR_URL
'http://10.0.0.75:9000/solr/columbian'
HIERARCHY_SLUGS
['news']
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.auth', 'django.contrib.comments', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.gis', 'django.contrib.humanize', 'django.contrib.markup', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.sitemaps', 'django.contrib.sites', 'django.contrib.webdesign', 'haystack', 'registration', 'socialregistration', 'south', 'typogrify', 'oembed', 'djcelery', 'reversion', 'threadedcomments', 'urlr', 'ellington.accounts', 'ellington.alerts', 'ellington.anonymity', 'ellington.answers', 'ellington.categories', 'ellington.chats', 'ellington.comments', 'ellington.contests', 'ellington.core', 'ellington.drinkspecials', 'ellington.dynamicforms', 'ellington.events', 'ellington.externalfeeds', 'ellington.externallinks', 'ellington.externalprofiles', 'ellington.features', 'ellington.flatpages', 'ellington.forums', 'ellington.fragments', 'ellington.linklists', 'ellington.mailform', 'ellington.mailfriend', 'ellington.manonthestreet', 'ellington.maps', 'ellington.media', 'ellington.metadata', 'ellington.movies', 'ellington.multimedia', 'ellington.music', 'ellington.news', 'ellington.nitf', 'ellington.persistentsearch', 'ellington.places', 'ellington.playlists', 'ellington.podcasts', 'ellington.polls', 'ellington.pr', 'ellington.publichistory', 'ellington.questionnaires', 'ellington.quizzes', 'ellington.q_and_a', 'ellington.ratings', 'ellington.recipes', 'ellington.relatedlinks', 'ellington.reports', 'ellington.restaurants', 'ellington.restaurantspecials', 'ellington.reviews', 'ellington.search', 'ellington.sectionfronts', 'ellington.sms', 'ellington.social', 'ellington.staff', 'ellington.throttle', 'ellington.tumble', 'ellington.weather', 'ellington.weblogs', 'ellington.widgets', 'ellington.media.photogalleries', 'ellington.news.births', 'djcelery', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.auth', 'django.contrib.comments', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.flatpages', 'django.contrib.gis', 'django.contrib.humanize', 'django.contrib.markup', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.webdesign', 'ellington.accounts', 'ellington.categories', 'ellington.externalprofiles', 'ellington.metadata', 'ellington.sms', 'ellington.core', 'ellington.ratings', 'ellington.reviews', 'ellington.search', 'ellington.test', 'south', 'marketplace', 'marketplace.ads', 'marketplace.business', 'marketplace.mp_events', 'marketplace.markets', 'marketplace.mp_news', 'marketplace.mp_photos', 'marketplace.products', 'marketplace.professionals', 'marketplace.profiles', 'marketplace.reminders', 'marketplace.mp_search', 'marketplace.videos', 'dbsettings', 'registration', 'haystack', 'paypal.standard.ipn', 'oembed', 'reversion', 'urlr', 'socialregistration', 'djcelery', 'hosted.clients.columbian.userprofiles']
INTERNAL_IPS
('24.124.4.220', '24.124.1.4', '127.0.0.1')
IS_CMS
True
LANGUAGES
(('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian 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'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOCAL_CITY_IDS
(1,)
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_URL
'/accounts/logout/'
MAIN_CITY_IDS
(1,)
MANAGERS
(('Cody Soyland', '[email protected]'), ('Ellington Support', '[email protected]'), ('webmaster', '[email protected]'))
MEDIA_ROOT
'/home/static/columbian.media.clients.ellingtoncms.com/media/'
MEDIA_URL
'http://columbian.media.clients.ellingtoncms.com'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES
('ellington.core.middleware.PerRequestSettingsMiddleware', 'ellington.core.middleware.mobile.MobileDetectionMiddleware', 'ellington.core.middleware.mobile.MobileRequestMiddleware', 'ellington.core.middleware.UpdateCacheMiddleware', 'ellington.core.middleware.XForwardedForMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'ellington.core.middleware.DisableCsrfMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'ellington.core.middleware.XViewMiddleware', 'socialregistration.middleware.FacebookMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'ellington.core.middleware.FetchFromCacheMiddleware', 'reversion.middleware.RevisionMiddleware', 'ellington.core.middleware.UserBasedExceptionMiddleware')
MOBILE_OPT_IN
False
MOBILE_SITE_SETTING
'mobile'
MOGRIFY_KEY
'Your daughter and the Moor are now making the beast with two backs.'
MONTH_DAY_FORMAT
'F j'
MOVIES_ZIP_CODE
98661
NEWS_HIERARCHY_SLUG
'news'
NITF_IMPORT_DEFAULT_INLINE_ALIGNMENT
'right'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PHOTOGRAPH_TYPE_SLUG
'photographs'
PHOTO_CROPPING
{}
PHOTO_IMPORTER_FS_PATH
'/home/static/columbian.media.clients.ellingtoncms.com/photo_upload'
PHOTO_IMPORTER_LOG_PATH
'/home/static/columbian.media.clients.ellingtoncms.com/photo_upload/logs'
PHOTO_IMPORTER_RETRIEVAL
'ellington.media.photoimporter.retrieval.FetchFS'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
QUEUE_BACKEND
'redisd'
QUEUE_REDIS_CONNECTION
'10.0.0.75:6379'
QUEUE_REDIS_DB
'columbian'
RECAPTCHA_ENABLE_COMMENTS
False
RECAPTCHA_ENABLE_REGISTRATION
False
RECAPTCHA_PRIVATE_KEY
None
RECAPTCHA_PUBLIC_API_KEY
None
REDIS_DB
'1'
REDIS_HOST
'localhost'
REDIS_PORT
6379
REGISTRATION_REQUIRES_PROFILE
False
REVERSION_DB
'reversion'
REVERSION_USE_MULTI_DB
False
ROOT_URLCONF
'hosted.clients.default.cms_urls'
SEARCH_QUEUE_LENGTH
1
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'[email protected]'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
'.columbian.com'
SESSION_COOKIE_NAME
'ellington_sessionid'
SESSION_COOKIE_PATH
'/'
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
SETTINGS_MODULE
'hosted.clients.columbian.standard'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
SKIP_NETWORK_TESTS
False
STAFF_EMAIL_LIST
[]
STATIC_MEDIA_URL
'http://columbian.media.clients.ellingtoncms.com/static/'
TABLET_SITE_SETTING
'tablet'
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.request', 'django.contrib.messages.context_processors.messages', 'ellington.core.context_processors.site', 'ellington.core.context_processors.media_urls', 'ellington.core.context_processors.apikeys', 'ellington.core.context_processors.now', 'ellington.core.context_processors.primary_context_variable', 'ellington.core.context_processors.mobile_request')
TEMPLATE_DEBUG
False
TEMPLATE_DIRS
('/home/static/columbian.media.clients.ellingtoncms.com/templates/columbian/', '/home/static/columbian.media.clients.ellingtoncms.com/templates/common/', '/home/static/columbian.media.clients.ellingtoncms.com/templates/ellington_default/')
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
TIME_ZONE
'America/Los_Angeles'
TRANSACTIONS_MANAGED
False
TWITTER_ACCESS_TOKEN_URL
'https://api.twitter.com/oauth/access_token'
TWITTER_AUTHORIZATION_URL
'https://api.twitter.com/oauth/authenticate'
TWITTER_CONSUMER_KEY
'VXrPgNiAQTsJMj9RogXNXw'
TWITTER_CONSUMER_SECRET_KEY
'********************'
TWITTER_REQUEST_TOKEN_URL
'https://api.twitter.com/oauth/request_token'
URL_VALIDATOR_USER_AGENT
'ellingtoncms.com'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
WEATHER_CACHE_TIMEOUT
60
WEATHER_IGNORE_TYPES
('short-term-forecast',)
WEATHER_LOCAL_ZONES
('020087',)
WEATHER_METARS
(('kvuo', '98661'),)
WEBLOGS_ALLOW_HTML_ENTRIES
True
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 500 page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment