#17489: Errors low in the stack provide unhelpful text. -------------------------------+------------------------- Reporter: issackelly | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: 1.4-alpha-1 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------- I had an error in my cache configuration for a full-site cache setup.
Here are the relavent settings: MIDDLEWARE_CLASSES = [ 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'pagination.middleware.PaginationMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', ] CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'unique-snowflake' } } CACHE_MIDDLEWARE_ALIAS = 'somethingelse' CACHE_MIDDLEWARE_SECONDS = 90 * 60 CACHE_MIDDLEWARE_KEY_PREFIX = 'issackelly_com_mw' With these settings I got a traceback in the runserver console, but the only thing that was displayed in the browser was the following: """A server error occurred. Please contact the administrator.""" -- Ticket URL: <https://code.djangoproject.com/ticket/17489> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.