index page is now also rendered from MD file
This commit is contained in:
parent
0ac0cb7300
commit
bf554230aa
3 changed files with 47 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from blog.views import viewblog, addpost, order, index, edit, addtopic#, createmocks
|
||||
from blog.views import viewblog, addpost, order, index, edit, addtopic # , createmocks
|
||||
from django.urls import path
|
||||
|
||||
urlpatterns = [
|
||||
|
|
@ -7,6 +7,6 @@ urlpatterns = [
|
|||
path('manage/addtopic', addtopic, name='addtopic'),
|
||||
path('manage/order', order, name='order'),
|
||||
path('manage/edit/<int:id>/', edit, name='editpost'),
|
||||
#path('mock/<str:objtype>/<int:n>/', createmocks, name='mock'),
|
||||
# path('mock/<str:objtype>/<int:n>/', createmocks, name='mock'),
|
||||
path('read/<str:title>', viewblog, name='readpost'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue