django-notifications/notifications/models.py
Federico Capoano d55aae4e3d [models] Added AbstractNotification #202
Implements and closes #102
2019-04-28 14:59:42 -04:00

10 lines
293 B
Python

from swapper import swappable_setting
from .base.models import AbstractNotification, notify_handler # noqa
class Notification(AbstractNotification):
class Meta(AbstractNotification.Meta):
abstract = False
swappable = swappable_setting('notifications', 'Notification')