Diving into Django’s class-based forms and ran into a common problem with reverse(). As documented here the form takes three parameters – template name, form_class and success_url.
My first instinct was to do the following:
This blows up rather nicely. The solution is rather simple – reverse_lazy():