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 /packages/templatetags/package_extras.py | |
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 'packages/templatetags/package_extras.py')
-rw-r--r-- | packages/templatetags/package_extras.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index 3ce64748..2784546d 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -80,11 +80,6 @@ def pkg_details_link(pkg, link_title=None, honor_flagged=False): @register.simple_tag -def multi_pkg_details(pkgs): - return ', '.join([pkg_details_link(pkg) for pkg in pkgs]) - - -@register.simple_tag def maintainer_link(user): if user: # TODO don't hardcode |