2023-01-16 18:50:12 +01:00
|
|
|
"""backend URL Configuration
|
|
|
|
"""
|
|
|
|
|
|
|
|
from rest_framework import routers
|
|
|
|
|
2023-02-08 02:04:34 +01:00
|
|
|
from .views import BudgetGroupViewSet, BudgetLineViewSet
|
2023-01-16 18:50:12 +01:00
|
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
|
|
|
|
|
|
router.register(r"budgetgroup", BudgetGroupViewSet)
|
|
|
|
router.register(r"budgetline", BudgetLineViewSet)
|
|
|
|
|
2023-02-08 02:04:34 +01:00
|
|
|
app_name = "budget-backend"
|
2023-01-16 18:50:12 +01:00
|
|
|
urlpatterns = router.urls
|