Files
@ c8218bb9d0ea
Branch filter:
Location: symposion_app/vendor/symposion/teams/urls.py - annotation
c8218bb9d0ea
806 B
text/x-python
Correct variable name to reflect what it's naming
IT's not the container name, it's the image name. Fix the name to be
less confusing.
IT's not the container name, it's the image name. Fix the name to be
less confusing.
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"),
]
|