Files
tripwithbonus/ArticlesApp/urls_translate.py
SDE cc377963e0 0.7.64
profile change photo
2023-10-22 14:18:22 +03:00

9 lines
351 B
Python

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('info_page/<str:page_url>/', UserPageView, name=u'user_page'),
]