Commit Graph

4 Commits

Author SHA1 Message Date
Jelle van der Waa
9ae767cb4f port templates/packages to pure django 2017-05-02 21:13:56 +02:00
Dan McGee
2f19529c92 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>
2014-10-18 13:48:07 -05:00
Dan McGee
febf5e9223 Collapse long lists of related packages
Just like we did with the rows of depends and required by, collapse down
conflicts, provides, etc. comma-separated lists if they grow too large.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30 18:18:19 -05:00
Dan McGee
1625cd31c3 Link to provides/conflicts/replacements if we can in details template
Use the newly implemented get_best_satisfier() method that is in the
abstract base class for all of these types.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-18 21:36:05 -05:00