urls.py 376 B

1234567891011
  1. from django.urls import path
  2. from .views.grouplistview import GroupListView
  3. from .views.groupuserview import GroupUserView
  4. from .views.groupview import GroupView, GroupEdit
  5. urlpatterns = [
  6. path('', GroupListView.as_view()),
  7. path('user', GroupUserView.as_view()),
  8. path('<str:group_id>', GroupView.as_view()),
  9. path('<str:group_id>/edit', GroupEdit.as_view())
  10. ]