Hey guys,
I'm new to mezzanine and django so bare with me. I'm running a blog as
my homepage and would like only for posts that have been published that day
to display on the homepage.
I thought about using the 'now' filter in the template and comparing
that with the blog_post.publish_date but that would still leave the issue
of pagination as it paginates to the blog_posts object.
I could probably use the recent_posts tag in the blog_tags but wanted
to leave that untouched so I can use that in the sidebar and if I did use
it not sure how I would filter in the date to compare to the blog post.
I thought the best bet would just to edit the blog_post_list to return
the posts from that day but i'm unclear on how the parameters are passing
through to views.py. Are they passed in through the URL?
Any tips/suggestions would be greatly appreciated. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.