<filename>python-web/petstagram/petstagram/pets/urls.py<gh_stars>0
from django.urls import path

from petstagram.pets.views import pet_all, pet_detail, like_pet, create_pet, edit_pet, delete_pet, comment_pet

urlpatterns = [
    path('', pet_all,name='pets all'),
    path('details/<int:pk>', pet_detail, name='pet details'),
    path('like/<int:pk>',like_pet, name='like pet'),
    path('create/', create_pet, name='create pet'),
    path('edit/<int:pk>',edit_pet, name='edit pet'),
    path('delete/<int:pk>',delete_pet,name='delete pet'),
    path('commnet/<int:pk>',comment_pet, name='comment pet'),
]