Oops! I guess I hadn't tried it as much as I thought!
Unfortunately #2 there causes a problem when they aren't overridden (a
TypeError if '%s' is not included in the post_url).
I guess a possible fix is to do a find, e.g.:
if post_url.find('%s') >= 0:
   post_url = post_url % pk_value
return HttpResponseRedirect(post_url)
but that is not as clean as I would like.
Anyway it points out that the post_url_continue value may run into the
same problem if it is overridden with a %s argument, however it is
quite unlikely anybody would do that.

 -rob

Reply via email to