Verified Commit 4ed63bda authored by David Haynes's avatar David Haynes 🙆
Browse files

Order endpoints by name

parent ed5d259c
......@@ -24,11 +24,11 @@ from rest_framework.routers import DefaultRouter
ROUTER = DefaultRouter()
# Register views to the API router
ROUTER.register(r'alerts', AlertViewSet, 'alert')
ROUTER.register(r'categories', CategoryViewSet, 'category')
ROUTER.register(r'facilities', FacilityViewSet, 'facility')
ROUTER.register(r'schedules', ScheduleViewSet, 'schedule')
ROUTER.register(r'locations', LocationViewSet, 'location')
ROUTER.register(r'alerts', AlertViewSet, 'alert')
ROUTER.register(r'schedules', ScheduleViewSet, 'schedule')
urlpatterns = [
# / - Default route
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment