from django.urls import path from . import views app_name = 'posts' urlpatterns = [ path('', views.index, name='index'), path('profile//', views.profile, name='profile'), path('posts//', views.post_detail, name='post_detail'), path('create/', views.post_create, name='post_create'), path('posts//edit/', views.post_edit, name='post_edit'), path('group//', views.group_posts, name='group_list') ]