On 04/12/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> I'm not sure I get how a singleton would solve the "pages generated from
> multiple chunks" problem.
>
> why not just use a model that holds (pagename, chunkname, chunk data)
> triplets, and use a view that brings up all the chunks for a given page ?

Perhaps I've not explained myself properly.  Here's an example:

I have a "Homepage" which has fields such as "Page Title",
"Introduction Text", "Footer Text" etc.  I want to be able to edit
these fields just like I'd edit a standard model instance, but because
there is only one instance of my "Homepage" I never want more than one
instance of it to exist.

-Phil

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to