First commit of claude's rework in django + vanillajs fronted

This commit is contained in:
Gérald Colangelo
2026-04-02 11:24:30 +02:00
parent 7710a876df
commit fde92f92db
163 changed files with 84852 additions and 15 deletions

13
apps/photos/urls.py Normal file
View File

@@ -0,0 +1,13 @@
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from .views import GroupPhotoViewSet, PhotoUploadView, photo_data_view
router = DefaultRouter()
router.register(r'group-photos', GroupPhotoViewSet, basename='group-photo')
urlpatterns = [
path('upload/', PhotoUploadView.as_view(), name='photo-upload'),
path('<int:pk>/data/', photo_data_view, name='photo-data'),
path('', include(router.urls)),
]