📜  如何在 django 表单中添加验证码 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:53.529000             🧑  作者: Mango

代码示例1
Using django-simple-captcha
Install django-simple-captcha via pip: pip install django-simple-captcha.
1. Add captcha to the INSTALLED_APPS in your settings.py.
2. Run python manage.py migrate.
3. Add an entry to your urls.py : urlpatterns += [ path('captcha/', include('captcha.urls')), ]
learn more at : django-simple-captcha.readthedocs.io