symposion_app/symposion/sponsorship/urls.py

11 lines
430 B
Python
Raw Normal View History

2014-01-13 21:39:20 +00:00
from django.conf.urls import patterns, url
2014-01-13 21:40:27 +00:00
from django.views.generic import TemplateView
urlpatterns = patterns("symposion.sponsorship.views",
2014-01-13 21:40:27 +00:00
url(r"^$", TemplateView.as_view(template_name="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"),
)