Sidebar Network

django-navbar Dynamic site navigation trees for Django sites.

The Basics

Site navigation controlled from the django admin with:

  • Navigation bar
  • Navigation tree
  • Chained Navigation bars
  • JSON sub tree requests
  • Permission control on which entries are seen
Project Homehttp://code.google.com/p/django-navbar/
Grab the Repository – svn checkout http://django-navbar.googlecode.com/svn/trunk/
 

Recent Commits

  • 10 was committed 3 weeks, 5 days ago.
    Actually I already had an admin.py in my local install, I just forgot to ‘add’ it. Sorry about that. This is the correct admin.py for the model change.
  • 9 was committed 3 weeks, 5 days ago.
    added admin.py to make navbar nfa compliant
  • 8 was committed 4 weeks, 1 day ago.
    Django nf-Admin support, and other minor bug cleanup (thanks for the patch!) *WARNING*: the schema has changed with this checkin. Added an advanced option ‘path_type’ which is for restricting the selection marking on the navtree and navbars. Rational: If you have two entries on the navtree which are sub-urls of the request, and they are under different sub-trees, then both will be selected. If you have a ‘home’ entry for ‘/’, then it will always be selected. In the case of navbars, this may mean that only the top level navbar is rendered (which was the case before this change and a database update). It is also not always the wanted behavior to have an entry selected if the url is actually below that point. As such the following advanced ‘path selection types’ are now available: ‘None’ - This is an early out for a navigation entry which you never want to show up selected. I actually have a complex use case for this. ‘Exact’ - Match the url exactly. So ‘home’ will only be selected if the url is ‘/’ exactly. ‘ExactOrParent’ - Match the url exactly, or if a sub tree entry is selected. ‘OnPathOrParent’ - This is the default subpath matching and parents behavior.
  • 6 was committed 1 month, 3 weeks ago.
    Issue #5: Url validator doesn’t accept “/”. fixed url regexp to match all valid urls. fixed bug with default login level. updated examples DB.
  • 5 was committed 4 months, 1 week ago.
    #1 fix for NavBarEntry save method (applying patch)
  • 4 was committed 4 months, 1 week ago.
    fix for latest trunk of django.
  • 3 was committed 5 months, 3 weeks ago.
    It works!
  • 2 was committed 5 months, 3 weeks ago.
    Initial version from PyCon-Tech
  • 1 was committed 5 months, 3 weeks ago.
    Initial directory structure.