File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.9.0
4
+
5
+ - Added URLs for actor, target and action_object in the unread notification list API view
6
+
3
7
## 1.8.0
4
8
5
9
- Added support for Django 4.1
Original file line number Diff line number Diff line change @@ -311,6 +311,11 @@ There are two possible API calls that can be made:
311
311
3 notifications and mark them read (remove from list on next
312
312
request).
313
313
314
+ The list outputs ` target_url ` , ` actor_url ` , ` action_object_url ` .
315
+ This URL is generated from standard Django ` Model.get_absolute_url() ` or
316
+ you can override the URL just for notifications by implementing
317
+ ` Model.get_url_for_notifications(notification, request) ` .
318
+
314
319
### How to use:
315
320
316
321
1 . Put ` {% load notifications_tags %} ` in the template before you
You can’t perform that action at this time.
0 commit comments