Skip to content

page_views

django_spire.notification.app.views.page_views

app_notification_list_view

Source code in django_spire/notification/app/views/page_views.py
@login_required()
def app_notification_list_view(request: WSGIRequest) -> TemplateResponse:
    return portal_views.list_view(
        request,
        context_data={'notification_endpoint': reverse('django_spire:notification:app:template:scroll_items')},
        model=AppNotification,
        template='django_spire/notification/app/page/list_page.html'
    )