Closed danbaragan closed 5 years ago
Since django2.2 admin_url will be present in model dict with default None value and will make suit apply str methods on None. https://github.com/django/django/commit/a9f5652113f0721a7066e359ae28d14692ea3c47#diff-57866af2aff590165ffe4967107424fdR435
Please note that suit v2 doesn't seem to handle this either: https://github.com/darklow/django-suit/commit/04b7a141849c51ef22b20009dcf6b2de19437aa8
Fixed by https://github.com/darklow/django-suit/pull/731
Since django2.2 admin_url will be present in model dict with default None value and will make suit apply str methods on None. https://github.com/django/django/commit/a9f5652113f0721a7066e359ae28d14692ea3c47#diff-57866af2aff590165ffe4967107424fdR435
Please note that suit v2 doesn't seem to handle this either: https://github.com/darklow/django-suit/commit/04b7a141849c51ef22b20009dcf6b2de19437aa8