Skip to content
Browse files

updating readme

  • Loading branch information...
1 parent 67d88f1 commit 58f505f6cdc90c38fb8ed6333541f49753eca7e0 @sorl sorl committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rst
View
4 README.rst
@@ -21,14 +21,14 @@ Example::
from utkik import View
class NewsDetailView(View):
- template = 'news/news_detail.html'
+ template_name = 'news/news_detail.html'
def get(self, slug):
self.c.news = get_object_or_404(News.objects, slug=slug)
class NewsListView(View):
- template = 'news/news_list.html'
+ template_name = 'news/news_list.html'
def get(self):
self.c.news_list = News.objects.all()

0 comments on commit 58f505f

Please sign in to comment.
Something went wrong with that request. Please try again.