From c8577e54f7a4e9852f1c00fc54c431246ddd6bf5 Mon Sep 17 00:00:00 2001 From: Flavio Tarsetti <flavio.tarsetti@idiap.ch> Date: Thu, 8 Jun 2017 15:02:50 +0200 Subject: [PATCH] [ui/registration] updated doc in forms.txt --- beat/web/ui/registration/docs/forms.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/beat/web/ui/registration/docs/forms.txt b/beat/web/ui/registration/docs/forms.txt index e779d433e..5435413ae 100644 --- a/beat/web/ui/registration/docs/forms.txt +++ b/beat/web/ui/registration/docs/forms.txt @@ -23,7 +23,7 @@ requires the password to be entered twice to catch typos. Subclasses should feel free to add any additional validation they need, but should either preserve the base ``save()`` or implement a ``save()`` method which returns a ``User``. - + Fields: ``username`` @@ -40,6 +40,10 @@ Fields: ``password2`` The password, again, to catch typos. +``godfather`` + The godfather that will validate this account. + + Non-validation methods: @@ -71,6 +75,6 @@ implementations of useful customizations: Subclass of ``RegistrationForm`` which disallows registration with email addresses from popular free webmail services; moderately useful for preventing automated spam registrations. - + To change the list of banned domains, subclass this form and override the attribute ``bad_domains``. -- GitLab