You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api_endpoints.rst
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,20 +51,9 @@ Registration
51
51
- /rest-auth/registration/ (POST)
52
52
53
53
- username
54
-
- password1
55
-
- password2
54
+
- password
56
55
- email
57
56
58
-
.. note:: This endpoint is based on ``allauth.account.views.SignupView`` and uses the same form as in this view. To override fields you have to create custom Signup Form and define it in django settings:
Copy file name to clipboardExpand all lines: docs/configuration.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,14 @@ Configuration
29
29
...
30
30
}
31
31
32
+
- **REST_AUTH_REGISTRATION_SERIALIZERS**
33
+
34
+
You can define your custom serializers for registration endpoint.
35
+
Possible key values:
36
+
37
+
- REGISTER_SERIALIZER - serializer class in ``rest_auth.register.views.RegisterView``, default value ``rest_auth.register.serializers.RegisterSerializer``
38
+
39
+
32
40
33
41
- **REST_SESSION_LOGIN** - Enable session login in Login API view (default: True)
0 commit comments