How to validate person names? - Python/Django

前端 未结 4 492
清歌不尽
清歌不尽 2021-01-21 13:28

I wish to create a validator for full names for one of my forms.

Unfortunately I am not sure the best way to go on about is, as it is not as trivial as:<

4条回答
  •  长情又很酷
    2021-01-21 14:03

    Depending on your version of python it might be re.UNICODE you are looking for?

    http://docs.python.org/library/re.html#re.UNICODE

提交回复
热议问题