Navigation Menu

Skip to content

Commit

Permalink
Trying to make ti work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sammcd committed Jan 4, 2009
1 parent fa879ef commit a00214a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views.py
Expand Up @@ -15,7 +15,7 @@ def index(request):
allPosts = Post.objects.order_by('-date_posted')
post = Post.objects.filter(preview=False).order_by('-date_posted')[0]

return post_view(request, post.date_posted.year,post.month,post.day,post.url_title())
return post_view(request, post.date_posted.year,post.date_posted.month,post.date_posted.day,post.url_title())

def post_view(request, year, month, day, url_title):
title_from_url = Post.title_from_url(url_title)
Expand Down

0 comments on commit a00214a

Please sign in to comment.