Re: Content blocks editable in Admin

2009-07-09 Thread paul.dorman
Django-chunks appears to be the perfect solution to my problem. Thanks Daniel! Thanks to you too Eugine for your response. On Jul 10, 2:19 am, Daniel Roseman wrote: > On Jul 9, 8:47 am, "paul.dorman" wrote: > > > > > Hi all, > > > I'd like to include blocks of content in my templates which is >

Re: Content blocks editable in Admin

2009-07-09 Thread Daniel Roseman
On Jul 9, 8:47 am, "paul.dorman" wrote: > Hi all, > > I'd like to include blocks of content in my templates which is > editable in the Admin app. I'd design the overall template, but > include bits that the computer illiterate folks here could change, > something like this: > > [my template] > >

Re: Content blocks editable in Admin

2009-07-09 Thread Eugene Mirotin
Define the model that includes: * (some) Foreign key to the page the block belongs to (so, most probably you'll have to define the model for the site page) * the text field for the block contents Register this model in the admin, which will generate the form with 2 fields - drop-down select (for t