Add some docstrings
This commit is contained in:
parent
7cc3ba689f
commit
8e5b75e090
7 changed files with 42 additions and 4 deletions
|
@ -29,6 +29,10 @@ class WarnForm(forms.Form):
|
|||
|
||||
|
||||
class FederateSelect(forms.Form):
|
||||
"""
|
||||
Form used on the login page when CAS_FEDERATE is True
|
||||
allowing the user to choose a identity provider.
|
||||
"""
|
||||
provider = forms.ChoiceField(
|
||||
label=_('Identity provider'),
|
||||
# with use a lambda abstraction to delay the access to settings.CAS_FEDERATE_PROVIDERS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue