imageBotDjango/idescriptor/urls.py

9 lines
251 B
Python

from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="index"),
path("image/<uuid:pk>/", views.ImageFormView.as_view(), name="image-update"),
path("images/", views.list_images, name="images-list"),
]