from django.urls import path from articles.views import api, feeds, html urlpatterns = [ path("", html.ArticlesListView.as_view(), name="articles-list"), path("drafts/", html.DraftsListView.as_view(), name="drafts-list"), path("search/", html.SearchArticlesListView.as_view(), name="search"), path("tag//feed/", feeds.TagFeed(), name="tag-feed"), path("tag//", html.TagArticlesListView.as_view(), name="tag"), path("feed/", feeds.CompleteFeed(), name="complete-feed"), path("api/render//", api.render_article, name="api-render-article"), path("/", html.ArticleDetailView.as_view(), name="article-detail"), ]