2014-07-30 18:19:26 +00:00
|
|
|
# flake8: noqa
|
2012-07-28 22:30:00 +00:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = patterns("symposion.teams.views",
|
2012-08-02 23:09:44 +00:00
|
|
|
# team specific
|
2012-08-02 02:49:27 +00: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-02 02:59:41 +00:00
|
|
|
url(r"^(?P<slug>[\w\-]+)/apply/$", "team_apply", name="team_apply"),
|
2014-07-30 18:19:26 +00:00
|
|
|
|
2012-08-02 23:09:44 +00:00
|
|
|
# membership specific
|
2012-08-02 17:17:16 +00:00
|
|
|
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 23:09:44 +00: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 22:30:00 +00:00
|
|
|
)
|