Slow page in admin

2012-04-25 Thread Jonas Ghyllebert
I'm new to Django and I would like to apologize if it's been asked before. I have two models *Region *and *Zip*. In the admin system, Zip is an inline model in Region Whenever i want to add a Region it shows directly 25 listboxes with zips. This however takes a long time to load the page and re

Re: Slow page in admin

2012-04-25 Thread Jonas Ghyllebert
the select_related method? On Wednesday, April 25, 2012 2:52:13 PM UTC+2, akaariai wrote: > > On Apr 25, 3:35 pm, Jonas Ghyllebert wrote: > > I'm new to Django and I would like to apologize if it's been asked > before. > > > > I have two models *Regi

Server error caused by too many database look-ups

2012-05-02 Thread Jonas Ghyllebert
Hi everybody, I've got a problem while accessing a model in the Django Adminpanel. I uploaded the models file, i hope this makes it easier for you to understand my problem. When I try to add or view a *Region *in the adminpanel, the server usually gives me an 500 server error. This is what i ge

Re: Server error caused by too many database look-ups

2012-05-04 Thread Jonas Ghyllebert
; Koen > > Op woensdag 2 mei 2012 21:37:30 UTC+2 schreef Jonas Ghyllebert het > volgende: >> >> Hi everybody, >> >> I've got a problem while accessing a model in the Django Adminpanel. >> I uploaded the models file, i hope this makes it easier for you to