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
102 stars 25 forks source link

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

Closed chigby closed 3 years ago

chigby commented 3 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.