Skip to content

Commit

Permalink
minor formatting edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Hofstee committed May 9, 2022
1 parent f8edacd commit 7ed0b61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

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
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.

Expand All @@ -16,11 +16,11 @@ This is known to work with Django 3.2+ and django-registraion 3.0.

First clone the repo:

git clone https://github.com/macdhuibh/django-registration-templates.git
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/
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.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
{% load i18n %}

{% block content %}
Account Profile page
Account Profile Page
{% endblock %}
2 changes: 1 addition & 1 deletion django_registration_templates/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
{% load i18n %}

{% block content %}
Account Profile
Django Registration Template Page
{% endblock %}

0 comments on commit 7ed0b61

Please sign in to comment.