Files
@ f9e36033739f
Branch filter:
Location: symposion_app/symposion/teams/urls.py - annotation
f9e36033739f
806 B
text/x-python
Support Django 1.10 with timezone upgrade
Needed as SubfieldBase is depricated
Needed as SubfieldBase is depricated
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"),
]
|