Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in [47]

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@53 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fbd8841a7a2e9b95d2e6b49b20e08c6459b0636e 1 parent 5a33977
adrian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/apps/blog/templatetags/latestblogentry.py
View
2  django_website/apps/blog/templatetags/latestblogentry.py
@@ -18,6 +18,6 @@ def do_get_latest_blog_entries(parser, token):
raise template.TemplateSyntaxError, "'%s' tag takes three arguments" % bits[0]
if bits[2] != 'as':
raise template.TemplateSyntaxError, "First argument to '%s' tag must be 'as'" % bits[0]
- return LatestBlogEntryNode(bits[1], bits[3])
+ return LatestBlogEntriesNode(bits[1], bits[3])
template.register_tag('get_latest_blog_entries', do_get_latest_blog_entries)
Please sign in to comment.
Something went wrong with that request. Please try again.