Skip to content
项目

macdhuibh/django-registration-templates

在 GitHub 查看

关于

通用模板,帮助你快速开始使用 django-registration。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

django-registration-templates

Background

This packages is purely for convenience. It is based on the following blog post and bitbucket repo:

https://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/
https://bitbucket.org/devdoodles/registration_templates/src

Both are fantastic resources. django-registration-templates adds a missing activation-complete template and {% csrf_token %} to all the forms.

The templates work with django-registration (5.x) and django-registration-redux. Please file an issue or pull request if you have any problems. This is known to work with Django 4.2+ and django-registration 5.x.

Usage

First clone the repo:

git clone https://github.com/macdhuibh/django-registration-templates.git

Then move the registration directory to your templates directory:

cd django-registration-templates
mv registration path/to/your/templates/

base.html and index.html are also included but most likely, you'll already have those present in your templates directory.

探索相关项目

加载中…