from django.conf.urls import patterns, url
from blogs.views import PostYearArchiveView, PostMonthArchiveView

from blogs import views

urlpatterns = patterns('',
    url(r'^$', 'blogs.views.listing', name = 'index'),
    url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name = 'detail'),
    url(r'^archive/(?P<year>\d{4})/$',views.PostYearArchiveView.as_view(), name = 'post_year_archive'),
    url(r'^archive/(?P<year>\d{4})/(?P<month>[-\w]+)/$',views.PostMonthArchiveView.as_view(), name = 'post_month_archive'),
)

d201be00683e18b30bb2b230b0acfb28c6f9e23f
<mask token>

<mask token>
urlpatterns = patterns('', url('^$', 'blogs.views.listing', name='index'),
    url('^(?P<pk>\\d+)/$', views.DetailView.as_view(), name='detail'), url(
    '^archive/(?P<year>\\d{4})/$', views.PostYearArchiveView.as_view(),
    name='post_year_archive'), url(
    '^archive/(?P<year>\\d{4})/(?P<month>[-\\w]+)/$', views.
    PostMonthArchiveView.as_view(), name='post_month_archive'))

from django.conf.urls import patterns, url
from blogs.views import PostYearArchiveView, PostMonthArchiveView
from blogs import views
urlpatterns = patterns('', url('^$', 'blogs.views.listing', name='index'),
    url('^(?P<pk>\\d+)/$', views.DetailView.as_view(), name='detail'), url(
    '^archive/(?P<year>\\d{4})/$', views.PostYearArchiveView.as_view(),
    name='post_year_archive'), url(
    '^archive/(?P<year>\\d{4})/(?P<month>[-\\w]+)/$', views.
    PostMonthArchiveView.as_view(), name='post_month_archive'))

from django.conf.urls import patterns, url
from blogs.views import PostYearArchiveView, PostMonthArchiveView

from blogs import views

urlpatterns = patterns('',
    url(r'^$', 'blogs.views.listing', name = 'index'),
    url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name = 'detail'),
    url(r'^archive/(?P<year>\d{4})/$',views.PostYearArchiveView.as_view(), name = 'post_year_archive'),
    url(r'^archive/(?P<year>\d{4})/(?P<month>[-\w]+)/$',views.PostMonthArchiveView.as_view(), name = 'post_month_archive'),
)
