File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from django .urls import path , re_path , include
22
3+ from news .views import NewsList , NewsDetail , NewsDetailSetViewed , NewsDetailSetLiked
34from users .views import (
45 AchievementDetail ,
56 AchievementList ,
3536 path ("users/<int:pk>/" , UserDetail .as_view ()),
3637 path ("users/<int:pk>/set_onboarding_stage/" , SetUserOnboardingStage .as_view ()),
3738 path ("users/<int:pk>/force_verify/" , ForceVerifyView .as_view ()),
39+ path ("users/<int:user_pk>/news/" , NewsList .as_view ()),
40+ path ("users/<int:user_pk>/news/<int:pk>/" , NewsDetail .as_view ()),
41+ path ("users/<int:user_pk>/news/<int:pk>/set_viewed/" , NewsDetailSetViewed .as_view ()),
42+ path ("users/<int:user_pk>/news/<int:pk>/set_liked/" , NewsDetailSetLiked .as_view ()),
3843 path ("users/current/" , CurrentUser .as_view ()),
3944 # todo: change password view
4045 path ("users/current/programs/" , CurrentUserPrograms .as_view ()),
You can’t perform that action at this time.
0 commit comments