mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-05-19 10:01:10 +00:00
Added /all/ for the path to all notifications
This commit is contained in:
parent
f7c0353b3d
commit
645611c1e1
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- Converted the `level` field from a `CharField` to an `IntegerField`
|
||||
- Extracted and improved the sample code
|
||||
- Fixed variable types on JS code
|
||||
- Added `/all/` for the path to all notifications
|
||||
|
||||
## 1.8.0
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ from . import views
|
|||
|
||||
app_name = "notifications"
|
||||
urlpatterns = [
|
||||
path("", views.AllNotificationsList.as_view(), name="all"),
|
||||
path("all/", views.AllNotificationsList.as_view(), name="all"),
|
||||
path("unread/", views.UnreadNotificationsList.as_view(), name="unread"),
|
||||
path("mark-all-as-read/", views.mark_all_as_read, name="mark_all_as_read"),
|
||||
path("mark-as-read/<int:slug>)/", views.mark_as_read, name="mark_as_read"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue