notifications (certego_saas.apps.notifications)

admin.py


class certego_saas.apps.notifications.admin.NotificationAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

Django’s ModelAdmin for Notification.

filters.py


class certego_saas.apps.notifications.filters.NotificationFilter(data=None, queryset=None, *, relationship=None, **kwargs)[source]

Bases: rest_framework_filters.filterset.FilterSet

Used in NotificationViewSet.

models.py


class certego_saas.apps.notifications.models.Notification(*args, **kwargs)[source]

Bases: certego_saas.ext.models.TimestampedModel, certego_saas.ext.models.AppSpecificModel

Notification model.

serializers.py


class certego_saas.apps.notifications.serializers.NotificationSerializer(*args, **kwargs)[source]

Bases: rest_framework.serializers.ModelSerializer

views.py


class certego_saas.apps.notifications.views.NotificationViewSet(**kwargs)[source]

Bases: certego_saas.ext.viewsets.ReadOnlyViewSet

filter_class

alias of certego_saas.apps.notifications.filters.NotificationFilter

serializer_class

alias of certego_saas.apps.notifications.serializers.NotificationSerializer