django-notifications/notifications/models.py

11 lines
293 B
Python
Raw Normal View History

from swapper import swappable_setting
2018-05-30 05:18:33 +00:00
from .base.models import AbstractNotification, notify_handler # noqa
2015-04-28 12:10:49 +00:00
2018-05-31 03:18:45 +00:00
class Notification(AbstractNotification):
2018-05-31 03:18:45 +00:00
class Meta(AbstractNotification.Meta):
abstract = False
swappable = swappable_setting('notifications', 'Notification')