Re: Navigation Bar

2013-03-27 Thread Andre Terra
In my last project I created a template tag that would take an app name as an argument and build the links according to that user's permissions for the links in that app. This made the template easier to read at the cost of having to write the function and learning how it worked. Since I was the on

Re: Navigation Bar

2013-03-27 Thread Venkatraman S
On Wed, Mar 27, 2013 at 5:55 PM, Simon Shaw wrote: > I am Django/Web newbie developer and I am looking for the correct way to > add a navigation bar (hopefully the correct term) to my ticketing app such > that the options "Admin", "Open New Ticket", "View New Ticket", > "Dashboard", "Logout" will

Re: Navigation Bar

2013-03-27 Thread Shawn Milochik
If you put these links in your base template it will appear on every page. If you wrap some of those links with template if/endif syntax and check request.user to see if they have permission, you can hide individual links, change their CSS classes, or replace them with a something else. -- You r

Re: Navigation Bar

2007-08-22 Thread Amirouche
On Aug 22, 9:16 pm, Matt Haggard <[EMAIL PROTECTED]> wrote: > I'm becoming accustomed to Django... and I have a design question: > > I have something like this: > > Page1 > - Subpage 1 > - Subpage 2 > - Subsubpage 1 > - Subsubpage 2 > - Subpage 3 > > And I want to create a navigati