summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-07 03:55:05 +0100
committerDan McGee <dan@archlinux.org>2013-11-07 03:55:48 +0100
commitd54df175a89385e50193447d02e6842e28c24f7d (patch)
treeb7f83c4703749b51152af272dc74452bfd621a2c /packages
parent5943f92e4c6d52bec6a1e68ad11970da9b8ad643 (diff)
downloadarchweb-d54df175a89385e50193447d02e6842e28c24f7d.tar.gz
archweb-d54df175a89385e50193447d02e6842e28c24f7d.tar.xz
Django 1.6 upgrade, deprecation cleanup
PendingDeprecationWarning: `queryset` method should be renamed `get_queryset` Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/admin.py b/packages/admin.py
index 820bbb2..4680c75 100644
--- a/packages/admin.py
+++ b/packages/admin.py
@@ -20,7 +20,7 @@ class FlagRequestAdmin(admin.ModelAdmin):
ordering = ('-created',)
date_hierarchy = 'created'
- def queryset(self, request):
+ def get_queryset(self, request):
qs = super(FlagRequestAdmin, self).queryset(request)
return qs.select_related('repo', 'user')
@@ -42,7 +42,7 @@ class SignoffSpecificationAdmin(admin.ModelAdmin):
ordering = ('-created',)
date_hierarchy = 'created'
- def queryset(self, request):
+ def get_queryset(self, request):
qs = super(SignoffSpecificationAdmin, self).queryset(request)
return qs.select_related('arch', 'repo', 'user')