summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorjelle van der Waa <jelle@vdwaa.nl>2018-02-18 10:33:52 +0100
committerAngel Velásquez <angvp@archlinux.org>2018-02-18 04:33:52 -0500
commitf3e26eb15a54e74a375e395200bfca3d1664adaf (patch)
treeee946542451e505612a6739ec04073922bf59036 /settings.py
parent875d50d8f23069515b865b28044fb572a14049ed (diff)
downloadarchweb-f3e26eb15a54e74a375e395200bfca3d1664adaf.tar.gz
archweb-f3e26eb15a54e74a375e395200bfca3d1664adaf.zip
Misc fixes (#84)
* Update coveragerc to exclude newly located tests There are now tests under main/tests/* etc, which should be omitted for coverage. * omit settings from coverage settings and local_settings aren't interesting for coverage, omit them. * remove leftover secure context processor The secure context processor was used to determine if the cdn served assets should be loaded over https or http. Since assets are no longer served with a cdn and the whole site is loaded over https these days, this code is dead and can be removed. * packages: Add test for flagging packages out of date Add simple test cases for flagging packages out of date, should later be improved to query the Package model for packages and use that data instead of hardcoding.
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 182b8e3b..5919b86b 100644
--- a/settings.py
+++ b/settings.py
@@ -180,7 +180,6 @@ TEMPLATES = [
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.contrib.messages.context_processors.messages',
- 'main.context_processors.secure',
],
}
}