Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sorl committed Apr 2, 2011
1 parent 67d88f1 commit 58f505f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -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()
Expand Down

0 comments on commit 58f505f

Please sign in to comment.