Hi everyone,

It's the first time I post here as I've always search everything before 
posting, but this time I'm losing my head :)

I'm using for the first time the django Wizard Form feature. It looks 
awesome !

As I need to change the queryset depending of the result of the previous 
form step I rewrite the ``get_form`` method.
Here is a pastie: http://pastie.org/private/ju4pn0mmzva7ovunhw67nw

The problem:
When I reach the step3, wheter using the non-commented code or the 
commented one, the code processes for minutes until the development server 
close the connection.
Any idea ?

Hints:
- I think the code processes the ``ModulePort.objects.all()`` of the 
queryset form attribute. And since I have like 12k entries in my database 
it takes time ? I already have this problem on other forms of my 
application: the render of the HTML select widget takes a lot of time 
depending of the amount of entries.

Other questions:
Is there another way to do what I am doing ?

Thanks in advance for any pieces of advice you can give me :)

Regards,

Solvik.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/3QD0_KHKFi4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to