freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
101 stars 29 forks source link

Add django-settings-export to template context processors #369

Closed chigby closed 2 years ago

chigby commented 2 years ago

Fixes #366

I've added the django-settings-export template context processor to where it needs to be. This is needed for analytics to actually be rendered in the template when ANALYTICS_ENABLED = True. Without it, that variable always evaluates to false and the result is the analytics code is not shown.