trivial: update FieldDoesNotExist import location for django 3.2 (#64300)

This commit is contained in:
Frédéric Péters 2022-04-18 16:55:24 +02:00
parent 668af5786e
commit 5e55e3cda7
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import logging
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import AnonymousUser
from django.db.models.fields import FieldDoesNotExist
from django.core.exceptions import FieldDoesNotExist
from django.utils.module_loading import import_string
from rest_framework import authentication, exceptions, status