Commit 69c625371522b846ebecd430323718c5eb1ea5b0

Authored by Sergio Oliveira
1 parent 398a28b4

Using new tz app

src/colab/custom_settings.py
... ... @@ -117,6 +117,7 @@ INSTALLED_APPS = INSTALLED_APPS + (
117 117 'proxy',
118 118 'search',
119 119 'badger',
  120 + 'tz',
120 121  
121 122 # Feedzilla and deps
122 123 'feedzilla',
... ... @@ -219,6 +220,7 @@ MIDDLEWARE_CLASSES = (
219 220 'django.middleware.clickjacking.XFrameOptionsMiddleware',
220 221 'django_mobile.middleware.MobileDetectionMiddleware',
221 222 'django_mobile.middleware.SetFlavourMiddleware',
  223 + 'tz.middleware.TimezoneMiddleware',
222 224 )
223 225  
224 226 # Add the django_browserid authentication backend.
... ...
src/templates/base.html
... ... @@ -178,6 +178,7 @@
178 178 {% conversejs_initialize %}
179 179 {% endif %}
180 180  
  181 + {% include "tz/set_utc_offset.html" %}
181 182 {% browserid_js %}
182 183 </body>
183 184 </html>
... ...