schon/geo/urls.py
Egor fureunoir Gorbunov 564ce0706b Features: Full Geo rework.
Fixes: 1) Address redundant migration logic by dropping stale migrations; 2) Cleanup swapper-based dependencies in Geo models;

Extra: Streamlined database initialization by resetting all previous migrations.
2025-05-19 14:45:53 +03:00

11 lines
290 B
Python

from django.urls import include, path
from rest_framework.routers import DefaultRouter
from geo.viewsets import AddressViewSet
geo_router = DefaultRouter()
geo_router.register(r"addresses", AddressViewSet, basename="addresses")
urlpatterns = [
path(r"", include(geo_router.urls)),
]