Skip to content

Commit 52f502b

Browse files
author
Anders Hofstee
committed
django_registration_templates is now a simple django app to make it easier to override django.auth, see the README.md
1 parent 1101eda commit 52f502b

29 files changed

+27
-0
lines changed
File renamed without changes.

Diff for: django_registration_templates/admin.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

Diff for: django_registration_templates/apps.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class DjangoRegistrationTemplatesConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'django_registration_templates'

Diff for: django_registration_templates/migrations/__init__.py

Whitespace-only changes.

Diff for: django_registration_templates/models.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.
File renamed without changes.
File renamed without changes.

Diff for: django_registration_templates/templates/registration/password_reset_email.txt

Whitespace-only changes.

Diff for: django_registration_templates/tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

Diff for: django_registration_templates/urls.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from django.urls import path
2+
from django_registration_templates import views
3+
4+
5+
urlpatterns = [
6+
path('index_template/', views.Index.as_view(), name='index_template'),
7+
]

Diff for: django_registration_templates/views.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.views.generic import TemplateView
2+
3+
4+
class Index(TemplateView):
5+
template_name = 'index.html'

0 commit comments

Comments
 (0)