from django.urls import path
from blog.views import HomeView, ArticleView, PostArticleView, DeleteArticleView, SearchArticleView

app_name = 'blog'
urlpatterns = [
    path('', HomeView.as_view(), name='home'),
    path('article/<int:pk>/', ArticleView.as_view(), name='article'),
    path('post/', PostArticleView.as_view(), name='post'),
    path('delete/<int:pk>', DeleteArticleView.as_view(), name='delete'),
    path('search/', SearchArticleView.as_view(), name='search'),
    # path('search/<str>', SearchResultView.as_view(), name='search_result'),
]

20e464fae7cb0d1e83363335f32ec1aaaf402f4c
<mask token>

<mask token>
app_name = 'blog'
urlpatterns = [path('', HomeView.as_view(), name='home'), path(
    'article/<int:pk>/', ArticleView.as_view(), name='article'), path(
    'post/', PostArticleView.as_view(), name='post'), path(
    'delete/<int:pk>', DeleteArticleView.as_view(), name='delete'), path(
    'search/', SearchArticleView.as_view(), name='search')]

from django.urls import path
from blog.views import HomeView, ArticleView, PostArticleView, DeleteArticleView, SearchArticleView
app_name = 'blog'
urlpatterns = [path('', HomeView.as_view(), name='home'), path(
    'article/<int:pk>/', ArticleView.as_view(), name='article'), path(
    'post/', PostArticleView.as_view(), name='post'), path(
    'delete/<int:pk>', DeleteArticleView.as_view(), name='delete'), path(
    'search/', SearchArticleView.as_view(), name='search')]

from django.urls import path
from blog.views import HomeView, ArticleView, PostArticleView, DeleteArticleView, SearchArticleView

app_name = 'blog'
urlpatterns = [
    path('', HomeView.as_view(), name='home'),
    path('article/<int:pk>/', ArticleView.as_view(), name='article'),
    path('post/', PostArticleView.as_view(), name='post'),
    path('delete/<int:pk>', DeleteArticleView.as_view(), name='delete'),
    path('search/', SearchArticleView.as_view(), name='search'),
    # path('search/<str>', SearchResultView.as_view(), name='search_result'),
]
