{ "info": { "author": "Marc Widmer, Jonas Ohrstrom", "author_email": "marc@pbi.io, jonas@pbi.io", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# Django CharsLeft Widgets & Admin Mixin\n\nInspired from [django-charsleft-widget](https://github.com/timmyomahony/django-charsleft-widget/)\nby [Timmy O'Mahony](https://github.com/timmyomahony)\nand [django-charsleft-widget](https://github.com/bashu/django-charsleft-widget)\nby [Basil Shubin](https://github.com/bashu)\n\n\n*django-admin-charsleft* provides a simple way to add information to django's admin interface about the remaining\ncharacters for both `CharField` and `TextField` inputs, relying on the `max_length` attribute.\n\n*django-admin-charsleft* - as the name implies - is intended for the use inside [django-admin](), whereas the original\nprojects provide more generic widgets.\n\nIt plays nice with the default django-admin (>=1.9) - and also seamlessly integrates\nwith [django-slick-admin](https://github.com/palmbeach-interactive/django-slick-admin).\n\n### Screenshot\n\n![display example](docs/img/charsleft-example.png)\n\n\n\n### Installation\n\n\nUsing the latest version from PyPI:\n\n pip install django-admin-charsleft\n\nUsing this GitHub repository:\n\n pip install -e \"git://github.com/palmbeach-interactive/django-admin-charsleft.git#egg=django-admin-charsleft\"\n\n\nThen add `charsleft` to `INSTALLED_APPS`.\n\n\n\n\n### Usage\n\n#### As Admin Mixin\n\n*django-admin-charsleft* provides a `CharsLeftAdminMixin` class that can be used to extend your admin classes:\n\n\n from charsleft.admin import CharsLeftAdminMixin\n\n @admin.register(MyModel)\n class MyModelAdmin(CharsLeftAdminMixin, admin.ModelAdmin):\n ...\n\nThe mixin can be used on `admin.ModelAdmin` and as well on `admin.TabularInline` and `admin.StackedInline`.", "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/palmbeach-interactive/django-admin-charsleft/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-admin-charsleft", "package_url": "https://pypi.org/project/django-admin-charsleft/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-admin-charsleft/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/palmbeach-interactive/django-admin-charsleft/" }, "release_url": "https://pypi.org/project/django-admin-charsleft/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Widgets and admin mixin to display remaining characters in django admin.", "version": "0.0.5" }, "last_serial": 2515168, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "d349296d3bb0f412ad1683e27fe5c9aa", "sha256": "ecddbb4f9557caa3c881d6c33aef8bb10e40c9ec14d4d98d1345677afe887d13" }, "downloads": -1, "filename": "django-admin-charsleft-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d349296d3bb0f412ad1683e27fe5c9aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5070, "upload_time": "2016-12-12T21:57:24", "url": "https://files.pythonhosted.org/packages/97/ca/3943c53e5bea94f8c3e186f2babea9e1e7238aae39a9e3641e103ee02597/django-admin-charsleft-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d349296d3bb0f412ad1683e27fe5c9aa", "sha256": "ecddbb4f9557caa3c881d6c33aef8bb10e40c9ec14d4d98d1345677afe887d13" }, "downloads": -1, "filename": "django-admin-charsleft-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d349296d3bb0f412ad1683e27fe5c9aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5070, "upload_time": "2016-12-12T21:57:24", "url": "https://files.pythonhosted.org/packages/97/ca/3943c53e5bea94f8c3e186f2babea9e1e7238aae39a9e3641e103ee02597/django-admin-charsleft-0.0.5.tar.gz" } ] }