maxtepkeev / architect

A set of tools which enhances ORMs written in Python with more features
Other
391 stars 57 forks source link

import fix for django3.1 #74

Closed hjoonkim closed 4 years ago

hjoonkim commented 4 years ago

FieldDoesNotExist is removed from django.db.models.fields in django3.1.

# When the _meta object was formalized, this exception was moved to
# django.core.exceptions. It is retained here for backwards compatibility
# purposes.
from django.core.exceptions import FieldDoesNotExist