Skip to content

Fxlr8/django-registration-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 template seem to work fine with both django-registration and django-registration-redux. Please file an issue or pull request if you have any problems.

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/

All templates now inherit from base_registration.html which inherits from base.html. You can simply wrap html to all of your forms in some extra html without editing each and every file and keep base.html untouched

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

About

Generic templates to get you up and running with django-registration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%