mirror of
https://github.com/django/django.git
synced 2025-09-04 17:50:44 +00:00
Fixed #22738 -- Abstracted boolean field type introspection
Thanks maxi for the report, Shai Berger for his help with the patch and Tim Graham for the review.
This commit is contained in:
parent
45840927d3
commit
dbdae3a755
5 changed files with 24 additions and 30 deletions
|
@ -178,7 +178,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
supports_regex_backreferencing = False
|
||||
supports_date_lookup_using_string = False
|
||||
can_introspect_binary_field = False
|
||||
can_introspect_boolean_field = False
|
||||
introspected_boolean_field_type = 'IntegerField'
|
||||
can_introspect_small_integer_field = True
|
||||
supports_timezones = False
|
||||
requires_explicit_null_ordering_when_grouping = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue