[4.0.x] Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.
Regression ind992f4e3c2
. Backport of3b9fe906bf
from main
This commit is contained in:
parent
1350187f8e
commit
715aa2db67
|
@ -1999,9 +1999,6 @@ class NullBooleanField(BooleanField):
|
||||||
del kwargs['blank']
|
del kwargs['blank']
|
||||||
return name, path, args, kwargs
|
return name, path, args, kwargs
|
||||||
|
|
||||||
def get_internal_type(self):
|
|
||||||
return "NullBooleanField"
|
|
||||||
|
|
||||||
|
|
||||||
class PositiveIntegerRelDbTypeMixin:
|
class PositiveIntegerRelDbTypeMixin:
|
||||||
def __init_subclass__(cls, **kwargs):
|
def __init_subclass__(cls, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue