feat(notifications): add notification list and detail endpoints

This commit introduces new endpoints for managing notifications, including listing and retrieving individual notification details.

**New Features:**
- Added `notification_list` endpoint to retrieve a list of notifications
- Added `notification_detail` endpoint to fetch details of a specific notification by ID

**Enhancements & Refinements:**
- Cleaned up trailing whitespace in `urls.py` and `views.py` files
```
This commit is contained in:
sankalp committed 2025-12-18 21:38:22 +05:45
1 parent 2c01d23b75
commit 96629b26b3
2 files changed
-4

No files matched your search

-2
View File
@@ -7,5 +7,3 @@ urlpatterns = [
path("list/", views.notification_list, name="notification_list"),
path("<int:pk>/detail/", views.notification_detail, name="notification_detail"),
]
-2
View File
@@ -37,5 +37,3 @@ def notification_detail(request, pk):
"notifications/notification_detail.html",
{"notification": notification},
)