mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-03-12 13:25:46 +03:00
commit
49ccfe92a9
|
@ -36,7 +36,7 @@ Configuration
|
||||||
You can define your custom serializers for registration endpoint.
|
You can define your custom serializers for registration endpoint.
|
||||||
Possible key values:
|
Possible key values:
|
||||||
|
|
||||||
- REGISTER_SERIALIZER - serializer class in ``rest_auth.register.views.RegisterView``, default value ``rest_auth.register.serializers.RegisterSerializer``
|
- REGISTER_SERIALIZER - serializer class in ``rest_auth.register.views.RegisterView``, default value ``rest_auth.registration.serializers.RegisterSerializer``
|
||||||
|
|
||||||
- **REST_AUTH_TOKEN_MODEL** - model class for tokens, default value ``rest_framework.authtoken.models``
|
- **REST_AUTH_TOKEN_MODEL** - model class for tokens, default value ``rest_framework.authtoken.models``
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ You're good to go now!
|
||||||
Registration (optional)
|
Registration (optional)
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install django-rest-auth[extras]`` or ``pip install django-rest-auth[with_social]``.
|
1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install django-rest-auth[with_social]``.
|
||||||
|
|
||||||
2. Add ``allauth``, ``allauth.account`` and ``rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py:
|
2. Add ``allauth``, ``allauth.account`` and ``rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user