feat(time_entries): add time_entries app's basic structure and endpoints
This commit is contained in:
13
apps/time_entries/api/urls.py
Normal file
13
apps/time_entries/api/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from apps.time_entries.api.views import TimeEntryViewSet
|
||||
|
||||
app_name = "time_entries"
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r"time-entries", TimeEntryViewSet, basename="time-entry")
|
||||
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user