#2393: AttributeError in django/middleware/cache.py
----------------------------+-----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Core framework | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Changeset #3395 introduced a bug that raises the following exception
{{{Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 272, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 615, in __call__
return self.application(environ, start_response)
File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py",
line 141, in __call__
self.load_middleware()
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py",
line 38, in load_middleware
mw_instance = mw_class()
File "/usr/lib/python2.4/site-packages/django/middleware/cache.py", line
39, in __init__
self.cache_anonymous_only =
settings.get('CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)
File "/usr/lib/python2.4/site-packages/django/conf/__init__.py", line
32, in __getattr__
return getattr(self._target, name)
AttributeError: 'Settings' object has no attribute 'get'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/2393>
Django <http://code.djangoproject.org/>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---