From 81f435125bd274e7786cf9e019a768dd1cafc9d3 Mon Sep 17 00:00:00 2001 From: Mikkel Madsen Date: Mon, 20 Oct 2014 16:58:53 +0200 Subject: [PATCH] Fix app_settings import The url paths ``` url(r'^rest-auth/', include('rest_auth.urls')), url(r'^rest-auth/registration/', include('rest_auth.registration.urls')), ``` Weren't working for me, I kept getting an ImportError `No module named 'app_settings'`. This fixes that issue for me on Win7 x64, Python 3.4, Django 1.7 --- rest_auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_auth/views.py b/rest_auth/views.py index c9f2214..81272fe 100644 --- a/rest_auth/views.py +++ b/rest_auth/views.py @@ -11,7 +11,7 @@ from rest_framework.authentication import SessionAuthentication, \ from rest_framework.authtoken.models import Token from rest_framework.generics import RetrieveUpdateAPIView -from app_settings import (TokenSerializer, UserDetailsSerializer, +from .app_settings import (TokenSerializer, UserDetailsSerializer, LoginSerializer, PasswordResetSerializer, PasswordResetConfirmSerializer, PasswordChangeSerializer)