{ "info": { "author": "Basil Shubin", "author_email": "basil.shubin@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", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-charsleft-widget\n=======================\n\ndjango-charsleft-widget is a custom widget that adds a input clearing\nbutton on any input fields that are using it. It clears the value, and\nreturns focus to that field.\n\nAuthored by `Basil Shubin `_\n\n.. image:: https://img.shields.io/pypi/v/django-charsleft-widget.svg\n :target: https://pypi.python.org/pypi/django-charsleft-widget/\n\n.. image:: https://img.shields.io/pypi/dm/django-charsleft-widget.svg\n :target: https://pypi.python.org/pypi/django-charsleft-widget/\n\n.. image:: https://img.shields.io/github/license/bashu/django-charsleft-widget.svg\n :target: https://pypi.python.org/pypi/django-charsleft-widget/\n\n.. image:: https://img.shields.io/travis/bashu/django-charsleft-widget.svg\n :target: https://travis-ci.org/bashu/django-charsleft-widget/\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install django-charsleft-widget\n\nExternal dependencies\n~~~~~~~~~~~~~~~~~~~~~\n\n* jQuery - this is not included in the package since it is expected\n that in most scenarios this would already be available.\n\nSetup\n-----\n\nAdd ``charsleft_widget`` to ``INSTALLED_APPS``:\n\n.. code-block:: python\n\n INSTALLED_APPS += (\n 'charsleft_widget',\n )\n\nand just include ``charsleft_widget`` templates\n\n.. code-block:: html+django\n\n {% include \"charsleft_widget/charsleft_widget_css.html\" %} {# Before the closing head tag #}\n {% include \"charsleft_widget/charsleft_widget_js.html\" %} {# Before the closing body tag #}\n\nWhen deploying on production server, don't forget to run:\n\n.. code-block:: shell\n\n python manage.py collectstatic\n\nUsage\n-----\n\nAll you need now is to import ``ClearableInput`` class and override\nfield's widget, for example:\n\n.. code-block:: python\n\n from django.forms.fields import CharField\n\n from charsleft_widget import CharsLeftArea\n\n class Form(forms.Form):\n\n field = CharField(max_length=128, widget=CharsLeftArea)\n\nPlease see ``example`` application. This application is used to\nmanually test the functionalities of this package. This also serves as\na good example.\n\nYou need only Django 1.4 or above to run that. It might run on older\nversions but that is not tested.\n\nLicense\n-------\n\n``django-charsleft-widget`` is released under the BSD license.\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/bashu/django-charsleft-widget/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/bashu/django-charsleft-widget", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-charsleft-widget", "package_url": "https://pypi.org/project/django-charsleft-widget/", "platform": "", "project_url": "https://pypi.org/project/django-charsleft-widget/", "project_urls": { "Download": "https://github.com/bashu/django-charsleft-widget/zipball/master", "Homepage": "http://github.com/bashu/django-charsleft-widget" }, "release_url": "https://pypi.org/project/django-charsleft-widget/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Custom widget that limits the number of characters that can be entered in a textarea field", "version": "0.1.7" }, "last_serial": 4977235, "releases": { "0.1.3": [], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6e97d9ad742b7f123798de13abaadfc3", "sha256": "7840f982b7d3f2ff6acac79a7014f10979af68928728b25dcdb453c7d6ff71fc" }, "downloads": -1, "filename": "django-charsleft-widget-0.1.4.tar.gz", "has_sig": true, "md5_digest": "6e97d9ad742b7f123798de13abaadfc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5795, "upload_time": "2015-04-18T06:42:44", "url": "https://files.pythonhosted.org/packages/f7/8e/99687a54a8fb0fbfe5739eeaa5624925cf209b5e45e466d6b996bfe333bf/django-charsleft-widget-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "6cc063d0792e25e7b23997de6f2562e3", "sha256": "df39d958d246beb08b8e51a2cfbe56d6f4d9a64f8295d7e1174d6c9d4dc5cc84" }, "downloads": -1, "filename": "django-charsleft-widget-0.1.5.tar.gz", "has_sig": true, "md5_digest": "6cc063d0792e25e7b23997de6f2562e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5836, "upload_time": "2015-06-07T03:48:43", "url": "https://files.pythonhosted.org/packages/68/dd/9e147c53411cd955708773d03a1c3de2b5f41ab9682a0ad47d9bf5cd6496/django-charsleft-widget-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "91b2ccada756f7bddc05889e4690e0ce", "sha256": "947439657a241cdd8e041ea460bbbd95f5b10884acf1b9af5c167ffe51a3c927" }, "downloads": -1, "filename": "django_charsleft_widget-0.1.6-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "91b2ccada756f7bddc05889e4690e0ce", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10857, "upload_time": "2016-10-14T08:17:10", "url": "https://files.pythonhosted.org/packages/51/49/7219bff93dd28e91c7d47a1a507c50f742bba359d077929b9e815b9b52f7/django_charsleft_widget-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25115d4965ce623502f4357be1e677f1", "sha256": "d624d0d2e5010bc8baf7f968a87e77f8a603ebef41c7e9299eedeff97c274d2b" }, "downloads": -1, "filename": "django-charsleft-widget-0.1.6.tar.gz", "has_sig": true, "md5_digest": "25115d4965ce623502f4357be1e677f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6636, "upload_time": "2016-10-14T08:17:01", "url": "https://files.pythonhosted.org/packages/64/5e/0ef1d5e7e8b7666f57325b15bc7dea1980efc7a3ebbe131f3b0d520cff2a/django-charsleft-widget-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "36ee204d7256fc0b709752c680e22172", "sha256": "1102419bff0bf433bbfd4be2042dab4e952c2b9b19c6c7f063f10cff6c75457c" }, "downloads": -1, "filename": "django_charsleft_widget-0.1.7-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "36ee204d7256fc0b709752c680e22172", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 8898, "upload_time": "2019-03-24T03:37:55", "url": "https://files.pythonhosted.org/packages/13/fe/ab1406375391fe896e136853812f47e3ec82313e0448d3809e4139137eab/django_charsleft_widget-0.1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fefadb12f4cc45d1a612b33c97847351", "sha256": "dc694d01e13a89e6b682a7524ebdfd54ccd4775f0dbc7fe1fd14d89db07bffd8" }, "downloads": -1, "filename": "django-charsleft-widget-0.1.7.tar.gz", "has_sig": true, "md5_digest": "fefadb12f4cc45d1a612b33c97847351", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6164, "upload_time": "2019-03-24T03:37:52", "url": "https://files.pythonhosted.org/packages/57/59/337c359ecce3ee4a2036f76889c32dcd94763e6005f9e9a0449cbf5dc61b/django-charsleft-widget-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36ee204d7256fc0b709752c680e22172", "sha256": "1102419bff0bf433bbfd4be2042dab4e952c2b9b19c6c7f063f10cff6c75457c" }, "downloads": -1, "filename": "django_charsleft_widget-0.1.7-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "36ee204d7256fc0b709752c680e22172", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 8898, "upload_time": "2019-03-24T03:37:55", "url": "https://files.pythonhosted.org/packages/13/fe/ab1406375391fe896e136853812f47e3ec82313e0448d3809e4139137eab/django_charsleft_widget-0.1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fefadb12f4cc45d1a612b33c97847351", "sha256": "dc694d01e13a89e6b682a7524ebdfd54ccd4775f0dbc7fe1fd14d89db07bffd8" }, "downloads": -1, "filename": "django-charsleft-widget-0.1.7.tar.gz", "has_sig": true, "md5_digest": "fefadb12f4cc45d1a612b33c97847351", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6164, "upload_time": "2019-03-24T03:37:52", "url": "https://files.pythonhosted.org/packages/57/59/337c359ecce3ee4a2036f76889c32dcd94763e6005f9e9a0449cbf5dc61b/django-charsleft-widget-0.1.7.tar.gz" } ] }