diff options
| author | Tim Graham <timograham@gmail.com> | 2025-12-23 19:34:32 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-09 17:46:33 -0500 |
| commit | 226ca7b5ce283e1f891dbbbefb0afaebdaa09f28 (patch) | |
| tree | a9b1068ee193a1d6de95c8216986dd533ce0930e /django/db | |
| parent | 7cf1c22d4dfdd46f2082cfc55b714b68c4fd2de3 (diff) | |
Added DatabaseFeatures.supports_inspectdb.
Needed by MongoDB.
Diffstat (limited to 'django/db')
| -rw-r--r-- | django/db/backends/base/features.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py index 2031beaf8a..e8fa82aa21 100644 --- a/django/db/backends/base/features.py +++ b/django/db/backends/base/features.py @@ -400,6 +400,9 @@ class BaseDatabaseFeatures: supports_on_delete_db_default = True supports_on_delete_db_null = True + # Does the backend support the inspectdb management command? + supports_inspectdb = True + # Collation names for use by the Django test suite. test_collations = { "ci": None, # Case-insensitive. |
