Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lenteur du form admin add Location (1 minute) #119

Open
domguard opened this issue Sep 21, 2012 · 0 comments
Open

Lenteur du form admin add Location (1 minute) #119

domguard opened this issue Sep 21, 2012 · 0 comments
Assignees
Labels

Comments

@domguard
Copy link
Member

La methode get_context_data dans le LocationForm loade Area.objects.all()
lance du query SQL 300 polygones et leurs enfants -> 2300 query SQL
alors qu'on s'en sert même pas dans cette vue

En commentant la méthode et en enlevant le champ "area" dans LocationForm, le formulaire marche quand meme , sans les milliers de requêtes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants