* feat: added enrollment API for notification config * feat: added apps.py in notifications * feat: added waffle flag for notification app * feat: added proper docs for the API
16 lines
316 B
Python
16 lines
316 B
Python
"""
|
|
URLs for the notifications API.
|
|
"""
|
|
from django.urls import path
|
|
from rest_framework import routers
|
|
|
|
from .views import CourseEnrollmentListView
|
|
|
|
router = routers.DefaultRouter()
|
|
|
|
urlpatterns = [
|
|
path('enrollments/', CourseEnrollmentListView.as_view(), name='enrollment-list'),
|
|
]
|
|
|
|
urlpatterns += router.urls
|