I bought and am Reading the Book Two Scoops of Django:Best Practices for Django 1.5 and in it has a example of Class based views. After this implementation I get the error afte
You can override your class-based view's get_success_url function. Like this:
get_success_url
def get_success_url(self): return reverse("NonProfit", kwargs={"slug": self.object.slug})