2020-10-25 12:20:39 -05:00
|
|
|
"""URL patterns for the countdown views."""
|
2023-02-16 00:04:25 -06:00
|
|
|
from django.conf.urls import include
|
|
|
|
from django.urls import path
|
2020-10-25 12:20:39 -05:00
|
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
|
|
|
|
from countdown.views import CountdownItemViewSet
|
|
|
|
|
|
|
|
router = DefaultRouter()
|
|
|
|
router.register(r'items', CountdownItemViewSet)
|
|
|
|
|
|
|
|
urlpatterns = [
|
2023-02-16 00:04:25 -06:00
|
|
|
path('api/', include(router.urls)),
|
2020-10-25 12:20:39 -05:00
|
|
|
]
|