diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-09 16:16:45 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-09 16:16:45 -0500 |
commit | 408288719e7515ac01c6eb81a5a2d9a1c63a62bc (patch) | |
tree | 875d67a208b0948b070e56aa7827aa955285db03 /packages/models.py | |
parent | d199ac33b2ae0235cd7717b93d0c49cbbeabc7f2 (diff) |
Enhance base package listing in package detailsrelease_2010-06-10
Add two methods to the package class, base_package() and split_packages(),
that allow us to grab other related packages to one we are interested in.
This allows us to list the Base Package on the package details page as a
link.
With the split_packages() method, we can also now list and link all
sub-packages on the package details page; e.g. for 'kernel26' we can now
link through to 'kernel26-firmware' and 'kernel26-headers'.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
0 files changed, 0 insertions, 0 deletions