from django.conf.urls import url
from blog.feeds import LatestEntriesRssFeed, LatestEntriesAtomFeed

urlpatterns = [
    url(r'^$', 'blog.views.blog_list', name='blog'),
    url(r'^rss/$', LatestEntriesRssFeed(), name='blog_rss'),
    url(r'^atom/$', LatestEntriesAtomFeed(), name='blog_atom'),
    url(r'^tags/$', 'blog.views.blog_tags', name='blog_tags'),
    url(r'^search/$', 'blog.views.blog_search', name='blog_search'),
    url(r'^archive/date/$', 'blog.views.blog_archive_date', name='blog_archive_date'),
    url(r'^archive/title/$', 'blog.views.blog_archive_title', name='blog_archive_title'),
    url(r'^month/(\d+)/(\d+)/$', 'blog.views.month', name='blog_month'),
    url(r'^(?P<slug>[\w\._-]+)/$', 'blog.views.blog_detail', name='blog_detail'),
    url(r'^category/(?P<slug>[\w\._-]+)/$', 'blog.views.blog_entries_by_category', name='blog_entries_by_category'),
    url(r'^tag/(?P<tag>[-_A-Za-z0-9]+)/$', 'blog.views.blog_entries_by_tag', name='blog_entries_by_tag'),
]

@@ -31,20 +31,16 @@
 rl%0Afrom 
-blog
 .feeds i
@@ -88,16 +88,207 @@
 AtomFeed
+%0Afrom .views import BlogListView, BlogDetailView, BlogTagsView, BlogSearchView, BlogArchiveDateView, BlogArchiveTitleView, %5C%0A    BlogEntriesByCategoryView, BlogEntriesByTagView, BlogMonthView
 %0A%0Aurlpat
@@ -316,30 +316,30 @@
 $', 
-'blog.views.blog_list'
+BlogListView.as_view()
 , na
@@ -499,30 +499,30 @@
 $', 
-'blog.views.blog_tags'
+BlogTagsView.as_view()
 , na
@@ -564,32 +564,32 @@
 $', 
-'blog.views.blog_search'
+BlogSearchView.as_view()
 , na
@@ -639,38 +639,37 @@
 $', 
-'blog.views.blog_a
+BlogA
 rchive
-_date'
+DateView.as_view()
 , na
@@ -726,39 +726,38 @@
 $', 
-'blog.views.blog_a
+BlogA
 rchive
-_t
+T
 itle
-'
+View.as_view()
 , na
@@ -819,26 +819,31 @@
 $', 
-'blog.views.month'
+BlogMonthView.as_view()
 , na
@@ -899,32 +899,32 @@
 $', 
-'blog.views.blog_detail'
+BlogDetailView.as_view()
 , na
@@ -990,45 +990,43 @@
 $', 
-'blog.views.blog_e
+BlogE
 ntries
-_by_c
+ByC
 ategory
-'
+View.as_view()
 , na
@@ -1104,40 +1104,38 @@
 $', 
-'blog.views.blog_entries_by_tag'
+BlogEntriesByTagView.as_view()
 , na

update urls with CBVs