tango with django ch12
来源:互联网 发布:linux远程访问数据库 编辑:程序博客网 时间:2024/06/05 05:10
User Authentication
install Django-Registration-Redux
sudo pip install django-registration-redux
修改installed_apps
INSTALLED_APPS = ( ... 'registration', )
config urls.py
url(r'^accounts/',include('registration.backends.simple.urls'))
write template
# 在templates下新建registration文件夹# 在registration中新建login, logout, registration_form.html,# registration_complete.html, password_change.html,password_change_done.html 文件名和url对应,^accounts/ ^password/change/$ [name='auth_password_change']对应password_change.html
0 0
- tango with django ch12
- tango with django ch6 Model
- tango with django ch7 MTV
- 学习Tango with django(1)
- 学习Tango with django(2)
- 学习Tango with django(3)
- tango with django chapter 4 Django Basics
- tango with django ch5 template&static file
- Django(1)Tango with Django过程中的问题
- django网站设计与规划【Tango with Django】
- 基于How To Tango With Django 1.7的实践(3)——Django Basics
- 基于How To Tango With Django 1.7的实践(1)
- 基于How To Tango With Django 1.7的实践(2)
- 基于How To Tango With Django 1.7的实践(5)——Models and Databases
- 基于How To Tango With Django 1.9的重新实践(0-5)
- 基于How To Tango With Django 1.9的重新实践(7)——Forms
- 基于How To Tango With Django 1.9的重新实践(8)——Templates
- 基于How To Tango With Django 1.9的重新实践(9)——User Authentication
- java IO总结(3)
- 【DP】HDU1176免费馅饼
- iOS中加密的使用
- 通过JS函数劫持自定义百度云分享提取码
- 计蒜客 11063 喝酒
- tango with django ch12
- java File 操作
- Redis的安装 一
- Java-Android
- 再探二分搜索
- fedora22+下的Matlab桌面启动项
- hdu 5672 String
- eclipse C language-桶排序quiz
- PHP中echo、print、print_r、printf、sprintf和var_dump的区别比较那些事!