Debian Codegraph @

docs/headless/faq.rst

raw
1 Frequently Asked Questions
2 ==========================
3
4 My signup requires additional inputs, is that supported?
5 --------------------------------------------------------
6
7 Yes, though an important thing to keep in mind is that there is no one-to-one
8 mapping of headed forms to headless input payloads. For example, while having to
9 enter your password twice makes sense in a headed environment, it is pointless
10 from an API point of view. As a result, the headed forms that can be overridden
11 by means of ``ACCOUNT_FORMS`` play no role in the headless environment.
12
13 Instead of overriding the complete signup form via ``ACCOUNT_FORMS``, provide a
14 ``ACCOUNT_SIGNUP_FORM_CLASS`` as documented :doc:`here
15 <../account/configuration>` , listing the additional fields you need. These
16 fields will automatically show up in the headed signup form, and will
17 automatically be validated when posting payloads to the signup endpoint.