mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-02-16 18:00:35 +03:00
Update README.md
This commit is contained in:
parent
4c611afd7f
commit
640ce1b970
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user