divio/django-cms — Issue #1172: Bug in code example for writing own plugins
Author: rbreu
Created: 2012-02-16 10:01:13+00:00
State: open

The template example code here http://docs.django-cms.org/en/2.2/extending_cms/extending_examples.html#the-template has a bug:

{% url polls.views.vote poll.id %}

should be

{% url polls.views.vote instance.poll.id %}

Otherwise you get a NoReverseMatch error since poll.id is empty.