first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:22:29 +03:00
commit ec28a2024d
208 changed files with 23836 additions and 0 deletions

8
image/urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path, include
from .views import ImageUploadView, ImageDownloadView, ImageListView # Import ImageDownloadView
urlpatterns = [
path('upload/', ImageUploadView.as_view(), name='image-upload'),
path('list/', ImageListView.as_view(), name='image-list'),
path('<slug:slug>/download/', ImageDownloadView.as_view(), name='image-download'), # New download URL
]