Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.urls import path
- from . import views
- urlpatterns = [
- path('', views.post_list, name='post_list'),
- path('post/<int:pk>/', views.post_detail, name='post_detail'),
- path('post/new', views.post_new, name='post_new'),
- path('post/<int:pk>/edit/', views.post_edit, name='post_edit'),
- path('', views.user_profile, name='user_profile'),
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement