Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Performance issue : to many get_template() #103
First of all, thank you for this tremendous module, I can't wait its adaptation to bootstrap3.
Nevertheless, there seem to have a quite big performance issue, due to, imho, to many template recursive calls.
Dis any one face this issue ? Do you have any idea how to rework a bit this module ?
Usage : I have 3 forms containing each 5 to 6 fields, on each of which I apply the bootstrap filter (I can't apply it to the form on the whole for I have to make some specific adaptations to some fields).
Results : using django-bootstrap-tookit multiply by 3 the time of rendering, lazy database requests included. I did suspect database requests but I evinced this hypothesis by removing their calls.
Details, using django-profiler on django response render function, greping template and bootstrap calls.
With no bootstrap call: