Correct. Related posts are not generated procedurally. I pointed out the
admin interface because that is how posts are related to each other out of
the box. If you want to programmatically relate blog posts to one another,
Mezzanine intentionally leaves that to the individual developer to meet
their own needs.

ken

On Oct 31, 2015 4:35 PM, "sonu kumar" <[email protected]> wrote:

> Hi Kenneth,
> Thanks for quick reply. My question is  automatic generation of related
> post(s) for a given post. It seems I have to write some script to achieve
> this.
>
> On Saturday, October 31, 2015 at 11:32:31 PM UTC+5:30, Kenneth Bolton
> wrote:
>>
>> Hi Sonu,
>>
>> If you click on the collapsed "Other Posts" in the admin interface for
>> any BlogPost, the ManyToManyField for blog_blogpost_related_posts will be
>> made visible. An example can currently be seen on the demo site at
>> http://mezzanine.jupo.org/en/admin/blog/blogpost/4125/.
>>
>>
>> hth!
>>
>> -ken
>>
>> On Sat, Oct 31, 2015 at 1:53 PM, sonu kumar <[email protected]> wrote:
>>
>>> Hi Eduardo,
>>> My question is regrading generation of database entries. As in BlogPost
>>> model we have a filed ManyToManyField so we will be having one extra tables
>>> for this relation. My question is how to populate
>>> * blog_blogpost_related_posts* table?
>>>
>>>
>>> On Saturday, October 31, 2015 at 3:11:57 AM UTC+5:30, Eduardo Rivas
>>> wrote:
>>>>
>>>> Hi Sonu.
>>>>
>>>> Is your question regarding the actual database relation between two or
>>>> more blog posts, or is it about the way related posts are shown in
>>>> templates?
>>>>
>>> --
>>> 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.
>

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