How to validate person names? - Python/Django

前端 未结 4 371
清歌不尽
清歌不尽 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:17

    I don't think it is a good idea.

    What kind of names would you like to exclude? There is no international list of allowed characters for names and there is not much reason to disallow specific characters.

提交回复
热议问题