Django-allauth: custom registration form for socialaccount

I found in this question (and the document) that you can use ACCOUNT_SIGNUP_FORM_CLASS to determine some kind of custom form field that was presented during account registration. However, this form does not appear in the flow of use of the social account (at least not by default).

Is there a way to get it or is it easy to configure some handlers so that I can enter such a step? Otherwise, this would give a completely unified registration process (people using social accounts would have to leave and fill out the information later on the screen of some settings, and not just ask about it once).

+4
source share
1 answer

At the moment, you can define SOCIALACCOUNT_FORMS in your settings to set up your own social registration form:

SOCIALACCOUNT_FORMS = { 'signup': 'myproject.myapp.forms.CustomSocialSignupForm' } 
0
source

Source: https://habr.com/ru/post/1496245/


All Articles