On Jul 8, 4:03 pm, drakkan <drakkan1...@gmail.com> wrote: > I have no time to try jinja2 now, I guess it should speed up django a > bit
Trying jinja2 in your project is hard - you are using some template tags, and you would need to port them to jinja2. Then you would need to rewrite your templates so that they work under jinja2. This would take some time for sure. What you could do is check out the profiler suggested in this thread. Jinja2 is generally somewhere from 5x to 10x faster that Django templates. So if you can see that half of your time is spent in template rendering, then you could probably almost double the speed of your application using Jinja2. If you don't want to do that, you can check how fast your code is without any template rendering: just return HttpResponse("") from your view. But remember to evaluate your queries, querysets are evaluated only on access. This will give you some clue how much Jinja2 would benefit you. - Anssi -- 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.