On 5/22/17 10:12 PM, Bernd Wechner wrote:
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/CoGs
it'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.
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!
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+unsubscr...@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.