Mercurial > public > sg101
view gpp/shoutbox/urls.py @ 6:b6263ac72052
Use DRY principle to manage third party javascript libraries. Created script_tags template tags to generate the correct link and script tags for 3rd party libraries. The settings.py file is the only place where the full path name is specified.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 11 Apr 2009 22:50:56 +0000 |
parents | dbd703f7d63a |
children | 777451a98f9d |
line wrap: on
line source
""" Urls for the Shoutbox application. """ from django.conf.urls.defaults import * urlpatterns = patterns('shoutbox.views', url(r'^delete/$', 'delete', name='shoutbox-delete'), url(r'^edit/$', 'edit', name='shoutbox-edit'), url(r'^shout/$', 'shout', name='shoutbox-shout'), url(r'^text/$', 'text', name='shoutbox-text'), url(r'^view/(?P<page>\d+)/$', 'view', name='shoutbox-view'), )