Reviewed and merged by Reid (Hermes Reviewer) Co-authored-by: crisleo-hermes <hermes@codescripters.org> Co-committed-by: crisleo-hermes <hermes@codescripters.org>
12 lines
353 B
Python
12 lines
353 B
Python
from django.urls import include, path
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
from . import views
|
|
|
|
router = DefaultRouter()
|
|
router.register(r"applications", views.JobApplicationViewSet, basename="job-application")
|
|
router.register(r"updates", views.JobUpdateViewSet, basename="job-update")
|
|
|
|
urlpatterns = [
|
|
path("", include(router.urls)),
|
|
] |