Files
edx-platform/lms/djangoapps/notifier_api/urls.py
Greg Price 887bcb5578 Add a new user API for the notifier
This new endpoint is designed specifically to fill the needs of the
notifier and should not be used by other clients.
2014-09-29 17:04:23 -04:00

13 lines
364 B
Python

from django.conf.urls import include, patterns, url
from rest_framework import routers
from notifier_api.views import NotifierUsersViewSet
notifier_api_router = routers.DefaultRouter()
notifier_api_router.register(r'users', NotifierUsersViewSet, base_name="notifier_users")
urlpatterns = patterns(
'',
url(r'^v1/', include(notifier_api_router.urls)),
)