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

Support views with no model #164

Closed
wants to merge 2 commits into from
Closed

Support views with no model #164

wants to merge 2 commits into from

Conversation

skaparelos
Copy link

What does this PR do?

This PR updates the AnnotatedModelFilterSet and the generate_filterset functions to properly handle cases when the model attribute is set to None or False. It allows users to provide their own queryset or response without relying on a model.

What issue does this solve?

#56

Where should the reviewer start?

Readme file

What Worf gif best describes this PR or how it makes you feel?

Need to watch Star Trek

Checklist

  • This PR increases test coverage
  • This PR includes README updates reflecting any new features/improvements to the framework

@skaparelos skaparelos requested a review from wadewilliams as a code owner April 6, 2023 11:52
@skaparelos skaparelos changed the title Updated filters.py Support views with no model Apr 6, 2023
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.

2 participants