Move UserSerializer definition into class to avoid error when extending LoginView: django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet
Move UserSerializer definition into class to avoid error when extending LoginView: django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet

James1345/django-rest-knox,James1345/django-rest-knox