mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 22:09:36 +02:00
12 lines
389 B
Python
12 lines
389 B
Python
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
from integrations.views import ImmichIntegrationView
|
|
|
|
# Create the router and register the ViewSet
|
|
router = DefaultRouter()
|
|
router.register(r'immich', ImmichIntegrationView, basename='immich')
|
|
|
|
# Include the router URLs
|
|
urlpatterns = [
|
|
path("", include(router.urls)), # Includes /immich/ routes
|
|
]
|