Files
@ 9e498544c220
Branch filter:
Location: symposion_app/symposion/teams/urls.py - annotation
9e498544c220
806 B
text/x-python
Merge pull request #40 from lca2017/chrisjrn/20160813
Makes the random proposal button take you to under reviewed proposals.
Makes the random proposal button take you to under reviewed proposals.
7b77b9aa2948 86a346f62804 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7fe481ee98c5 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7596729ec10f 7fe481ee98c5 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 7b77b9aa2948 | from django.conf.urls import url
from .views import (
team_detail,
team_join,
team_leave,
team_apply,
team_promote,
team_demote,
team_accept,
team_reject
)
urlpatterns = [
# team specific
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"),
url(r"^(?P<slug>[\w\-]+)/apply/$", team_apply, name="team_apply"),
# membership specific
url(r"^promote/(?P<pk>\d+)/$", team_promote, name="team_promote"),
url(r"^demote/(?P<pk>\d+)/$", team_demote, name="team_demote"),
url(r"^accept/(?P<pk>\d+)/$", team_accept, name="team_accept"),
url(r"^reject/(?P<pk>\d+)/$", team_reject, name="team_reject"),
]
|