Thanks for this Joseph, I'll take a look and see if I can make sense of it!
Much appreciated, Rich On Wed, Oct 26, 2016 at 12:56 PM, Joseph Mohan <[email protected]> wrote: > Have a look SiteRelated: > https://github.com/stephenmcd/mezzanine/blob/b7a7b00ef8fc99ce2584fc003c8ea8cbceffee7b/mezzanine/core/models.py > > Here's a blog on using it: > http://bitofpixels.com/blog/on-singletonadmins-and-sitewidecontent-editing-sitewide-content-in-mezzanines-admin/ > > > On Wednesday, 26 October 2016 10:26:49 UTC+1, Richard Jackson wrote: >> >> Hi all, >> >> I apologies for my complete lack of technical knowledge with this question >> - I haven't dealt with Mezzanine/Django/Python for about a year. >> >> I have defined a class ('homepage') and have defined an attribute >> ('content'). When making a page based on the 'homepage' class, I can fill in >> the text for 'content' through the admin, with the template looking like: >> >> <p>{{ page.homepage.content }}</p> >> >> Is there a way that I can refer to what I'd stored as {{ >> page.homepage.content }} from another page (i.e. a 'biography' page)? >> >> For example, say I wanted to make the same text appear in both the >> 'homepage' and the 'biography'. I'd store this through the admin page via >> 'homepage' but I'd also like some way of referring to this in the >> 'biography' template. >> >> Is this possible, and if so how? My understanding has become excessively >> poor so I hope the above makes some sort of sense. >> >> Thanks, >> >> Rich > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Mezzanine Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mezzanine-users/wJ8gv7rAJwc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. -- Freelance Composer - Richard Jackson Music Email: [email protected] Site: www.richardjacksonmusic.com Twitter: @rjmusic87 -- 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.
