Tom,
Had a similar thought and while it does have a few drop downs with tens of entries (because the dataset is only nascent and small) I:
Thomas Lockhart wrote:
Had a similar thought and while it does have a few drop downs with tens of entries (because the dataset is only nascent and small) I:
- Am rather aghast if tens of entries in a few drop downs generate 20s page load times so didn't think it a prime suspect.
- Have the intention of implementing DAL (Django-autocomplete-light) anyhow as these drop downs won't be limited to tens, and can easily grow into hundreds and thousands of options, so need a smarter combo box with some AJAX (i.e. DAL) anyhow.
- Will likely experiment soon by moving drop-downs to text boxes and seeing if it improves In mean time any other ideas welcome.
Regards,
Bernd.Thomas Lockhart wrote:
On 5/22/17 10:12 PM, Bernd Wechner wrote:
In my experience long "render times" have always come from an unintended very long list in a menu of candidates for filling out a form. Make sure that the input choices are small in number!James,
If you have the fortitude and kind heart to look at it, sure the code base (just checked in) is here:
https://github.com/bernd-wechner/CoGsit's the Create view on the Session model that is taking 30s to render, no other model, and that one is the central model of interest with a custom form that needs related model forms as well, to wit is a tad complex and I'm experimenting with keeping it as generic as I can for reuse later (DRY), though it is highly experimental and hacked up as I'm learning on the fly.
hth
- Tom
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6759a167-50f9-2c01-b588-a963fd9ec24b%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment