mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed aggregation tests crash on databases that don't support JSONFields.
This commit is contained in:
parent
7b394b9988
commit
fb427e467c
1 changed files with 3 additions and 0 deletions
|
@ -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"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue