Re: [mezzanine-users] Re: page_link via code

2015-11-12 Thread Lorenzo D'Agostino
> > Hi Ken, >> > Thanks, your help is crucial. Done: D -- 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

Re: [mezzanine-users] Re: page_link via code

2015-11-10 Thread Ken Bolton
Hi Lorenzo, To programmatically generate a Link, the following should, more or less, work. >>> from mezzanine.pages.models import Link >>> menus = [] >>> new_link = Link.objects.get_or_create(title='New Link', slug=' http://www.example.com', in_menus=list(menus)) I feel like I am not getting