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
This commit is contained in:
Mikkel Madsen 2014-10-20 16:58:53 +02:00
parent 87a8e5865a
commit 81f435125b

View File

@ -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)