Re: [mezzanine-users] Getting posts for specific category
Hi everyone, I'm trying to have 2 separate pages with unrelated posts. Although I think that mezzanine does not offer what I would like to achieve, I wanted to ask you to be sure :) The 2 pages have unrelated content and different layouts. For one page I can manage to filter by specific category. For the other I would like list all the posts excluding only the one of the other category.. is this possible? Thanks, On Monday, May 25, 2015 at 7:58:04 PM UTC+2, Eduardo Rivas wrote: > > Nice :) > -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Getting posts for specific category
Hi everyone. I have experience in python, but not much in django or mezzanine, so, maybe this question is more django related (or maybe not). I'm creating a site and the homepage has sections like latest news, latest articles and so on. So, I'm needing a way to get a list of posts for a specific category (and only a slice of this, but, I think I can do this with the slice in django templates). ¿How can I do this, I mean, in a template to get only specific posts?. Thanks for any help or advice. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Getting posts for specific category
Mezzanine's blog comes with a template tag that can pull recent posts into your template context, optionally filtering by category. Documentation here: http://mezzanine.jupo.org/docs/packages.html?highlight=recent_posts#mezzanine.blog.templatetags.blog_tags.blog_recent_posts -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Getting posts for specific category
Nice :) -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Getting posts for specific category
Many thanks. That's exactly what I needed. El lunes, 25 de mayo de 2015, 12:48:29 (UTC-5), Eduardo Rivas escribió: Mezzanine's blog comes with a template tag that can pull recent posts into your template context, optionally filtering by category. Documentation here: http://mezzanine.jupo.org/docs/packages.html?highlight=recent_posts#mezzanine.blog.templatetags.blog_tags.blog_recent_posts -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.