@@ -9,61 +9,61 @@ def get_api_urls(api_views=None):
99 if not api_views :
1010 api_views = views
1111 return [
12- path ("notification/" , views .notifications_list , name = "notifications_list" ),
12+ path ("notification/" , api_views .notifications_list , name = "notifications_list" ),
1313 path (
1414 "notification/read/" ,
15- views .notifications_read_all ,
15+ api_views .notifications_read_all ,
1616 name = "notifications_read_all" ,
1717 ),
1818 path (
1919 "notification/<uuid:pk>/" ,
20- views .notification_detail ,
20+ api_views .notification_detail ,
2121 name = "notification_detail" ,
2222 ),
2323 path (
2424 "notification/<uuid:pk>/redirect/" ,
25- views .notification_read_redirect ,
25+ api_views .notification_read_redirect ,
2626 name = "notification_read_redirect" ,
2727 ),
2828 path (
2929 "user/<uuid:user_id>/user-setting/" ,
30- views .notification_setting_list ,
30+ api_views .notification_setting_list ,
3131 name = "user_notification_setting_list" ,
3232 ),
3333 path (
3434 "user/<uuid:user_id>/user-setting/<uuid:pk>/" ,
35- views .notification_setting ,
35+ api_views .notification_setting ,
3636 name = "user_notification_setting" ,
3737 ),
3838 path (
3939 "user/<uuid:user_id>/organization/<uuid:organization_id>/setting/" ,
40- views .user_org_notification_setting ,
40+ api_views .user_org_notification_setting ,
4141 name = "user_org_notification_setting" ,
4242 ),
4343 path (
4444 "notification/ignore/" ,
45- views .ignore_object_notification_list ,
45+ api_views .ignore_object_notification_list ,
4646 name = "ignore_object_notification_list" ,
4747 ),
4848 path (
4949 "notification/ignore/<str:app_label>/<str:model_name>/<uuid:object_id>/" ,
50- views .ignore_object_notification ,
50+ api_views .ignore_object_notification ,
5151 name = "ignore_object_notification" ,
5252 ),
5353 path (
5454 "organization/<uuid:organization_id>/setting/" ,
55- views .org_notification_setting ,
55+ api_views .org_notification_setting ,
5656 name = "org_notification_setting" ,
5757 ),
5858 # DEPRECATED
5959 path (
6060 "user/user-setting/" ,
61- views .notification_setting_list ,
61+ api_views .notification_setting_list ,
6262 name = "notification_setting_list" ,
6363 ),
6464 path (
6565 "user/user-setting/<uuid:pk>/" ,
66- views .notification_setting ,
66+ api_views .notification_setting ,
6767 name = "notification_setting" ,
6868 ),
6969 ]
0 commit comments