Note to myself...

2012-01-23 18:37:00 by Saz

Do not use reverse() in a class based view. It throws an exception, because not all urlpatterns are yet loaded. Instead do it in get_success_url method. And if Django 1.4 is released, use reverse_lazy().

Helpful link: https://stackoverflow.com/questions/6482573/the-included-urlconf-manager-urls-doesnt-have-any-patterns-in-it


Comments

Fork me on GitHub