All pastes #261052 Raw Edit

Casanova

public text v1 · immutable
#261052 ·published 2006-11-28 21:39 UTC
rendered paste body
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 611, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 148, in __call__
    response = self.get_response(request.path, 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 43, 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 127.0.0.1:8000/opc/evaluator/submitattempt/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
[29/Nov/2006 03:08:17] "POST /opc/evaluator/submitattempt HTTP/1.1" 500 1394