updater_role -> update_role

This commit is contained in:
Wayne Witzel III
2016-04-15 11:01:35 -04:00
parent 7098ef8da5
commit d508254742
7 changed files with 22 additions and 22 deletions

View File

@@ -1354,7 +1354,7 @@ class InventoryList(ListCreateAPIView):
def get_queryset(self):
qs = Inventory.accessible_objects(self.request.user, {'read': True})
qs = qs.select_related('admin_role', 'auditor_role', 'updater_role', 'execute_role')
qs = qs.select_related('admin_role', 'auditor_role', 'update_role', 'execute_role')
return qs
class InventoryDetail(RetrieveUpdateDestroyAPIView):