#6788 closed (invalid)
django.contrib.auth.forms.PasswordChangeForm throws an AttributeError
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
2008-03-16 07:29:01: (mod_fastcgi.c.2592) FastCGI-stderr: Traceback (most recent call last):
File "/var/lib/python-support/python2.5/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/var/lib/python-support/python2.5/flup/server/fcgi_base.py", line 1116, in handler
result = self.application(environ, start_response)
File "/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 209, in call
response = middleware_method(request, response)
File "/usr/lib/python2.5/site-packages/django/middleware/common.py", line 90, in process_response
if response.status_code == 404:
AttributeError: 'PasswordChangeForm' object has no attribute 'status_code'
-- on lighttpd + fcgi + django from svn, revision 7250
It looks like you're trying to return the form as if it's an HTTP response, which it isn't. Head on over to the django-users mailing list and explain what you're trying to do, including specific samples of the actual code you're using, and please don't reopen this ticket unless someone instructs you to.