Change from Django 1.5 and earlier queryset() to Django 1.6 and later get_queryset()
Change-Id: I94405c67aa216c087cb2d3a65ef3a8fc44723c08
diff --git a/xos/admin.py b/xos/admin.py
index 863bf55..fe20519 100644
--- a/xos/admin.py
+++ b/xos/admin.py
@@ -92,7 +92,7 @@
suit_form_includes = (('vcpeadmin.html', 'top', 'administration'),
) #('hpctools.html', 'top', 'tools') )
- def queryset(self, request):
+ def get_queryset(self, request):
return VSGService.get_service_objects_by_user(request.user)
class VSGTenantForm(forms.ModelForm):
@@ -143,7 +143,7 @@
suit_form_tabs = (('general','Details'),)
- def queryset(self, request):
+ def get_queryset(self, request):
return VSGTenant.get_tenant_objects_by_user(request.user)