diff --git a/InvenTree/users/views.py b/InvenTree/users/views.py index 207d8a98dc..3f8347bf42 100644 --- a/InvenTree/users/views.py +++ b/InvenTree/users/views.py @@ -1,5 +1,6 @@ from rest_framework import generics, permissions from django.contrib.auth.models import User +from django.core.exceptions import ObjectDoesNotExist from .serializers import UserSerializer from rest_framework.authtoken.views import ObtainAuthToken