Hi, I'm making one app with 3 classes: emploee, company and department.

1- When I edit an emploee I need to know his company, and after to have a
field with all the departments from the selected company. But when I use
ModelChoiceField I see all departments from all companies.

2- Another problem I have is to list a long list ModelChoiceField. Like I
have more than 1000 companies, the form is taking too long to load. I know
it is possible to use AutoCompleteFields for this situation, but I need to
know if it is the optimum choice in terms of performance.

I appreciate any help, thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to