duplicated queries as in exactly the same or with different parameters? If
they hace different parameters it sounds like something you can resolve
with select_related

https://docs.djangoproject.com/en/1.8/ref/models/querysets/#select-related

Either way, you would need to post you rmodels and queries to have a full
picture

On Sat, Nov 7, 2015 at 1:22 PM, V1ce <vincent.arnaul...@gmail.com> wrote:

> Hi,
>
> I got a lot of duplicated queries (in django debug toolbag) when i load my
> menu tabs , actually it's normal because i don't understand how to use
> database optimization for this, if possible i want some advice to make my
> reflexion better on 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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/9d6bb7ea-7bb8-4447-8dc5-97645d463e41%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9d6bb7ea-7bb8-4447-8dc5-97645d463e41%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CALn3ei3f5%2BgJarcwGkm6nNYKQU%3DvpBfdX4He4OXXp6VampAGMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to