Using the latest from trunk, I get an error when I try to change a
user's password in the admin:
------
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 
614, in __call__
    return self.application(environ, start_response)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 
189, in __call__
    response = self.get_response(request)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 
59, in get_response
    response = middleware_method(request)

  File "/usr/lib/python2.4/site-packages/django/middleware/common.py", line 44, 
in process_request
    raise RuntimeError, "You called this URL via POST, but the URL doesn't end 
in a slash and you have APPEND_SLASH set. Django can't redirect to the slash 
URL while maintaining POST data. Change your form to point to %s%s (note the 
trailing slash), or set APPEND_SLASH=False in your Django settings." % 
(new_url[0], new_url[1])

RuntimeError: You called this URL via POST, but the URL doesn't end in a slash 
and you have APPEND_SLASH set. Django can't redirect to the slash URL while 
maintaining POST data. Change your form to point to 
localhost:8000/admin/auth/user/71/password/BADCODE-BADCODE-FIXTHIS/ (note the 
trailing slash), or set APPEND_SLASH=False in your Django settings.
-----
This should work regardless of the setting for APPEND_SLASH, right?

Todd


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to