{ "info": { "author": "Chris Chen", "author_email": "gzerone@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "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": "django-valueinlist-filter\n=========================\n\nQueryset can be filtered by a given list on the django admin page, just like: qs.filter(field__in=[list]).\n\nInstallation\n------------\n\n [sudo] pip install django-valueinlist-filter\n\n\nAdd valueinlist_filter to settings.INSTALLED_APPS:\n\n INSTALLED_APPS = (\n ...\n 'valueinlist_filter'\n )\n\nAnd then, set a CharField field in a model like this:\n\n class Model(models.Model):\n ...\n serial_number = models.CharField(max_length=32)\n\n\nIf you want to filter the **serial_number** field by a given value list(split string by space), you can bind ValueInListFilter to this field:\n\n\n from valueinlist_filter.filter import ValueInListFilter\n from django.contrib import admin\n from models import Model\n\n class ModelAdmin(admin.ModelAdmin):\n list_filter = (\n ('serial_number', ValueInListFilter), # bind filter to CharField\n ...\n )\n\nFinally, you will get a textarea form on the filter side bar, the textarea's change event will trigger form.\n\nAdded a 'screenshot.png' picture.", "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/gzeronet/django-valueinlist-filter", "keywords": "django admin,django filter query,django value in list", "license": "License :: OSI Approved :: BSD License", "maintainer": null, "maintainer_email": null, "name": "django-valueinlist-filter", "package_url": "https://pypi.org/project/django-valueinlist-filter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-valueinlist-filter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/gzeronet/django-valueinlist-filter" }, "release_url": "https://pypi.org/project/django-valueinlist-filter/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Queryset can be filtered by a given list on the django admin page, just like: qs.filter(field__in=[list])", "version": "0.1.3" }, "last_serial": 813176, "releases": { "0.1": [ { "comment_text": "built for Linux-3.2.0-38-generic-i686-with-glibc2.7", "digests": { "md5": "745ee0fac90ea301ed84586ed38a5625", "sha256": "65d02b6feba9bd8a0a3b1f683c7b3845533e926f8b85d5012a661e483cba91eb" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.linux-i686.tar.gz", "has_sig": false, "md5_digest": "745ee0fac90ea301ed84586ed38a5625", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 3786, "upload_time": "2013-07-10T07:47:19", "url": "https://files.pythonhosted.org/packages/84/01/8af52707c2c8d99490d6443092cfbee6e1a4b9d4177b452ea3938f4b2bdb/django-valueinlist-filter-0.1.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "cd47142372cb97853bc9f5f80db32085", "sha256": "fc8673bd08ab32cadd1056582474ee6f830604f0bb07b1122183b9419f6fde8f" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.tar.gz", "has_sig": false, "md5_digest": "cd47142372cb97853bc9f5f80db32085", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2604, "upload_time": "2013-07-10T07:46:58", "url": "https://files.pythonhosted.org/packages/20/2b/a897574bbe37cfec85bf945447fedceda2be8668fad7e8a47aa351d1b7e5/django-valueinlist-filter-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "built for Linux-3.2.0-38-generic-i686-with-glibc2.7", "digests": { "md5": "ee3e2d585f82b26a9cb82cd149b9a1f3", "sha256": "9983101dcf47cb2e49556f26c022cd83aab2693f46f9e0027ca12b2335cacb0e" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.1.linux-i686.tar.gz", "has_sig": false, "md5_digest": "ee3e2d585f82b26a9cb82cd149b9a1f3", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 3958, "upload_time": "2013-07-11T02:02:29", "url": "https://files.pythonhosted.org/packages/92/58/69174bb36c47b56c827888141632d35a5e3b46b9b2c97076fe4c6c7a6766/django-valueinlist-filter-0.1.1.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "f2144ff9d0c74a844790867325a14b4d", "sha256": "57ee502980ff223c997988c82ea002d274012579730b6aad25b0ec4a2f2ffb56" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f2144ff9d0c74a844790867325a14b4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2993, "upload_time": "2013-07-11T02:02:21", "url": "https://files.pythonhosted.org/packages/81/47/676a5ccb354be26fce8a77a35894fc16be61e01251bc390bc10c9813bcf6/django-valueinlist-filter-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "built for Linux-3.2.0-38-generic-i686-with-glibc2.7", "digests": { "md5": "691a02ec03a12d74c54098a0ad137b4f", "sha256": "f61234dd27d7a4183151e6f964b1ff1c2422e15bd71f3ed44ed90340daa5f2dd" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.2.linux-i686.tar.gz", "has_sig": false, "md5_digest": "691a02ec03a12d74c54098a0ad137b4f", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 3989, "upload_time": "2013-07-11T02:18:01", "url": "https://files.pythonhosted.org/packages/9a/d2/8e82f0e2d2bd7c4f834a6a71671c0ae9208fd7811235c38dd281c9a9e165/django-valueinlist-filter-0.1.2.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "a060dec2fd7581f4c2f62c37185b21e2", "sha256": "d1e52c5a5440d008c1823d698983b1274d0ba2377a748553f642bcbdfec17986" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a060dec2fd7581f4c2f62c37185b21e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2013-07-11T02:17:53", "url": "https://files.pythonhosted.org/packages/ea/78/6afcd00d650a91955f00fe89edd65443898dc20c0a39afa5687aee5c83f7/django-valueinlist-filter-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "7b45024f0b44f0c37b5b07f7f72fc379", "sha256": "e9ed9c3b4eee0c2e96c3d2699250eb318fa6da5baba52fabb916e76c2fb14d26" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7b45024f0b44f0c37b5b07f7f72fc379", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2987, "upload_time": "2013-07-11T02:43:53", "url": "https://files.pythonhosted.org/packages/dd/fe/a76c71698afae9088e4b00c0320f6cb1ee203f1704837a7635ad27ca8320/django-valueinlist-filter-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b45024f0b44f0c37b5b07f7f72fc379", "sha256": "e9ed9c3b4eee0c2e96c3d2699250eb318fa6da5baba52fabb916e76c2fb14d26" }, "downloads": -1, "filename": "django-valueinlist-filter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7b45024f0b44f0c37b5b07f7f72fc379", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2987, "upload_time": "2013-07-11T02:43:53", "url": "https://files.pythonhosted.org/packages/dd/fe/a76c71698afae9088e4b00c0320f6cb1ee203f1704837a7635ad27ca8320/django-valueinlist-filter-0.1.3.tar.gz" } ] }