djangoldp-notification/djangoldp_notification/urls.py
2019-02-28 08:21:03 +07:00

11 lines
413 B
Python

"""djangoldp_notifications URL Configuration"""
from django.conf.urls import url
from .models import Notification, Subscription
from djangoldp.views import LDPViewSet
#from djangoldp.permissions import InboxPermissions
urlpatterns = [
url(r'^notifications/', LDPViewSet.urls(model=Notification)), #permission_classes=(InboxPermissions,))),
url(r'^subscriptions/', LDPViewSet.urls(model=Subscription)),
]