Files @ 8afa17b1c172
Branch filter:

Location: symposion_app/symposion/sponsorship/urls.py

Steve Holden
Update symposion/templates/sponsorship/_sponsor_link.html

Improved reference format and used pk rather than id
- thanks to trbs for the suggestion
from django.conf.urls.defaults import patterns, url
from django.views.generic.simple import direct_to_template


urlpatterns = patterns("symposion.sponsorship.views",
    url(r"^$", direct_to_template, {"template": "sponsorship/list.html"}, name="sponsor_list"),
    url(r"^apply/$", "sponsor_apply", name="sponsor_apply"),
    url(r"^add/$", "sponsor_add", name="sponsor_add"),
    url(r"^(?P<pk>\d+)/$", "sponsor_detail", name="sponsor_detail"),
)