diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b4c028..845f72b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/notifications/urls.py b/notifications/urls.py index 5d8965d..362e5f4 100644 --- a/notifications/urls.py +++ b/notifications/urls.py @@ -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/)/", views.mark_as_read, name="mark_as_read"),