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

Revert "Fix api_view decorator with Django 4" #8297

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

tomchristie
Copy link
Member

Reverts #8291

@tomchristie
Copy link
Member Author

Okay, it would be better that we have something with the schema generation be not-quite-right with Django 4.0, than it is for us to break existing codebases (on Django 3.2 or lower, see #8294)

We can consider #8294 again, but I'd like a clearer understand of exactly what it fixes, so that we can attempt to make the same fix but with a more minimal footprint. All of that code is arcane dark magic, and I don't trust any of it. Let's tread more carefully this time.

@tomchristie tomchristie merged commit a780e80 into master Dec 15, 2021
@tomchristie tomchristie deleted the revert-8291-api_view__django_4 branch December 15, 2021 15:16
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
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.

None yet

1 participant