extensions-website/teams/urls.py
Oleg Komarov b4aac8b791 Intitial teams support (#147)
This PR adds new features described in #106:

- new `Assign Team` field in extension edit form that can be set only by extension maintainers (original author)
- it is now possible to leave a team
- all team members can edit/upload new versions for team extensions (except for changing the team assignment)
- team extensions are listed in My Extensions for all team members

Co-authored-by: Márton Lente <marton@blender.org>
Reviewed-on: #147
Reviewed-by: Anna Sirota <railla@noreply.localhost>
2024-05-23 19:43:53 +02:00

14 lines
295 B
Python

from django.urls import path
import teams.views
app_name = 'teams'
urlpatterns = [
path('settings/teams/', teams.views.TeamsView.as_view(), name='list'),
path(
'settings/leave-team/<slug:slug>/',
teams.views.LeaveTeamView.as_view(),
name='leave-team',
),
]