mirror of
				https://github.com/Tivix/django-rest-auth.git
				synced 2025-11-04 09:37:35 +03:00 
			
		
		
		
	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:
		
							parent
							
								
									87a8e5865a
								
							
						
					
					
						commit
						81f435125b
					
				| 
						 | 
					@ -11,7 +11,7 @@ from rest_framework.authentication import SessionAuthentication, \
 | 
				
			||||||
from rest_framework.authtoken.models import Token
 | 
					from rest_framework.authtoken.models import Token
 | 
				
			||||||
from rest_framework.generics import RetrieveUpdateAPIView
 | 
					from rest_framework.generics import RetrieveUpdateAPIView
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from app_settings import (TokenSerializer, UserDetailsSerializer,
 | 
					from .app_settings import (TokenSerializer, UserDetailsSerializer,
 | 
				
			||||||
    LoginSerializer, PasswordResetSerializer, PasswordResetConfirmSerializer,
 | 
					    LoginSerializer, PasswordResetSerializer, PasswordResetConfirmSerializer,
 | 
				
			||||||
    PasswordChangeSerializer)
 | 
					    PasswordChangeSerializer)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user