twoscoops / two-scoops-of-django-1.6

Tracking thoughts and feature requests for Two Scoops of Django 1.6
51 stars 7 forks source link

Page 86, Chapter 7, Example 7-4 #66

Closed ryancurrah closed 9 years ago

ryancurrah commented 10 years ago

On page 86 the continuation of example 7-4 refers to the wrong app-level url config in reverse.

def get_success_url(self):
    return reverse("tastes:detail", kwargs={"pk": self.object.pk})

Should be:

def get_success_url(self):
    return reverse("tastings:detail", kwargs={"pk": self.object.pk})
pydanny commented 9 years ago

:ship: