Added more docstrings to forms and fields
This commit is contained in:
parent
26dd863af8
commit
d04a7121df
20 changed files with 79 additions and 9 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue