Hi Tom,

Like they used to say: "Use the Source, Luke":
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/urls.py#L22-L23

On Mon, Nov 13, 2017 at 10:17 PM, Tom Tanner <[email protected]>
wrote:

> Related question: How do I get the URL for posts in each category? I can't
> find info on this in the docs...
>
>
> On Sunday, November 12, 2017 at 6:10:20 PM UTC-5, Tom Tanner wrote:
>>
>> Ah, I thought it had to be a `block`. Thanks.
>>
>> On Sunday, November 12, 2017 at 10:35:55 AM UTC-5, Rainell Dilou Gómez
>> wrote:
>>>
>>> {% for category in blog_post.categories.all %}
>>>     {{ category }}
>>> {% endfor %}
>>>
>>>
>>>
>>> Il giorno domenica 12 novembre 2017 04:53:17 UTC+1, Tom Tanner ha
>>> scritto:
>>>>
>>>> I wrote a blog post and added categories to it. I'd like to display its
>>>> categories on the page. How do I retrieve that list to display the
>>>> categories on an HTML template?
>>>>
>>> --
> 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.
>

-- 
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.

Reply via email to