Skip to content

Commit

Permalink
Merge pull request #1698 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
optim:url pattern changed
  • Loading branch information
adnankattekaden authored Dec 2, 2023
2 parents 70c7a8b + 5e5f61f commit 943c71c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions api/dashboard/lc/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

urlpatterns = [
path('user-list/', dash_lc_view.UserLearningCircleListApi.as_view(), name='main'), # list all lc's of user
# URL issue
path('list-all/<str:circle_code>/', dash_lc_view.TotalLearningCircleListApi.as_view(), name='list-all-search'),
path('<str:circle_id>/details/', dash_lc_view.LearningCircleDetailsApi.as_view(), name='lc-detailed'), # individual ls details
# dashboard search listing
path('<str:circle_id>/schedule-meet/', dash_lc_view.ScheduleMeetAPI.as_view(), name='schedule-meet'),
Expand All @@ -22,8 +20,8 @@

# TODO: new api for note updation
# path('<str:circle_id>/note/edit/', dash_lc_view.LearningCircleLeadTransfer.as_view(), name='edit-note'),

path('<str:circle_id>/<str:member_id>/', dash_lc_view.LearningCircleDetailsApi.as_view()), # user accept or reject, also for removal
path('<str:circle_id>/user-accept-reject/<str:member_id>/', dash_lc_view.LearningCircleDetailsApi.as_view()), # user accept or reject, also for removal
path('list-all/<str:circle_code>/', dash_lc_view.TotalLearningCircleListApi.as_view(), name='list-all-search'),
path('list/', dash_lc_view.LearningCircleMainApi.as_view(), name='list'), # public page listing
path('list-all/', dash_lc_view.TotalLearningCircleListApi.as_view(), name='list-all'), # dashboard search listing

Expand Down

0 comments on commit 943c71c

Please sign in to comment.