diff --git a/Step 3 - CMS Plugins.md b/Step 3 - CMS Plugins.md index 3824b68..7534bd6 100644 --- a/Step 3 - CMS Plugins.md +++ b/Step 3 - CMS Plugins.md @@ -80,7 +80,7 @@ The template is located at `polls/templates/polls/plugin.html` and should look s ```html

{{ instance.poll.question }}

-
+ {% csrf_token %} {% for choice in instance.poll.choice_set.all %} @@ -101,7 +101,7 @@ INSTALLED_APPS += ('polls') Secondly, add the following line to the project's `urls.py`: ```python -url(r'^polls/', include('polls.urls')), +url(r'^polls/', include('polls.urls', namespace='polls')), ``` > **Note**: CMS Patterns (`url(r'^', include('cms.urls')),`) must always be last entry in the urls.py!