{
"info": {
"author": "Rich Jones",
"author_email": "rich@openwatch.net",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": ".. figure:: http://i.imgur.com/Qc2W47H.gif\n :alt: Timezones. Yuck.\n\n Timezones. Yuck.\n\ndjango-easy-timezones |Build Status|\n====================================\n\nEasy IP-based timezones for Django (>=1.7) based on MaxMind GeoIP, with\nIPv6 support.\n\nQuick start\n-----------\n\n1. Install django-easy-timezones\n\n .. code:: python\n\n pip install django-easy-timezones\n\n2. Add \"easy-timezones\" to your INSTALLED\\_APPS setting like this:\n\n .. code:: python\n\n INSTALLED_APPS = (\n ...\n 'easy_timezones',\n )\n\n3. Add EasyTimezoneMiddleware to your MIDDLEWARE\\_CLASSES\n\n .. code:: python\n\n MIDDLEWARE_CLASSES = (\n ...\n 'easy_timezones.middleware.EasyTimezoneMiddleware',\n )\n\n4. (Optionally) Add a path to the `MaxMind GeoIP cities\n databases `__ (`direct\n link `__\n because I'm nice) in your settings file:\n\n .. code:: python\n\n GEOIP_DATABASE = '/path/to/your/geoip/database/GeoLiteCity.dat'\n GEOIPV6_DATABASE = '/path/to/your/geoip/database/GeoLiteCityv6.dat'\n\n5. Enable localtime in your templates.\n\n .. code:: python\n\n {% load tz %}\n The UTC time is {{ object.date }}\n {% localtime on %}\n The local time is {{ object.date }}\n {% endlocaltime %}\n\n6. Twist one up, cause you're done, homie!\n\nSignals\n-------\n\nYou can also use signals to perform actions based on the timezone\ndetection.\n\n1. To hook into the Timezone detection event to, say, save it to the\n request's user somewhere more permanent than a session, do something\n like this:\n\n .. code:: python\n\n from easy_timezones.signals import detected_timezone \n\n @receiver(detected_timezone, sender=MyUserModel)\n def process_timezone(sender, instance, timezone, **kwargs):\n if instance.timezone != timezone:\n instance.timezone = timezone\n instance.save()\n\n.. |Build Status| image:: https://travis-ci.org/Miserlou/django-easy-timezones.svg\n :target: https://travis-ci.org/Miserlou/django-easy-timezones",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/Miserlou/django-easy-timezones",
"keywords": null,
"license": "Apache License",
"maintainer": null,
"maintainer_email": null,
"name": "django-easy-timezones",
"package_url": "https://pypi.org/project/django-easy-timezones/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/django-easy-timezones/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/Miserlou/django-easy-timezones"
},
"release_url": "https://pypi.org/project/django-easy-timezones/0.8.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Easy timezones for Django (>=1.7) based on MaxMind GeoIP.",
"version": "0.8.0"
},
"last_serial": 2471496,
"releases": {
"0.1": [],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "56c708f72f63b1eca824cc14c19b430a",
"sha256": "adf62009b88745a033028a64102400f91f78b1686d3fdb66f0c13f822f4a82c2"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.1.macosx-10.7-intel.exe",
"has_sig": false,
"md5_digest": "56c708f72f63b1eca824cc14c19b430a",
"packagetype": "bdist_wininst",
"python_version": "any",
"requires_python": null,
"size": 65564,
"upload_time": "2013-07-17T07:34:00",
"url": "https://files.pythonhosted.org/packages/c3/6c/53ca986c21bad09fbee90c37278dfeef5361cf519a479b1b50ca17487055/django-easy-timezones-0.1.1.macosx-10.7-intel.exe"
},
{
"comment_text": "",
"digests": {
"md5": "2f3e59c2fde2345d1ae87a99555032a3",
"sha256": "a976b04de9e4088411c198bb104eaf7199e6f3c4e613311d7921eb22834a206c"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "2f3e59c2fde2345d1ae87a99555032a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2248,
"upload_time": "2013-07-17T07:33:48",
"url": "https://files.pythonhosted.org/packages/4c/c2/e9a971f4c2f5279f119a1f7d281f4dd69ec3f7f6baa16852259c981bda28/django-easy-timezones-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "5c787eea08c58d8565c0e370bad8c655",
"sha256": "a3b587c8583f16fa4df6113a5528d535c7bbcf2d4c027fbe24d29655d33dc0e1"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.2.macosx-10.7-intel.exe",
"has_sig": false,
"md5_digest": "5c787eea08c58d8565c0e370bad8c655",
"packagetype": "bdist_wininst",
"python_version": "any",
"requires_python": null,
"size": 65726,
"upload_time": "2013-07-17T07:37:54",
"url": "https://files.pythonhosted.org/packages/54/4c/d0e18d5a275dfe5e295156bed941a1283ed312172d67d932089b4b41d6b8/django-easy-timezones-0.1.2.macosx-10.7-intel.exe"
},
{
"comment_text": "",
"digests": {
"md5": "379bbd5ac0b820fcc53694cb304882e5",
"sha256": "960f7976b2869faa1e38ea8b0b54a17ed207b534fa3ffd2d8007e7f3f98c8737"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "379bbd5ac0b820fcc53694cb304882e5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6156,
"upload_time": "2013-07-17T07:37:44",
"url": "https://files.pythonhosted.org/packages/67/5d/53ed579d80267e07fd820e6d59911a923f4de86e64dcb91ac831c1a27b13/django-easy-timezones-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "bcf4525508f2fd87c37244e5715d9ce2",
"sha256": "64854ba72585e62ff35d4d152ecf9410e6323db1c285bdf15e22bd247d1b9d53"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.3.macosx-10.7-intel.exe",
"has_sig": false,
"md5_digest": "bcf4525508f2fd87c37244e5715d9ce2",
"packagetype": "bdist_wininst",
"python_version": "any",
"requires_python": null,
"size": 66712,
"upload_time": "2013-07-17T08:33:27",
"url": "https://files.pythonhosted.org/packages/80/19/cc5560f03fbc9806ddce27c430f0042063c287083405fb27e23a249bad26/django-easy-timezones-0.1.3.macosx-10.7-intel.exe"
},
{
"comment_text": "",
"digests": {
"md5": "afa09948ba6da2cf179ef1fb367dc94a",
"sha256": "1c267f44824562731e763facbbfc53094d99ddc8b4978d0fc649eea05dff9a58"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "afa09948ba6da2cf179ef1fb367dc94a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6212,
"upload_time": "2013-07-17T08:33:18",
"url": "https://files.pythonhosted.org/packages/2d/c1/bbc412d3d147c0ec51068f6763d723eeda2b40604aa7c76499ec110ad03c/django-easy-timezones-0.1.3.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "c2209ba6c4ecc5db86f0f41667ff01bf",
"sha256": "be0f5a68b5d0cc891ee6d0c40685a916c8fa2ee4e2521ceda0adcc54481a106e"
},
"downloads": -1,
"filename": "django-easy-timezones-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "c2209ba6c4ecc5db86f0f41667ff01bf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6274,
"upload_time": "2014-01-11T02:04:40",
"url": "https://files.pythonhosted.org/packages/2e/77/2d5dee490dc38a2b6b8a22786671aa1cb651e6f80d4d2ef77300325e10f1/django-easy-timezones-0.1.4.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "e792d099667ab4055bb7027923db5c30",
"sha256": "3244479b23f771e4c99630746b810c1c988b849f88ed441ece49e4ab9ac59a9f"
},
"downloads": -1,
"filename": "django-easy-timezones-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "e792d099667ab4055bb7027923db5c30",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6689,
"upload_time": "2014-01-11T20:03:39",
"url": "https://files.pythonhosted.org/packages/17/ee/2b6aac617bf641e300da57ee8c13b0918a68a0b8abaa3e5a20ce5e142557/django-easy-timezones-0.2.0.tar.gz"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "d1743b59268bdd9a6f36f06d31895b43",
"sha256": "d3ef42ee254b0cbc7821026c190c2dce23130d322a4f4ffa04a497c93f836481"
},
"downloads": -1,
"filename": "django-easy-timezones-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "d1743b59268bdd9a6f36f06d31895b43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7476,
"upload_time": "2015-11-09T19:16:45",
"url": "https://files.pythonhosted.org/packages/2e/32/adeb2d0d2c54710236aa2ca0a112c2376d5899a2d474fc581c362d9c78fd/django-easy-timezones-0.3.0.tar.gz"
}
],
"0.5.0": [
{
"comment_text": "",
"digests": {
"md5": "927736f597d9df287c0020b395a96df0",
"sha256": "deb3ac2e3212f46ad82332b97e47fc853bc4079a1cd92e7d611ea2b62ec113cd"
},
"downloads": -1,
"filename": "django-easy-timezones-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "927736f597d9df287c0020b395a96df0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11498272,
"upload_time": "2015-11-09T21:25:55",
"url": "https://files.pythonhosted.org/packages/df/e5/41de82a31c5493bcc97c1fdd90051b531ebe213865b7d97a764a428f94a8/django-easy-timezones-0.5.0.tar.gz"
}
],
"0.5.1": [
{
"comment_text": "",
"digests": {
"md5": "cc3f73b4d85941aadc336ab4ef0b2842",
"sha256": "0fd935d0f6598bc5e71cc5c562dda383d129669000b4a4b57ce38d3002f3708b"
},
"downloads": -1,
"filename": "django-easy-timezones-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "cc3f73b4d85941aadc336ab4ef0b2842",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11498445,
"upload_time": "2015-11-09T23:40:16",
"url": "https://files.pythonhosted.org/packages/75/05/5ea6d9eb5e41911fc53b3b2ef391fe73f163347b6900c9f7deba53202f75/django-easy-timezones-0.5.1.tar.gz"
}
],
"0.6.0": [
{
"comment_text": "",
"digests": {
"md5": "1189af9322802121194e98fef52c8366",
"sha256": "8033b7143351d307426ee7d76d0182de13aecc1b9f28520fbf64d7872e0ce53b"
},
"downloads": -1,
"filename": "django-easy-timezones-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "1189af9322802121194e98fef52c8366",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975237,
"upload_time": "2015-11-10T00:09:02",
"url": "https://files.pythonhosted.org/packages/6a/1f/957de1f27560ec916e1cfa170d72110aa76b3a985e07f3e6dc7bb23283c3/django-easy-timezones-0.6.0.tar.gz"
}
],
"0.6.1": [
{
"comment_text": "",
"digests": {
"md5": "d9ebd12f9075e170cd3c5022461832f8",
"sha256": "1ebad3e4bceec70d1d9264997a887e020041d933c745c0e2a42646d9b493fd4d"
},
"downloads": -1,
"filename": "django-easy-timezones-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "d9ebd12f9075e170cd3c5022461832f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975339,
"upload_time": "2015-11-10T00:16:42",
"url": "https://files.pythonhosted.org/packages/82/af/6fbd84c5c74f3ec573914d1221d0245d960116be3017fdee6e10ea3c7014/django-easy-timezones-0.6.1.tar.gz"
}
],
"0.6.2": [
{
"comment_text": "",
"digests": {
"md5": "0d58c8d447f1510060f9319e4b9d9491",
"sha256": "b4983a2e306904ff83b681e4ad9ead623621cf041b52c88fbe94adbc6b54333c"
},
"downloads": -1,
"filename": "django-easy-timezones-0.6.2.tar.gz",
"has_sig": false,
"md5_digest": "0d58c8d447f1510060f9319e4b9d9491",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975437,
"upload_time": "2015-11-11T05:45:15",
"url": "https://files.pythonhosted.org/packages/9d/54/bf7fbd2afbc06fa53322641e1c45435dc040baaf408e437ecf155505709a/django-easy-timezones-0.6.2.tar.gz"
}
],
"0.7.0": [
{
"comment_text": "",
"digests": {
"md5": "767b60e02efd7181e82a5d82d44cb93e",
"sha256": "52e10ebdb769b3f31690d9715603c96f69b7b79fc174a41ede8f99360d957b0c"
},
"downloads": -1,
"filename": "django_easy_timezones-0.7.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "767b60e02efd7181e82a5d82d44cb93e",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 9400,
"upload_time": "2016-02-15T01:13:30",
"url": "https://files.pythonhosted.org/packages/fa/97/209571be8db02e8b8e8e3ea69d88ccc7e2f5d5c21be7da21deeaa487c1d6/django_easy_timezones-0.7.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "111c17406f91c3c4b8ce67139417a452",
"sha256": "2101cdda3528715e04410f8c45310e2acfbfe4a55dd642f0b66442f617f90e77"
},
"downloads": -1,
"filename": "django-easy-timezones-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "111c17406f91c3c4b8ce67139417a452",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975454,
"upload_time": "2016-02-15T01:13:20",
"url": "https://files.pythonhosted.org/packages/5f/b7/7228faa680a26585e31e8642462bdd2086a253bf92a5c52dba9b25c7e31a/django-easy-timezones-0.7.0.tar.gz"
}
],
"0.8.0": [
{
"comment_text": "",
"digests": {
"md5": "9208236318fb8a367c5eac0fb9307861",
"sha256": "1c90f8a9731bf0762b6c7d239beb5b9434f45e8c9bbdc3586faa69851d00c434"
},
"downloads": -1,
"filename": "django_easy_timezones-0.8.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "9208236318fb8a367c5eac0fb9307861",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 9344,
"upload_time": "2016-11-20T10:54:07",
"url": "https://files.pythonhosted.org/packages/c7/a1/9aefa75fa468a986b7151d754d9f276eb43f088573a6a55962487cf565dc/django_easy_timezones-0.8.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "81978906eabc7fa2f1225132dcdb7a86",
"sha256": "d28a5e60263de39eeef72240dac01090a11f7212d942dfbd3b4ba4be7b2bf77e"
},
"downloads": -1,
"filename": "django-easy-timezones-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "81978906eabc7fa2f1225132dcdb7a86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975385,
"upload_time": "2016-11-20T10:54:00",
"url": "https://files.pythonhosted.org/packages/37/29/a7704dfb1941af1c2886136153ab2bae4261a01917bdfae0d6af028161ec/django-easy-timezones-0.8.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9208236318fb8a367c5eac0fb9307861",
"sha256": "1c90f8a9731bf0762b6c7d239beb5b9434f45e8c9bbdc3586faa69851d00c434"
},
"downloads": -1,
"filename": "django_easy_timezones-0.8.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "9208236318fb8a367c5eac0fb9307861",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 9344,
"upload_time": "2016-11-20T10:54:07",
"url": "https://files.pythonhosted.org/packages/c7/a1/9aefa75fa468a986b7151d754d9f276eb43f088573a6a55962487cf565dc/django_easy_timezones-0.8.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "81978906eabc7fa2f1225132dcdb7a86",
"sha256": "d28a5e60263de39eeef72240dac01090a11f7212d942dfbd3b4ba4be7b2bf77e"
},
"downloads": -1,
"filename": "django-easy-timezones-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "81978906eabc7fa2f1225132dcdb7a86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23975385,
"upload_time": "2016-11-20T10:54:00",
"url": "https://files.pythonhosted.org/packages/37/29/a7704dfb1941af1c2886136153ab2bae4261a01917bdfae0d6af028161ec/django-easy-timezones-0.8.0.tar.gz"
}
]
}