diff options
author | Dan McGee <dan@archlinux.org> | 2014-10-18 13:48:07 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-10-18 13:48:07 -0500 |
commit | 2f19529c922172007ff3894ad0e0fca0b3e33f5b (patch) | |
tree | 7287ec88e69e2d09e6c73e6a9ba3a013b354c9ab /templates/packages/details_relatedto.html | |
parent | f4a6eff33815a713b1141ea94a872bd7c6233699 (diff) |
Convert details sub-tempates to Jinja2
This is a start at improving performance of rendering the package
details page, our most-visited and slowest page on the production
website. The Django template system is not very efficient due to our
heavy use of broken out templates and pulling of various attributes and
such on related packages.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details_relatedto.html')
-rw-r--r-- | templates/packages/details_relatedto.html | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/packages/details_relatedto.html b/templates/packages/details_relatedto.html deleted file mode 100644 index e14375d3..00000000 --- a/templates/packages/details_relatedto.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load package_extras %}{% for related in all_related %}{% with related.get_best_satisfier as best_satisfier %}<span class="related">{% ifequal best_satisfier None %}{{ related.name }}{% else %}{% pkg_details_link best_satisfier %}{% endifequal %}{{ related.comparison|default:"" }}{{ related.version|default:"" }}{% if not forloop.last %}, {% endif %}</span> -{% endwith %}{% endfor %} |