Add support for tests that use django.test.Client and that require a database, and use this support to test some of the wellknowns.views modules
This commit is contained in:
parent
380afe9831
commit
cbc24d4774
6 changed files with 44 additions and 1 deletions
4
lemoncurry/settings/test.py
Normal file
4
lemoncurry/settings/test.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from .base import *
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
SECURE_SSL_REDIRECT = False
|
Loading…
Add table
Add a link
Reference in a new issue