symposion_app/symposion/teams/urls.py

17 lines
710 B
Python
Raw Normal View History

2014-01-13 16:39:20 -05:00
from django.conf.urls import patterns, url
2012-07-28 18:30:00 -04:00
urlpatterns = patterns("symposion.teams.views",
2012-08-02 19:09:44 -04:00
# team specific
2012-08-01 22:49:27 -04:00
url(r"^(?P<slug>[\w\-]+)/$", "team_detail", name="team_detail"),
url(r"^(?P<slug>[\w\-]+)/join/$", "team_join", name="team_join"),
url(r"^(?P<slug>[\w\-]+)/leave/$", "team_leave", name="team_leave"),
2012-08-01 22:59:41 -04:00
url(r"^(?P<slug>[\w\-]+)/apply/$", "team_apply", name="team_apply"),
2012-08-02 19:09:44 -04:00
# membership specific
url(r"^promote/(?P<pk>\d+)/$", "team_promote", name="team_promote"),
url(r"^demote/(?P<pk>\d+)/$", "team_demote", name="team_demote"),
2012-08-02 19:09:44 -04:00
url(r"^accept/(?P<pk>\d+)/$", "team_accept", name="team_accept"),
url(r"^reject/(?P<pk>\d+)/$", "team_reject", name="team_reject"),
2012-07-28 18:30:00 -04:00
)