django-web-galleries/django_web_galleries/web_galleries/urls.py

14 lines
335 B
Python
Raw Normal View History

from django.urls import path
from .views import (
ImageUploadView,
2022-12-25 13:49:44 +01:00
PublicImageListView,
MyImagesListView
)
urlpatterns = [
path('', PublicImageListView.as_view(), name='home'),
2022-12-25 13:49:44 +01:00
path('upload/', ImageUploadView.as_view(), name='upload_image'),
path('my_images/', MyImagesListView.as_view(), name='my_images')
]