You could use a context processor to read the flatpage table to build the menu. If you want more control over the menu then create a Menu model and store the flatpage links there and again build the menu in a context processor. You would probably want to use some level of caching if you don't want to hit the database for every page view.
On Tue, Aug 24, 2010 at 3:00 AM, OliverMarchand <oliver.march...@gmail.com>wrote: > Dear all, > > I am thinking of creating a website that displays "mostly" database > content, but for special content I am using flatpages. Now somehow I > must put a link to the flatpages somewhere, most likely in a menu. If > I put the menu in my base template, then there is no way to insert > this link by editing. > > Do you have a good design idea to make the menu editable as well? > > thanks and cheers, > Oliver > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.