We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff3a84 commit c6026a9Copy full SHA for c6026a9
tests/settings.py
@@ -2,18 +2,16 @@
2
3
import django
4
5
+DEBUG = True
6
+
7
DATABASES = {
8
'default': {
9
'ENGINE': 'django.db.backends.sqlite3',
10
'NAME': ':memory:',
11
}
12
13
-CACHES = {
- 'default': {
14
- 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
15
- }
16
-}
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
17
18
MIDDLEWARE = [
19
'django.middleware.common.CommonMiddleware',
tests/templates/registration/login.html
@@ -0,0 +1,9 @@
1
+{% load i18n %}
+<form method="POST">
+ {% csrf_token %}
+ {{ form }}
+ <input type="hidden" name="next" value="{{ next }}">
+ <button>Login</button>
+</form>
0 commit comments