mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-20 05:19:38 +02:00
13 lines
389 B
Python
13 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
|
||
|
]
|