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

Regression in d992f4e3c2.
Backport of 3b9fe906bf from main
This commit is contained in:
Mariusz Felisiak 2021-09-23 10:36:30 +02:00
parent 1350187f8e
commit 715aa2db67
1 changed files with 0 additions and 3 deletions

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):