Source

cmsplugin-poll / cmsplugin_poll / urls.py

from django.conf.urls.defaults import patterns

urlpatterns = patterns('cmsplugin_poll.views',
    (r'^$', 'index'),
    (r'^(?P<poll_id>\d+)/$', 'detail'),
    (r'^(?P<poll_id>\d+)/results/$', 'results'),
    (r'^(?P<poll_id>\d+)/results/json/$', 'results_json'),
    (r'^(?P<poll_id>\d+)/vote/$', 'vote'),
    (r'^create/$', 'create'),
)