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