summaryrefslogtreecommitdiff
path: root/pgweb/settings.py
diff options
context:
space:
mode:
authorMagnus Hagander2018-01-25 20:59:13 +0000
committerMagnus Hagander2018-01-25 20:59:13 +0000
commit0cb56d93554926d087dfb696f608f9b51bfc7cfc (patch)
tree208b180b049bee4ad4b263faa8ebb677d1a4d9be /pgweb/settings.py
parentd0aa8ac11910e7352d83dfe281afebb57cfde554 (diff)
Database:ify the list of security patches
This finally moves the patches into the db, which makes it a lot easier to filter patches in the views. It also adds the new way of categorising patches, which is assigning them a CVSSv3 score. For now, there are no public views to this, and the old static pages remain. This is so we can backfill all existing security patches before we make it public.
Diffstat (limited to 'pgweb/settings.py')
-rw-r--r--pgweb/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgweb/settings.py b/pgweb/settings.py
index c79ca50f..91a8bede 100644
--- a/pgweb/settings.py
+++ b/pgweb/settings.py
@@ -110,6 +110,7 @@ INSTALLED_APPS = [
'pgweb.contributors',
'pgweb.profserv',
'pgweb.lists',
+ 'pgweb.security',
'pgweb.sponsors',
'pgweb.survey',
'pgweb.misc',
@@ -159,6 +160,7 @@ LIST_ACTIVATORS=() # Servers that can activate lists
ARCHIVES_SEARCH_SERVER="archives.postgresql.org" # Where to post REST request for archives search
FRONTEND_SMTP_RELAY="magus.postgresql.org" # Where to relay user generated email
OAUTH={} # OAuth providers and keys
+PGDG_ORG_ID=-1 # id of the PGDG organisation entry
# Load local settings overrides
from settings_local import *