mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
We were using up a lot of events in our dev environments. (imported from commit 8413ecfa835cce0a231bdf437f37ad8cf12a9133)
16 lines
345 B
Python
16 lines
345 B
Python
from __future__ import absolute_import
|
|
|
|
from django.conf import settings
|
|
import simplejson
|
|
|
|
def add_settings(request):
|
|
return {
|
|
'full_navbar': settings.FULL_NAVBAR,
|
|
}
|
|
|
|
def add_metrics(request):
|
|
return {
|
|
'mixpanel_token': settings.MIXPANEL_TOKEN,
|
|
'enable_metrics': simplejson.dumps(settings.DEPLOYED),
|
|
}
|