RE: sidebar app

2008-07-07 Thread Mat
e and but rarely to developers ever find/use them! Mat -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alaa Salman Sent: 07 July 2008 09:41 To: Django users Subject: Re: sidebar app On Jul 7, 10:34 am, keegan3d <[EMAIL PROTECTED]> wr

Re: sidebar app

2008-07-07 Thread Alaa Salman
On Jul 7, 10:34 am, keegan3d <[EMAIL PROTECTED]> wrote: > I am trying to create a sidebar and an running into some trouble. I > have 2 problems: > > My model is pretty straight forward. I have categories and links under > the categories. > > class Catagory(models.Model): >         name = models.

Re: sidebar app

2008-07-07 Thread keegan3d
Ok so I have a solution for my second problem, but it requires importing the sidebar class in all my views, and including sidebar.html in every web page. Is there a better way to do this? a way to have this just happen in my base.html template? On Jul 7, 12:34 am, keegan3d <[EMAIL PROTECTED]> wro

sidebar app

2008-07-07 Thread keegan3d
I am trying to create a sidebar and an running into some trouble. I have 2 problems: My model is pretty straight forward. I have categories and links under the categories. class Catagory(models.Model): name = models.CharField(max_length=200) ... class Link(models.Model):