12
12
A form that creates a user, with no privileges, from the given username and password.
14
username = forms.RegexField(label=_("Username"), max_length=30, regex=r'^\w+$',
15
help_text = _("Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores)."),
14
username = forms.RegexField(label=_("Username"), max_length=30, regex=r'^[\w.@+-]+$',
17
17
password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput)