Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #10739: Introduce get_queryset() method on generic views #10742

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

jeremystretch
Copy link
Member

Fixes: #10739

  • Introduce new BaseView base class for all generic views
  • Add a get_queryset() method which accepts the current request as its only argument
  • Call get_queryset() within dispatch() for each request
  • Update plugin development documentation

@jeremystretch jeremystretch added the beta Concerns a bug/feature in a beta release label Oct 25, 2022
@jeremystretch jeremystretch merged commit b2e2e3b into feature Oct 25, 2022
@jeremystretch jeremystretch deleted the 10739-generic-view-querysets branch October 25, 2022 15:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant