0.5.0
ArticlesApp
This commit is contained in:
9
ArticlesApp/urls_translate.py
Normal file
9
ArticlesApp/urls_translate.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
from .views import *
|
||||
|
||||
urlpatterns = [
|
||||
path('articles/', ArticlesPageView, name=u'articles'),
|
||||
path('articles/<int:year>/', ArticlesPageView, name=u'articles_by_year'),
|
||||
path('article/<str:art_url>/', ArticlesOnePageView, name=u'article_one'),
|
||||
path('page/<str:page_url>/', UserPageView, name=u'page_one'),
|
||||
]
|
||||
Reference in New Issue
Block a user