Load signal handlers from an app instead of urllist
authorMagnus Hagander <magnus@hagander.net>
Sun, 14 Jun 2020 15:44:31 +0000 (17:44 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 3 Jul 2020 15:57:25 +0000 (17:57 +0200)
commit7f8a0a56dd1fb5dedb5c04a872ce940ae7c891b4
tree5ff0e46253699d993f4b4fe3886505556f7da198
parent95e4ef533d056c7e803a48d18fe0cdbb0d907c69
Load signal handlers from an app instead of urllist

This is the place to load them to make sure they always load. This means
we can also now remove a hardcoded special varnish purging in the CVE
crawler script, because all saves including those from cron jobs will
now fire the signals and thus the automatic varnish purges.
pgweb/core/apps.py [new file with mode: 0644]
pgweb/security/management/commands/update_cve_links.py
pgweb/settings.py
pgweb/urls.py