A site I finished a few months ago had a 4 level hierarchy. I created
a Section model and all content classes had an FK to Section
(including Section itself). E.g.,

Home
  Section A
     Section A.1
       Article
       Video
       Audio
       Books (etc., etc.)
     Section A.2 (etc.)
  Section B
     Section B.1
(etc.)

All views set a context variable called page_object, which was the
primary object of the page. Everything else flowed from this object
and it's parent section (and it's parent ...): the content template
(article, video, etc), stylesheets, etc. The nav (indicated by both a
change in a two-level top nav bar and by a breadcrumb component) just
fell out naturally. Even the super-search-engine-friendly URL was
generated from the hierarchy + title.

Email me if you would like to know more details.
--~--~---------~--~----~------------~-------~--~----~
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