That's works really thank you for your time, learned a very good thing
today, 1 week im on this X) . Already look a little to Prefetch() function
but haven't understand how to use it in my case^^
I have replaced my {% with currscat=categ.getscateg %} by {% with
currscat=categ.souscategorie_set.all %} like in your example, that's work
"_set.all" return me only "visible" child without more request but i don't
understand how that's work, it is supposed to return me all objects, it
don't include a filter, Prefetch() function do this?
Thanks for your additionnals advices i'll look at this.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/e185c9be-23e5-447d-88d9-e9772a8b48e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.