Opened 18 years ago

Closed 18 years ago

#2393 closed defect (duplicate)

[patch] AttributeError in django/middleware/

Reported by: ludo@… Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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/", line 272, in run

self.result = application(self.environ, self.start_response)

File "/usr/lib/python2.4/site-packages/django/core/servers/", line 615, in call

return self.application(environ, start_response)

File "/usr/lib/python2.4/site-packages/django/core/handlers/", line 141, in call


File "/usr/lib/python2.4/site-packages/django/core/handlers/", line 38, in load_middleware

mw_instance = mw_class()

File "/usr/lib/python2.4/site-packages/django/middleware/", line 39, in init

self.cache_anonymous_only = settings.get('CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)

File "/usr/lib/python2.4/site-packages/django/conf/", line 32, in getattr

return getattr(self._target, name)

AttributeError: 'Settings' object has no attribute 'get'

Attachments (1)

cache.diff (788 bytes ) - added by ludo@… 18 years ago.
patch to django/middleware/

Download all attachments as: .zip

Change History (4)

by ludo@…, 18 years ago

Attachment: cache.diff added

patch to django/middleware/

comment:1 by ludo@…, 18 years ago

Summary: AttributeError in django/middleware/[patch] AttributeError in django/middleware/

comment:2 by ludo@…, 18 years ago

Changeset is [3395] ...

comment:3 by Adrian Holovaty, 18 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #2392.

Note: See TracTickets for help on using tickets.
Back to Top