From 381e58ab1c3a5f1ec9b6273d3323724b2c376b57 Mon Sep 17 00:00:00 2001 From: Oskar Jaskolski Date: Wed, 28 Aug 2019 12:35:00 +0200 Subject: [PATCH] added import --- InvenTree/users/views.py | 1 + 1 file changed, 1 insertion(+) 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