Breaking: drop support for api versions < 9 (#12284)

This commit is contained in:
shamoon authored and GitHub committed 2026-03-09 22:36:22 +00:00
1 parent 63cb75564e
commit 3e32e90355
6 files changed
+20 -278

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ REST_FRAMEWORK = {
"DEFAULT_VERSION": "10", # match src-ui/src/environments/environment.prod.ts
# Make sure these are ordered and that the most recent version appears
# last. See api.md#api-versioning when adding new versions.
"ALLOWED_VERSIONS": ["2", "3", "4", "5", "6", "7", "8", "9", "10"],
"ALLOWED_VERSIONS": ["9", "10"],
# DRF Spectacular default schema
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
}