Re: help with tagging app

2006-12-14 Thread Bret Walker
Did anything ever come of Luke's work? --~--~-~--~~~---~--~~ 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 em

DB Query

2006-12-04 Thread Bret Walker
How can one perform a database query from an overloaded admin save function? I want to retrieve an old value, compare it to the one currently being saved, then perform an action based on the result of the comparison. Thanks, Bret --~--~-~--~~~---~--~~ You receiv

Re: Searching a ForeignKey

2006-12-04 Thread Bret Walker
On 12/4/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 12/5/06, Bret Walker <[EMAIL PROTECTED]> wrote: > > > > Is there a way to search a CharField contained in a ForeignKey? > > Yes. You can traverse any foreign key or m2m relation in

Searching a ForeignKey

2006-12-04 Thread Bret Walker
Is there a way to search a CharField contained in a ForeignKey? If one wants to use a foreign key to prevent repetition and duplication of data, wouldn't it only make sense that the foreign key's fields be searchable, as well? Otherwise, the only way to find records based on the foreign key woul

Re: Support Ticket System

2006-12-01 Thread Bret Walker
On 12/1/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 12/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 1. Mark fields as optional. > > I don't like this because there will be lots of null values > > inserted into the database. I also don't think that this would be > > followi