Skip to content

Conversation

jonathan-s
Copy link
Contributor

@jonathan-s jonathan-s commented Mar 10, 2020

By mocking this method we will be able to filter from the entire queryset
rather than the queryset limited to published objects

The reason for introducing this in the first place was that the toolbar needs to access to be able to access an object that is draft and it should not rely on page.get_title to fetch the correct object as that method will fetch fallbacks which may not be correct for our purposes.

This PR depends on: django-cms/django-cms#6817 for tests to succeed.

By mocking this method we will be able to filter from the entire queryset
rather than the queryset limited to published objects
@jonathan-s
Copy link
Contributor Author

Closing as the PR mentioned above has also been closed.

@jonathan-s jonathan-s closed this Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant