2018-04-07 13:49:12 +00:00
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = "blog"
|
|
|
|
urlpatterns = [
|
2018-04-10 09:28:27 +00:00
|
|
|
path('', views.index, name="index"),
|
|
|
|
path('article/<int:pk>', views.view_article, name="article")
|
2018-04-07 13:49:12 +00:00
|
|
|
]
|