Giter VIP home page Giter VIP logo

django-registration-templates's Introduction

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. This is known to work with Django 3.2+ and django-registraion 3.0.

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.

django-registration-templates's People

Contributors

bkvirendra avatar macdhuibh avatar thisisthechris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-registration-templates's Issues

Template does not exist base.html

Template does not exist base.html

Referenced in actviate.html:

{% extends "base.html" %}
{% load i18n %}

{% block content %}

<p>{% trans "Account activation failed" %}</p>

{% endblock %}

activate.html uses {{ accounts }} which is for django-registration 0.7

I was looking at your templates and noticed that activate.html did {% if account %} ... but the current django-registration documentation does not mention the "account" variable being used by the activate.html template.

So I had a look at the source code of django-registration, and it appears the last time this variable was sent to this template was django-registration 0.7 which is now quite old.

According to the django-registration 1.0 as well as 0.8 documentation, the activate.html template is now only used if the activation fails (its under the quick start section), so it should only show an error message now I think.

password_reset_email.txt is missing

Request Method: | POST
-- | --
http://849f598a.eu.ngrok.io/accounts/password/reset/
1.11.13
TemplateDoesNotExist
registration/password_reset_email.txt
/home/antonio/anaconda3/envs/myhome-cloud/lib/python3.6/site-packages/django/template/loader.py in get_template, line 25
/home/antonio/anaconda3/envs/myhome-cloud/bin/python
3.6.5
['/home/antonio/workspace-legrand/myhome-cloud/mhc',  '/home/antonio/anaconda3/envs/myhome-cloud/lib/python36.zip',  '/home/antonio/anaconda3/envs/myhome-cloud/lib/python3.6',  '/home/antonio/anaconda3/envs/myhome-cloud/lib/python3.6/lib-dynload',  '/home/antonio/.local/lib/python3.6/site-packages',  '/home/antonio/anaconda3/envs/myhome-cloud/lib/python3.6/site-packages']
Mon, 28 May 2018 17:32:34 +0200


License?

I just checked the project and couldn't find a license. Could you please add one?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.