mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Update tests.py
This commit is contained in:
parent
d0f7e2eda6
commit
cb7719b59f
1 changed files with 0 additions and 5 deletions
|
@ -8,8 +8,3 @@ from .base import * # noqa
|
|||
SECRET_KEY = "test-key"
|
||||
|
||||
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}}
|
||||
|
||||
# Drop CSP middleware for Django 3.0 until it was fixed upstream
|
||||
# https://github.com/mozilla/django-csp/issues/129
|
||||
if django.get_version().startswith("3."):
|
||||
MIDDLEWARE.remove("csp.middleware.CSPMiddleware")
|
||||
|
|
Loading…
Reference in a new issue