From 5e55e3cda73f9c991f25d4dc79935f730e651118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 18 Apr 2022 16:55:24 +0200 Subject: [PATCH] trivial: update FieldDoesNotExist import location for django 3.2 (#64300) --- hobo/rest_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hobo/rest_authentication.py b/hobo/rest_authentication.py index 8be0099..3a383c0 100644 --- a/hobo/rest_authentication.py +++ b/hobo/rest_authentication.py @@ -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