diff options
| author | sage <me@laymonage.com> | 2025-04-27 08:03:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-27 09:03:35 +0200 |
| commit | fb427e467ca2bb9f1363ef22eff2426f614faa91 (patch) | |
| tree | 854b95bd493bdb745e7ce68f8f8205929586d5d1 | |
| parent | 7b394b9988b986429a4da4e60416e0f08ff649e5 (diff) | |
Fixed aggregation tests crash on databases that don't support JSONFields.
| -rw-r--r-- | tests/aggregation/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/aggregation/models.py b/tests/aggregation/models.py index 9f0997b014..6eed9b22fb 100644 --- a/tests/aggregation/models.py +++ b/tests/aggregation/models.py @@ -47,3 +47,6 @@ class Store(models.Model): class Employee(models.Model): work_day_preferences = models.JSONField() + + class Meta: + required_db_features = {"supports_json_field"} |
