-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1433 from maykinmedia/swr/hackathon-update-berich…
…t-read-status Sync message read statuses
- Loading branch information
Showing
4 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
from django.urls import path | ||
|
||
from open_inwoner.berichten.views.bericht_detail import BerichtDetailView | ||
|
||
from .views import BerichtListView | ||
from .views import BerichtDetailView, BerichtListView, mark_bericht_as_unread | ||
|
||
app_name = "berichten" | ||
|
||
urlpatterns = [ | ||
path("<uuid:object_uuid>/", BerichtDetailView.as_view(), name="detail"), | ||
path( | ||
"<uuid:object_uuid>/mark-unread", | ||
mark_bericht_as_unread, | ||
name="mark-bericht-unread", | ||
), | ||
path("", BerichtListView.as_view(), name="list"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .bericht_detail import BerichtDetailView | ||
from .bericht_detail import BerichtDetailView, mark_bericht_as_unread | ||
from .bericht_list import BerichtListView | ||
|
||
__all__ = ["BerichtDetailView", "BerichtListView"] | ||
__all__ = ["BerichtDetailView", "BerichtListView", "mark_bericht_as_unread"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters