django - django-registration,密码包含特殊字符
问题描述
我想创建一个登录/注册页面。我看到默认的 django 库不提供这样的功能(有什么原因吗?),但是库django-registration似乎可以帮助我。但是,我不喜欢密码允许字符的默认设置:Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only
. 事实上,我看不出有什么理由让网站强制用户使用没有特殊字符的密码@/./+/-/_
... 我可以更改此设置以便用户可以使用他想要的任何字符吗?
谢谢!
解决方案
推荐阅读
- python-3.x - NameError: name 'ntxtbox' 未定义,即使 ntxtbox 是一个全局变量
- python - 用 pandas 替换/删除部分字符串
- node.js - 使用 Express JS 后端反应原生应用程序定制?
- javascript - 谷歌标签管理器如何设置环境名称
- c++ - 什么是引用复制构造函数?
- linux - 这个高山版本遵循什么版本方案?
- c++ - 如何使我的“下标值”在 C++ 中成为一个数组
- swift - 在 onAppear() 中运行函数后,我的 @State 变量之一不会更新
- swift - 放大 GraphQL 错误未授权访问创建
- c# - 如何在调试中运行 .NET CORE MVC