Remove PreserveGetQuerySet mixin. Update SingleObjectList and
MultipleObjectFormActionView views to use a new get_object_list method. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -82,7 +82,7 @@ class DocumentsViewsTestCase(GenericDocumentViewTestCase):
|
||||
response = self.get('documents:document_list')
|
||||
self.assertContains(response, 'Total: 0', status_code=200)
|
||||
|
||||
def test_document_list_view_with_permissions(self):
|
||||
def test_document_list_view_with_access(self):
|
||||
self.grant_access(
|
||||
obj=self.document, permission=permission_document_view
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user