mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-02-05 12:55:17 -05:00
w
This commit is contained in:
@@ -3,9 +3,15 @@ Core API URL configuration.
|
||||
Centralized from apps.core.urls
|
||||
"""
|
||||
|
||||
from django.urls import path
|
||||
from django.urls import include, path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from . import views
|
||||
from apps.core.api.milestone_views import MilestoneViewSet
|
||||
|
||||
# Create router for viewsets
|
||||
router = DefaultRouter()
|
||||
router.register(r"milestones", MilestoneViewSet, basename="milestone")
|
||||
|
||||
# Entity search endpoints - migrated from apps.core.urls
|
||||
urlpatterns = [
|
||||
@@ -30,4 +36,7 @@ urlpatterns = [
|
||||
views.TelemetryView.as_view(),
|
||||
name="telemetry",
|
||||
),
|
||||
# Include router URLs (milestones, etc.)
|
||||
path("", include(router.urls)),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user