summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/models.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/models.py b/main/models.py
index d4dee971..f7d4c2c3 100644
--- a/main/models.py
+++ b/main/models.py
@@ -198,11 +198,10 @@ class Package(models.Model):
#ordering = ('-last_update',)
class Admin:
- list_display = ('pkgname', '_reponame', '_archname', '_maintainername',
- 'last_update')
+ list_display = ('pkgname', '_reponame', '_archname', '_maintainername')
list_filter = ('repo', 'arch', 'maintainer')
ordering = ['pkgname']
- search_fields = ('pkgname', 'maintainer__username')
+ search_fields = ('pkgname',)
pass
def __str__(self):