Files
zulip/zephyr/context_processors.py
Keegan McAllister b81ef9cca7 Replace template variables static_{third,public} with hardcoded paths
So that the 500 error view will render properly, even though no variables are
set.  We keep the variable static_hidden, which by design is not used on the
500 page.

Fixes #240.

(imported from commit 3c7534f896479b7d7edbe5ef13958481e169a13c)
2012-10-31 18:43:44 -04:00

10 lines
226 B
Python

from django.conf import settings
def add_settings(context):
return {
'full_navbar': settings.FULL_NAVBAR,
# c.f. Django's STATIC_URL variable
'static_hidden': '/static/4nrjx8cwce2bka8r/',
}