keep archive per year, don't call it archive
This commit is contained in:
parent
d995ea0c6f
commit
cf2efd7fb3
8 changed files with 72 additions and 17 deletions
|
|
@ -30,9 +30,9 @@ urlpatterns = [
|
|||
path('login/', user_views.login, name='login'),
|
||||
path('logout/', user_views.logout, name='logout'),
|
||||
path('register/', user_views.register, name='register'),
|
||||
path('archive/', item_views.archive, name='archive'),
|
||||
path('comment/publish/', item_views.publish_comment, name='publish-comment'),
|
||||
path('comment/', item_views.comment, name='comment'),
|
||||
path('_<int:year>/', item_views.archive, name='archive'),
|
||||
path('<int:id>/', item_views.item, name='item'),
|
||||
path('<str:slug>/', page_views.page, name='page'),
|
||||
path('', item_views.index, name='index'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue