12 lines
243 B
Python
12 lines
243 B
Python
|
from django.urls import path
|
||
|
|
||
|
from .views import (
|
||
|
ImageUploadView,
|
||
|
PublicImageListView
|
||
|
)
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('', PublicImageListView.as_view(), name='home'),
|
||
|
path('upload/', ImageUploadView.as_view(), name='upload_image')
|
||
|
]
|