Added more docstrings to forms and fields

This commit is contained in:
Antonio de la Rosa 2022-05-06 19:40:16 +02:00
parent 26dd863af8
commit d04a7121df
20 changed files with 79 additions and 9 deletions

View file

@ -5,7 +5,9 @@ import crypt
import re
class UserNameField(PhangoField):
"""Field for save and check usernames"""
def check(self, value):
if not re.match("^[A-Za-z0-9_-]+$", value):