Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6788 closed (invalid)

django.contrib.auth.forms.PasswordChangeForm throws an AttributeError

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: master
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


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

protocolStatus, appStatus = self.server.handler(self)

File "/var/lib/python-support/python2.5/flup/server/", line 1116, in handler

result = self.application(environ, start_response)

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

response = middleware_method(request, response)

File "/usr/lib/python2.5/site-packages/django/middleware/", 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

Change History (2)

comment:1 Changed 11 years ago by James Bennett

Resolution: invalid
Status: newclosed

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.

comment:2 Changed 11 years ago by anonymous

oh.. sorry.. that's my mistake, looks like I need to sleep :)

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