Metadata-Version: 1.0
Name: django-easy-timezones
Version: 0.1.4
Summary: Easy timezones for Django (>=1.4) based on MaxMind GeoIP.
Home-page: https://github.com/Miserlou/django-easy-timezones
Author: Rich Jones
Author-email: rich@openwatch.net
License: Apache License
Description: ![Timezones. Yuck.](http://i.imgur.com/Qc2W47H.gif)
        
        django-easy-timezones
        =====================
        
        Easy timezones for Django (>=1.4) based on MaxMind GeoIP.
        
        Quick start
        -----------
        
        0. Install django-easy-timezones
        
            ```python
            pip install django-easy-timezones
            ```
        
        1. Add "easy-timezones" to your INSTALLED_APPS setting like this:
        
            ```python
            INSTALLED_APPS = (
              ...
              'easy_timezones',
            )
            ```
        
        2. Add EasyTimezoneMiddleware to your MIDDLEWARE_CLASSES 
        
            ```python
            MIDDLEWARE_CLASSES = (
              ...
              'easy_timezones.middleware.EasyTimezoneMiddleware',
            )
            ```
        
        3. Add a path to the [MaxMind GeoIP database](http://www.maxmind.com/en/geolocation_landing) ([direct
        link](https://raw.github.com/Miserlou/django-easy-timezones/master/GeoIP.dat) because I'm nice) in your settings file:
        
            ```python
            GEOIP_DATABASE = '/path/to/your/geoip/database/GeoIP.dat'
            ```
        
        4. Enable localtime in your templates.
        
            ```python
            {% load tz %}
                The UTC time is {{ object.date }}
            {% localtime on %}
                The local time is {{ object.date }}
            {% endlocaltime %}
            ```
        
        5. Twist one up, cause you're done, homie!
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
