Hi
Thanks for your responses. Thats what I thought, just wanted to make
sure. The all() just seems unitutive to me, but given that Djangos
syntax is so easy, a little bit of something here and there is no
biggie.
Thanks again.
PS I just posted a patch for the generic views on the developers lis
On Saturday 25 February 2006 18:25, ChaosKCW wrote:
> A dumb question, but will objects.all() cause any kind of performance
> hit ?
>
> I mean when the code appends QuerySet.filter(pk=object_id), will it
> condense that to a SQL statement that returns one object or reutrn
> all obejcts then do th
A dumb question, but will objects.all() cause any kind of performance
hit ?
I mean when the code appends QuerySet.filter(pk=object_id), will it
condense that to a SQL statement that returns one object or reutrn all
obejcts then do the PK query ?
Thanks,
--~--~-~--~~~--
On Saturday 25 February 2006 17:43, ChaosKCW wrote:
> Just one question, I have used model.objects, not
> model.objects.all(). It appears to work and makes more sense to me.
> Any comments?
Use model.objects.all() (at least for now). model.objects will work in
some cases, but perhaps not in oth
On Saturday 25 February 2006 17:47, ChaosKCW wrote:
> Hi
>
> Is there some documentation on the "Sites" functionality. I have seen
> it, but not seen any docs ?
'Site' in that example was a model in my own app -- there is a Django
model of the same name, but I don't know that much about it.
Luk
Hi
Is there some documentation on the "Sites" functionality. I have seen
it, but not seen any docs ?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Thanks, I had a look at the code and worked that out.
Just one question, I have used model.objects, not model.objects.all().
It appears to work and makes more sense to me. Any comments?
Thanks,
Stephen
--~--~-~--~~~---~--~~
You received this message because yo
On Saturday 25 February 2006 16:58, ChaosKCW wrote:
> Please can someone help. I am following Tutorial4 for generic views,
> plus adapting it to the magic removal instructions on the wiki page.
> As far as I can tell i followed the instructions exactly, But I get
> an error stating that 'model' i
Hi
Please can someone help. I am following Tutorial4 for generic views,
plus adapting it to the magic removal instructions on the wiki page.
As far as I can tell i followed the instructions exactly, But I get an
error stating that 'model' is not a valid paremeter to the view.
I am sure its somth
9 matches
Mail list logo