aboutsummaryrefslogtreecommitdiff
path: root/blog_admin/urls.py
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-09-20 02:03:36 -0400
committerBobby <[email protected]>2022-09-20 02:03:36 -0400
commitc5254b6f39939bc0bc6719b854b67928af74c9ea (patch)
tree692510e10ba5619f70b1b3df23352721cfac7159 /blog_admin/urls.py
parente29f7902c8d6dc6e6ee02964b56284d2f69f1ac5 (diff)
downloadthatcomputerscientist-c5254b6f39939bc0bc6719b854b67928af74c9ea.tar.xz
thatcomputerscientist-c5254b6f39939bc0bc6719b854b67928af74c9ea.zip
Added Edit post function
Diffstat (limited to 'blog_admin/urls.py')
-rw-r--r--blog_admin/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/blog_admin/urls.py b/blog_admin/urls.py
index b0710851..a8f6bc49 100644
--- a/blog_admin/urls.py
+++ b/blog_admin/urls.py
@@ -10,6 +10,7 @@ urlpatterns = [
path('posts', views.posts, name='posts'),
path('posts/new', views.new_post, name='new-post'),
path('posts/search', views.posts_search, name='posts-search'),
+ path('posts/<str:slug>/edit', views.edit_post, name='edit-post'),
path('comments', views.comments, name='comments'),
path('categories', views.categories, name='categories'),
path('categories/new', views.new_category, name='new-category'),