queryset() to get_queryset()
Change-Id: I06d4da8b0a9b42c48595d02e227826d611c8ec5b
diff --git a/xos/admin.py b/xos/admin.py
index 9ce1bc4..4e7de44 100644
--- a/xos/admin.py
+++ b/xos/admin.py
@@ -44,7 +44,7 @@
suit_form_includes = (('vtradmin.html', 'top', 'administration'),
) #('hpctools.html', 'top', 'tools') )
- def queryset(self, request):
+ def get_queryset(self, request):
return VTRService.get_service_objects_by_user(request.user)
class VTRTenantForm(forms.ModelForm):
@@ -104,7 +104,7 @@
def is_synced(self, obj):
return (obj.enacted is not None) and (obj.enacted >= obj.updated)
- def queryset(self, request):
+ def get_queryset(self, request):
return VTRTenant.get_tenant_objects_by_user(request.user)
admin.site.register(VTRService, VTRServiceAdmin)