Mercurial > public > sg101
view gpp/polls/urls.py @ 124:9c18250972d5
Refactored the markdown/smiley logic. Created classes for Markdown and Smilify. No longer call render_to_string() in models.py for various models.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Nov 2009 04:32:32 +0000 |
parents | dbd703f7d63a |
children | 8acf5be27f18 |
line wrap: on
line source
"""urls for the polls application""" from django.conf.urls.defaults import * urlpatterns = patterns('polls.views', url(r'^$', 'poll_index', name='polls-main'), (r'^(?P<poll_id>\d+)/$', 'poll_detail'), (r'^(?P<poll_id>\d+)/results/$', 'poll_results'), (r'^(?P<poll_id>\d+)/vote/$', 'poll_vote'), )