Update README.md

This commit is contained in:
Mateusz Sikora 2014-09-05 15:29:34 +02:00
parent 4c611afd7f
commit 640ce1b970

View File

@ -49,8 +49,8 @@ Installation
5. (optional) Lastly, this project accepts the following Django setting values. You can set the UserProfile model (do not define it if you are not using any UserProfile model) and/or create your own REST registration backend for django-registration (default is registration.backends.simple.views.RegistrationView)
REST_REGISTRATION_BACKEND = 'rest_auth.backends.rest_registration.RESTRegistrationView'
REST_PROFILE_MODULE = 'accounts.UserProfile'
REST_REGISTRATION_BACKEND = 'your_app.backends.rest_registration.RESTRegistrationView'
REST_PROFILE_MODULE = 'your_app.UserProfile'
6. Add rest_auth urls in your project root urls.py