Anyone have any good solutions for site navigation?

2008-10-24 Thread Matt Wilson
My site has a global-navigation header, with links to 5 sections of the site. I highlight the section that the viewer is currently viewing in the global header. Other than the highlighting, the header is the same on every page of the site. Then I also have a "local" navigation that shows differ

Are a lot of people using SQLAlchemy with Django?

2008-10-01 Thread Matt Wilson
I've been working with TurboGears 1.0 (kid and SQLObject) and I have some time to do a rewrite. I'm considering either going to TG 2.0 (genshi and SQLAlchemy) or Django. I'd love to be able to use SQLAlchemy with Django. I've heard some people are working with this, but I want to know if people

Re: Need help creating a composite database index

2008-01-03 Thread Matt Wilson
Thanks! On Jan 3, 1:32 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > On Jan 3, 12:28 pm, Matt Wilson <[EMAIL PROTECTED]> wrote: > > > This is the postgresql index I want to create: > > > CREATE UNIQUE INDEX v2category_nameIndex ON v2category

Need help creating a composite database index

2008-01-03 Thread Matt Wilson
This is the postgresql index I want to create: CREATE UNIQUE INDEX v2category_nameIndex ON v2category (v2organization_id, parent_category, lower(name)); How do I create this index with the Django model? TIA Matt --~--~-~--~~~---~--~~ You received this message be

How to reuse a component in numerous templates, like turbogears widgets?

2007-08-15 Thread Matt Wilson
I'm working on a django view for my office's homemade ticket-based workflow system. I have a view that shows all tickets assigned to each employee. I also have a view that shows all tickets attached to parent tickets. I want to define just once how to render any arbitrary lists of tickets into