django-nested-inline
django-nested-inline copied to clipboard
Fix FieldDoesNotExist error for Django >= 3.1.2
trafficstars
In Django 3.1.2, the FieldDoesNotExist exception is not available in the django.db.models namespace, which causes errors to be thrown when adding a related model via the admin site, for example. This simple fix resolves that issue.
Fixes #123 . The linting error seems spurious.
Are you planning to merge it into master soon? Can I be of any help?
@chrischambers Please fix lint errors
I wanted to fix the linting issues, but the logs expired and cannot see what the errors were.
Replaced by #147