东方耀AI技术分享

标题: 27、python_django_web开发_用户注册页面配置与Django验证码组件... [打印本页]

作者: 东方耀    时间: 2017-10-28 17:31
标题: 27、python_django_web开发_用户注册页面配置与Django验证码组件...


27、python_django_web开发_用户注册页面配置与Django验证码组件的使用_笔记


用户注册功能
href="{% url 'register' %}">注册
href="{% url 'login' %}">登录</a>
<html>
{% load staticfiles %}
<head>
href="{% static 'css/reset.css' %}"   这种方法方便以后改变了静态文件路径的情况
专门来做django验证码的 开发库 github  django-simple-captcha
https://github.com/mbi/django-simple-captcha
pip install  django-simple-captcha==0.4.6
from django.contrib.auth.hashers import make_password


作者: zhongxuan    时间: 2018-2-28 20:30
ew


8375
作者: zhongxuan    时间: 2018-2-28 21:08
huifu

xuexi  

kaishi


作者: Tinux    时间: 2018-8-17 14:50
好复杂!慢慢学
作者: xiaodan    时间: 2018-12-28 11:08
谢谢老师
作者: xiaodan    时间: 2018-12-28 11:09
谢谢老师




欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/) Powered by Discuz! X3.4