Hello all! First of all sorry for my english.

I have made a small form, just 10 fields. now I see that page loads
much slower then without this form...

I found problem in this part of form:

age = forms.ChoiceField(required=True, choices=AGE_CHOICES,
initial='18')

without this field page loads much faster!

AGE_CHOICES = zip(range(18,100), range(18,100))  is it so big list of
tuples for this function? can't believe it...

any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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