Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Slava Bacherikov" <slava@...>
Subject: proj/gentoo-packages:master commit in: gpackages/apps/packages/
Date: Wed, 20 Jun 2012 23:23:54 +0000 (UTC)
commit:     997f0bca9b029d7a5d2c58327a5a3846a254fcd3
Author:     Slava Bacherikov <slava <AT> bacher09 <DOT> org>
AuthorDate: Wed Jun 20 11:44:55 2012 +0000
Commit:     Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua>
CommitDate: Wed Jun 20 11:44:55 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=997f0bca

Select related for virtual packages

---
 gpackages/apps/packages/admin.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gpackages/apps/packages/admin.py b/gpackages/apps/packages/admin.py
index 5b5c209..b66ef73 100644
--- a/gpackages/apps/packages/admin.py
+++ b/gpackages/apps/packages/admin.py
@@ -43,6 +43,7 @@ class EbuildAdmin(admin.ModelAdmin):
 class VirtualPackageAdmin(admin.ModelAdmin):
     list_display = ('__unicode__',)
     search_fields = ('name','category__category')
+    list_select_related = True
 
 class PackageAdmin(EbuildsCountAdmin, admin.ModelAdmin):
     list_display = ('__unicode__', 'ebuilds_count')


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
proj/gentoo-packages:master commit in: gpackages/apps/packages/
Next by thread:
proj/gentoo-packages:master commit in: gpackages/apps/packages/
Previous by date:
proj/gentoo-packages:master commit in: gpackages/apps/packages/
Next by date:
proj/gentoo-packages:master commit in: gpackages/libs/


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.