|
|
|
|
|
by clojurerocks
5290 days ago
|
|
No idea what defers and only are. Actually maybe only was what i was looking for. The django documentation for many things such as this is almost non existent. Some of it is from older versions as well. And im sorry but how is a newbie supposed to find this stuff. Youve probably been working with python and django for a while. Which is great. But when youre just starting and playing around having to spend hours looking simplistic stuff like this up when you have a million other things to do really gets frustrating. |
|
> The django documentation for many things such as this is almost non existent.
He just linked you to documentation with exactly what you needed, so it surely exists.
> Some of it is from older versions as well.
He linked to the current 1.3 docs.
> And im sorry but how is a newbie supposed to find this stuff.
The second section of the docs is about models, the second heading is all about QuerySets. The link he pasted is literally right in front of you.
https://docs.djangoproject.com/en/1.3/
QuerySets: Executing queries | QuerySet method reference