1👍
Notice that it is attempting to use choice
in the url, instead of choices
, as you have it set to do in your urls.py
.
Try correcting your syntax and see if it works:
url(r'^generator/$', SelectView.as_view(),
name="select")),
url(r'^choices/(?P<types>\w+)/$', ChoicesView.as_view(),
name="choice")),
Source:stackexchange.com