1
0
mirror of https://github.com/django/django.git synced 2025-07-07 19:29:12 +00:00

[4.0.x] Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.

Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
Backport of 3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946 from main
This commit is contained in:
Mariusz Felisiak 2021-09-23 10:36:30 +02:00
parent 1350187f8e
commit 715aa2db67

View File

@ -1999,9 +1999,6 @@ class NullBooleanField(BooleanField):
del kwargs['blank']
return name, path, args, kwargs
def get_internal_type(self):
return "NullBooleanField"
class PositiveIntegerRelDbTypeMixin:
def __init_subclass__(cls, **kwargs):