Re: database API filter() vs get()

2007-12-17 Thread Brian Rosner
On 2007-12-17 22:41:08 -0700, Kenneth Gonsalves <[EMAIL PROTECTED]> said: > > > On 18-Dec-07, at 10:33 AM, MrJogo wrote: > >> What's the practical difference between calling >> DB.objects.filter(**kwargs) and DB.objects.get(**kwargs) (where >> **kwargs can be whichever paramenters)? I

Re: database API filter() vs get()

2007-12-17 Thread MrJogo
I understand now. Thanks. On Dec 17, 9:11 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 18-Dec-07, at 10:33 AM, MrJogo wrote: > > > What's the practical difference between calling > > DB.objects.filter(**kwargs) and DB.objects.get(**kwargs) (where > > **kwargs can be whichever

Re: database API filter() vs get()

2007-12-17 Thread Kenneth Gonsalves
On 18-Dec-07, at 10:33 AM, MrJogo wrote: > What's the practical difference between calling > DB.objects.filter(**kwargs) and DB.objects.get(**kwargs) (where > **kwargs can be whichever paramenters)? I understand that filter > returns a QuerySet, but I don't really get how that affects me or my

database API filter() vs get()

2007-12-17 Thread MrJogo
What's the practical difference between calling DB.objects.filter(**kwargs) and DB.objects.get(**kwargs) (where **kwargs can be whichever paramenters)? I understand that filter returns a QuerySet, but I don't really get how that affects me or my code.