from django.urls import path
from .views import ImageListView, ImageDetailView, ImageCreateView,ImageUpdateView
from . import views

urlpatterns = [
    path('', ImageListView.as_view(), name='insta-home'),
    path('post/<int:pk>/', ImageDetailView.as_view(), name='insta-detail'),
    path('post/new/', ImageCreateView.as_view(), name='insta-create'),
    path('post/<int:pk>/update/', ImageUpdateView.as_view(), name='insta-update'),
    path('about/', views.about, name='insta-about'),
]

from django.urls import path
from .views import ImageListView, ImageDetailView, ImageCreateView,ImageUpdateView
from . import views

urlpatterns = [
    path('', ImageListView.as_view(), name='insta-home'),
    path('post/<int:pk>/', ImageDetailView.as_view(), name='insta-detail'),
    path('post/new/', ImageCreateView.as_view(), name='insta-create'),
    path('post/<int:pk>/update/', ImageUpdateView.as_view(), name='insta-update'),
    path('about/', views.about, name='insta-about'),
]
