Commit c8577e54 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[ui/registration] updated doc in forms.txt

parent 1f4b9004
Pipeline #10467 failed with stage
in 11 minutes and 5 seconds
...@@ -23,7 +23,7 @@ requires the password to be entered twice to catch typos. ...@@ -23,7 +23,7 @@ requires the password to be entered twice to catch typos.
Subclasses should feel free to add any additional validation they Subclasses should feel free to add any additional validation they
need, but should either preserve the base ``save()`` or implement a need, but should either preserve the base ``save()`` or implement a
``save()`` method which returns a ``User``. ``save()`` method which returns a ``User``.
Fields: Fields:
``username`` ``username``
...@@ -40,6 +40,10 @@ Fields: ...@@ -40,6 +40,10 @@ Fields:
``password2`` ``password2``
The password, again, to catch typos. The password, again, to catch typos.
``godfather``
The godfather that will validate this account.
Non-validation methods: Non-validation methods:
...@@ -71,6 +75,6 @@ implementations of useful customizations: ...@@ -71,6 +75,6 @@ implementations of useful customizations:
Subclass of ``RegistrationForm`` which disallows registration with Subclass of ``RegistrationForm`` which disallows registration with
email addresses from popular free webmail services; moderately email addresses from popular free webmail services; moderately
useful for preventing automated spam registrations. useful for preventing automated spam registrations.
To change the list of banned domains, subclass this form and To change the list of banned domains, subclass this form and
override the attribute ``bad_domains``. override the attribute ``bad_domains``.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment