from django.urls import path

from . import views

app_name = "communications"

urlpatterns = [
    path("notifications/", views.notification_list, name="notifications"),
    path("notifications/<uuid:notification_id>/lue/", views.notification_read, name="read"),
    path("notifications/tout-lire/", views.notification_read_all, name="read_all"),
    path("annonces/", views.announcement_list, name="announcements"),
    path("annonces/nouvelle/", views.announcement_create, name="announcement_create"),
]
