When I post a comment with the django's comment framework, I have a hidden next
value set in hopes that once the comment is posted, it will bring the user to view their own comment. The next
field renders like this:
<input type="hidden" name="next" value="http://example.com/item/1#c23" />
However, when a comment is posted, django is adding a ?c=23
to the end of the url so the fully formed url that the user is redirected to becomes:
http://example.com/item/1#c23?c=23
In Firefox and Safari (brief testing) this prevents the page from moving down to the correct id=23
and just shows the very top of the page (I want it to show the just posted comment). Removing the ?c=23
fixes the problem (by hand) but I don't know how to tell Django to stop adding it.
Ideas?