diff --git a/project/blog/urls.py b/project/blog/urls.py index 5bd7321..51d5239 100644 --- a/project/blog/urls.py +++ b/project/blog/urls.py @@ -2,5 +2,5 @@ from django.conf.urls import url from . import views urlpatterns = [ - url(r'^(?P.+)/$', views.BlogView.as_view(), name='blog-post'), + url(r'^(?P.+)/?$', views.BlogView.as_view(), name='blog-post'), ]