from django.conf.urls import url, include
from posts import views
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    url(r'^$', views.blog_index, name="blog_index"),
    url(r'^(?P<post_id>\d+)/(?P<slug>[\w-]+)$', views.post_detail,
        name="post_detail"),

] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0e8d55300d36e54636dfbff224af8e790aa9432f
<mask token>

<mask token>
urlpatterns = [url('^$', views.blog_index, name='blog_index'), url(
    '^(?P<post_id>\\d+)/(?P<slug>[\\w-]+)$', views.post_detail, name=
    'post_detail')] + static(settings.STATIC_URL, document_root=settings.
    STATIC_ROOT)

from django.conf.urls import url, include
from posts import views
from django.conf.urls.static import static
from django.conf import settings
urlpatterns = [url('^$', views.blog_index, name='blog_index'), url(
    '^(?P<post_id>\\d+)/(?P<slug>[\\w-]+)$', views.post_detail, name=
    'post_detail')] + static(settings.STATIC_URL, document_root=settings.
    STATIC_ROOT)

from django.conf.urls import url, include
from posts import views
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    url(r'^$', views.blog_index, name="blog_index"),
    url(r'^(?P<post_id>\d+)/(?P<slug>[\w-]+)$', views.post_detail,
        name="post_detail"),

] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
