{ "info": { "author": "Tomas Zulberti", "author_email": "tzulberti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://travis-ci.org/tzulberti/django-datefilterspec.svg?branch=master\n :alt: Build status\n :target: https://travis-ci.org/tzulberti/django-datefilterspec\n\ndjango-daterange-filter\n=======================\n\nAdd the option to filter by a custom date range on the admin. This allows\nto inputs to be used to get the custom date range filters.\n\nSee datefilter.png of a screenshot of how this is seen on the admin.\n\n**IMPORTANT:** this will work with Django 1.4. I won't work with previous Django\nversions.\n\nInstallation\n------------\n\nUse pip/easy_install\n\n.. code-block:: bash\n\n pip install django-daterange-filter\n\n\nAdd daterange_filter to settings.INSTALLED_APP. For this, edit the setup.py\nfile:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'daterange_filter'\n )\n\nAfter this, if you have a model like this one:\n\n.. code-block:: python\n\n class MyModel(models.Model):\n ...\n foo = models.CharField(max_length=1, choices=BAR_CHOICES)\n created_at = models.DateField()\n \n\nTo allow to filter the **created_at** field using the date ranges, you must\nedit the admin.ModelAdmin referenced to that class:\n\n.. code-block:: python\n\n from daterange_filter.filter import DateRangeFilter\n from django.contrib import admin\n from models import MyModel\n\n class MyModelAdmin(admin.ModelAdmin):\n list_filter = (\n 'foo',\n ('created', DateRangeFilter), # this is a tuple\n ...\n )\n\n\nDateRangeFilter honours localization and supports local date \nformats for filtering.\n\nRunning tests\n-------\nFirst :code:`pip install -r requirements.txt`, then :code:`python ./runtests.py`\n\nIf you wanna run tests on all supported Python/Django versions, execute :code:`tox`.\n\nChanges \n-------\n\n1.3.0:\n\n* Fixed calendar icon moving to a new line in Django 1.9 (Special thanks to https://github.com/farooqaaa)\n* fix daterange_filter function (Special thanks to https://github.com/ZamorakLin)\n\n1.1.1:\n\n* Special thanks to: https://github.com/mightygraf\n\n0.2.0:\n\n* Updated README\n* Works with DateTime (special thanks to Andrea Rabbaglietti)\n\n0.1.1:\n\n* Removed the custom DateRangeField\n* Improved i18n\n* Special thanks to: https://github.com/DXist", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tzulberti/django-datefilterspec", "keywords": "django admin,django date range", "license": "License :: OSI Approved :: BSD License", "maintainer": null, "maintainer_email": null, "name": "django-daterange-filter", "package_url": "https://pypi.org/project/django-daterange-filter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-daterange-filter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tzulberti/django-datefilterspec" }, "release_url": "https://pypi.org/project/django-daterange-filter/1.3.0/", "requires_dist": null, "requires_python": null, "summary": "Allow to filter by a custom date range on the Django Admin", "version": "1.3.0" }, "last_serial": 3707285, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "be6c028a8f0c4b5a5d3376f6ad85ca87", "sha256": "b6c3a41c83f9cd06619ae84d5221d7809b5de028c612fd2d48628af8fc710d93" }, "downloads": -1, "filename": "django-daterange-filter-0.0.1.tar.gz", "has_sig": false, "md5_digest": "be6c028a8f0c4b5a5d3376f6ad85ca87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3414, "upload_time": "2012-07-03T05:32:31", "url": "https://files.pythonhosted.org/packages/39/ce/cb2f2cbc2d45c09c7ab26f9f6bfbd9982c01480b124128f650df85ee2409/django-daterange-filter-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d5ba853546727a4fae1ef037dbc66aea", "sha256": "48ee7e39df8256cb37bea69e040c641b8cb749198b26cd71dbaa42354339de4a" }, "downloads": -1, "filename": "django-daterange-filter-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d5ba853546727a4fae1ef037dbc66aea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3422, "upload_time": "2012-07-12T02:30:46", "url": "https://files.pythonhosted.org/packages/c4/aa/fd03c3d2f51cd9c6d5ea1964b290175201fe66dc56a21db2082b1b114444/django-daterange-filter-0.0.2.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2cde918b4489c4df21afef1ad7cad7a6", "sha256": "f31a675fe7c6b32b2bdaf5dac194b1abe02b5dd6ade76d1117ec0344917541d6" }, "downloads": -1, "filename": "django-daterange-filter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2cde918b4489c4df21afef1ad7cad7a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2914, "upload_time": "2012-08-23T17:25:17", "url": "https://files.pythonhosted.org/packages/cd/1d/9639ca18230ffa2fd82fcdadbef17b96ce42b042df28a465277a26885e1c/django-daterange-filter-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "85f81da1a91572a6708d5584be7dd652", "sha256": "5c5d497649781c59f4dd782856837c64f701bdfc128aab835e37c83d1b079d18" }, "downloads": -1, "filename": "django-daterange-filter-0.2.0.tar.gz", "has_sig": false, "md5_digest": "85f81da1a91572a6708d5584be7dd652", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3411, "upload_time": "2013-05-30T11:02:23", "url": "https://files.pythonhosted.org/packages/cc/32/5d72f43a955e69dcf8c3b2251e40193a5644fd96123e8f79e014f3aec0a2/django-daterange-filter-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "0e9d6c3b8867759942bc6a93e74415c5", "sha256": "3043419d40b1258b3e66629fe560f5aa995d42a7e04ccaa5daec1c8adc564cec" }, "downloads": -1, "filename": "django-daterange-filter-0.2.1.tar.gz", "has_sig": false, "md5_digest": "0e9d6c3b8867759942bc6a93e74415c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3405, "upload_time": "2013-06-06T22:05:38", "url": "https://files.pythonhosted.org/packages/97/44/ee54a3f3257971fd71410b86374935c2e90ac689ebfa90f981024f770b89/django-daterange-filter-0.2.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d7fce248b6dc441c4bdb2ef1f8691988", "sha256": "c9098b50d274ed13913298a4a02eb3e6ca28bbdcdcd76414eee4945087048546" }, "downloads": -1, "filename": "django-daterange-filter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d7fce248b6dc441c4bdb2ef1f8691988", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3598, "upload_time": "2014-05-28T00:53:28", "url": "https://files.pythonhosted.org/packages/80/c4/c7b4f029b696cca3371664830fd003f64087edd022262ecdc334eacf3891/django-daterange-filter-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a049a17e920f738969d2a4ba6647fd99", "sha256": "fd7f3d6a2f5dc7a72f4088e3251263fb291d3814ac93b7ad29534f0612b33822" }, "downloads": -1, "filename": "django-daterange-filter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a049a17e920f738969d2a4ba6647fd99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3620, "upload_time": "2015-02-25T10:03:21", "url": "https://files.pythonhosted.org/packages/04/7b/1806810362542de4914e1b5038c9b079b1f5b3ba039c7da402c0461ba2be/django-daterange-filter-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "72a013539f13232600cd748907c995d8", "sha256": "ff6d02786007b7f5d415984734b2337994ee6f6a63e1bfa2183f3a1def06f8c1" }, "downloads": -1, "filename": "django-daterange-filter-1.1.1.tar.gz", "has_sig": false, "md5_digest": "72a013539f13232600cd748907c995d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4044, "upload_time": "2015-02-25T10:03:55", "url": "https://files.pythonhosted.org/packages/94/fb/cd73e30eb8afedea5466607e742fa032e73eb58c0a168eed97d55b76d021/django-daterange-filter-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "10300b584190ee080c1bfa6bd63b1b17", "sha256": "9eae4cabfee4553c0d7e583a9065a369411042a650a811f2b4a7e795db6586eb" }, "downloads": -1, "filename": "django-daterange-filter-1.2.0.tar.gz", "has_sig": false, "md5_digest": "10300b584190ee080c1bfa6bd63b1b17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4806, "upload_time": "2015-10-09T00:58:02", "url": "https://files.pythonhosted.org/packages/8e/09/24f6fc6f03858a89d5404d02f6db0fa588182a275642fb2070e2af7f1875/django-daterange-filter-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "a17d266fc1389540f72ebada80025340", "sha256": "f31aee8f747f36b3a25fa332ad5c3e170e87ba97e957aacfa196c1cd68ac336e" }, "downloads": -1, "filename": "django-daterange-filter-1.3.0.tar.gz", "has_sig": false, "md5_digest": "a17d266fc1389540f72ebada80025340", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5092, "upload_time": "2016-05-04T01:01:35", "url": "https://files.pythonhosted.org/packages/c5/3d/7756a4583faf71d4a5d2a3f71290095d61b9b8cbebb2ae9dcef4f4405909/django-daterange-filter-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a17d266fc1389540f72ebada80025340", "sha256": "f31aee8f747f36b3a25fa332ad5c3e170e87ba97e957aacfa196c1cd68ac336e" }, "downloads": -1, "filename": "django-daterange-filter-1.3.0.tar.gz", "has_sig": false, "md5_digest": "a17d266fc1389540f72ebada80025340", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5092, "upload_time": "2016-05-04T01:01:35", "url": "https://files.pythonhosted.org/packages/c5/3d/7756a4583faf71d4a5d2a3f71290095d61b9b8cbebb2ae9dcef4f4405909/django-daterange-filter-1.3.0.tar.gz" } ] }