{ "info": { "author": "Exotic Objects LLC", "author_email": "git@extc.co", "bugtrack_url": null, "classifiers": [], "description": "django-better-filter-widget\n===========================\n\nA better filter widget for foreign key relationships that also works on mobile devices. This was initially developed as a drop-in replacement for admin forms. It will work in a normal form but you'll have to include some css/js dependencies. I'll write about how to do that soon.\n\n\n\n# About\nDjango's [horizontal and vertical filter widget](http://i.imgur.com/RBgrm.png) is ugly, confusing to new users and completely broken on mobile devices. **django-better-filter-widget** is not magic and does not do real-time lookups like **django-selectable**. It's simply a nicer UI for filtering a list of things that, most importantly, actual works on mobile devices.\n\n\n# Installation\n\nNote: This project is brand spanking new and is still being tested. It was developed using django 1.6. It was tested in modern desktop and mobile browsers.\n\n**Install with pip**\n\n`pip install django-better-filter-widget`\n\n**settings.py**\n\nAdd 'better_filter_widget' to INSTALLED_APPS in your settings.py\n\n**admin.py**\n\nSpecify BetterFilterWidget as the widget for your field:\n\n\tfrom django import forms\n\tfrom django.contrib import admin\n\tfrom better_filter_widget import BetterFilterWidget\n\n\tclass MyModelForm(forms.ModelForm):\n\t \n\t class Meta(object):\n\t model = MyModel\n\t widgets = {\n\t 'my_field': BetterFilterWidget(),\n\t }\n\t \n\n\tclass MyModelAdmin(admin.ModelAdmin):\n\n\t form = MyModelForm\n\n\tadmin.site.register(MyModel, MyModelAdmin)\n \n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Exotic Objects\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "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/ExoticObjects/django-better-filter-widget", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-better-filter-widget", "package_url": "https://pypi.org/project/django-better-filter-widget/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-better-filter-widget/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ExoticObjects/django-better-filter-widget" }, "release_url": "https://pypi.org/project/django-better-filter-widget/0.4.2/", "requires_dist": null, "requires_python": null, "summary": "A better filter widget for foreign key relationships", "version": "0.4.2" }, "last_serial": 2308862, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "04adda929ac8fbfc5d15d07a1adb8645", "sha256": "a96884b64f5a86578398455f718222eaa7a24270d2115cc1488d610fb01cab7c" }, "downloads": -1, "filename": "django-better-filter-widget-0.2.tar.gz", "has_sig": false, "md5_digest": "04adda929ac8fbfc5d15d07a1adb8645", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4150, "upload_time": "2014-10-31T19:18:12", "url": "https://files.pythonhosted.org/packages/2b/82/dc6c814dd8e06f93b48117c0fd39ab521a875597c33f672e455173da8827/django-better-filter-widget-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "c20a87787c945e4024666057ff278821", "sha256": "876d61443ffb5609ae89b6736536b5858a797c163ec1e85c399d86d8e944f6e9" }, "downloads": -1, "filename": "django-better-filter-widget-0.3.tar.gz", "has_sig": false, "md5_digest": "c20a87787c945e4024666057ff278821", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5175, "upload_time": "2014-11-02T01:40:32", "url": "https://files.pythonhosted.org/packages/ea/40/dcf7573e54cbdd0450d1a52a5b4e2bb1c09e9ef8b03774c67a0a3d7aa7d8/django-better-filter-widget-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "5ade29f620fb25b848c198d8a48ac502", "sha256": "8c222e40a96fcfa40ab77a05005f008c56cff061981361f475c19c40d806d33e" }, "downloads": -1, "filename": "django-better-filter-widget-0.4.tar.gz", "has_sig": false, "md5_digest": "5ade29f620fb25b848c198d8a48ac502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2015-06-03T19:40:03", "url": "https://files.pythonhosted.org/packages/5c/c1/8a553a0951541ff48a8d6fc994e1f0ae72e9b607f07af6a44e04fb8dcb0b/django-better-filter-widget-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "7a5428e863d967f47969749ada4e76de", "sha256": "33e1ffb9105b26f644f5a558b4f1871477006b7e9eec4fe541d02db4555e43c4" }, "downloads": -1, "filename": "django-better-filter-widget-0.4.1.tar.gz", "has_sig": false, "md5_digest": "7a5428e863d967f47969749ada4e76de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5295, "upload_time": "2016-08-26T05:25:51", "url": "https://files.pythonhosted.org/packages/1d/37/2268b09e63c1d29f236ca961a7306049fadc7100e9a818576a10a1b9a55f/django-better-filter-widget-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "2f93813e0a79e2b6cccedb7413f2c8f1", "sha256": "21cfa80b1590d008ee72c94ea07227e4fecd51a2540f27931bd0e2c07fc9730e" }, "downloads": -1, "filename": "django-better-filter-widget-0.4.2.tar.gz", "has_sig": false, "md5_digest": "2f93813e0a79e2b6cccedb7413f2c8f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5297, "upload_time": "2016-08-28T01:28:47", "url": "https://files.pythonhosted.org/packages/04/23/4d7994523d7facf250434e463d6d909d3997a3047267cb11d624810696a8/django-better-filter-widget-0.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2f93813e0a79e2b6cccedb7413f2c8f1", "sha256": "21cfa80b1590d008ee72c94ea07227e4fecd51a2540f27931bd0e2c07fc9730e" }, "downloads": -1, "filename": "django-better-filter-widget-0.4.2.tar.gz", "has_sig": false, "md5_digest": "2f93813e0a79e2b6cccedb7413f2c8f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5297, "upload_time": "2016-08-28T01:28:47", "url": "https://files.pythonhosted.org/packages/04/23/4d7994523d7facf250434e463d6d909d3997a3047267cb11d624810696a8/django-better-filter-widget-0.4.2.tar.gz" } ] }