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
Try to remove the @permalink decorator from your get_absolute_url method. It cannot work together with reverse.
@permalink
get_absolute_url
reverse
Also, the Django documentation states the following:
The permalink decorator is no longer recommended. You should use reverse() in the body of your get_absolute_url method instead.
permalink
reverse()