Ok, let me throw out some more info.... This seems REALLY BASIC, and yet I've spent an embarrassing amount of time trying to figure it out. Unfortunately this has been happening a lot with Django. I'm having problems finding out how to do things I just took for granted with php or cf.
Let's say I have a list of categories: - category 1 - category 2 - hide me! Then on the template side, I (obviously) want to hide the one that says "hide me!" How to do this? In PHP it would be a matter of modifying the query that builds the drop-down: [SELECT .... WHERE active=1]. But with generic views in Django, this is all hidden and *black boxed* so I have no clue where to begin. - Can I put a filter in the Meta section of the category class? Doesn't look like it. I can order them though! - Can I use a filter on the template side? This would be ideal, but how do I override the {{ form.category }} piece and still retain the generic view functionality? Ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---