{ "info": { "author": "GrobIvanovich", "author_email": "killmaster00431@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# django-tagging-autocomplete-new\n\n![pypi](https://img.shields.io/pypi/v/django-tagging-autocomplete-new.svg)\n![github_version](https://img.shields.io/github/release/grobivanovich/django-tagging-autocomplete-new.svg)\n![license](https://img.shields.io/github/license/GrobIvanovich/django-tagging-autocomplete-new.svg)\n![wheel](https://img.shields.io/pypi/wheel/django-tagging-autocomplete-new.svg)\n![python](https://img.shields.io/pypi/pyversions/django-tagging-autocomplete-new.svg)\n\ndjango-tagging-autocomplete-new is a jquery based autocomplete solution for\ndjango-tagging.\n\nThis is fixed version of [django-tagging-autocomplete](https://github.com/ludwiktrammer/django-tagging-autocomplete) by [@ludwiktrammer](https://github.com/ludwiktrammer/) for Django 2.2.\n\n### Requirements\n\n```python\ndjango-tagging\n```\n\n### Setup\n\n1. Install package from PyPI:\n```python\npip install django-tagging-autocomplete-new\n```\n2. Add `tagging` and `tagging-autocomplete-new` to installed apps in your's project's settings:\n```python\nINSTALLED_APPS = [\n ...\n 'tagging',\n 'tagging_autocomplete',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.sites',\n 'django.contrib.staticfiles',\n ...\n]\n```\n3. Add route to your project's `urls.py` file:\n```python\npath('tagging_autocomplete/', include('tagging_autocomplete.urls'))\n```\n\n### Usage\n\n#### The Model Field\n\nYou can use `TagAutocompleteField()` to enable autocompletion right in your\n`models.py`. In most cases this is the easiest solution:\n```python\n from django.db import models\n from tagging_autocomplete.models import TagAutocompleteField\n\n class SomeModel(models.Model):\n tags = TagAutocompleteField()\n```\n\n#### The Form Widget\n\nAlternatively you can use the `TagAutocomplete()` form widget while creating\nyour form:\n```python\n from django import forms\n from tagging.forms import TagField\n from tagging_autocomplete.widgets import TagAutocomplete\n\n class SomeForm(forms.Form):\n tags = TagField(widget=TagAutocomplete())\n```\n\n#### Optional settings\n\nBy default the maximum number of results suggested by the autocompletion is 100.\nYou can modify this number by adding to your `settings.py` project file\nthe `TAGGING_AUTOCOMPLETE_MAX_RESULTS` constant.\nFor example:\n```python\n TAGGING_AUTOCOMPLETE_MAX_RESULTS = 5\n```\n\nBy default autocompletion suggests tags that *start with* a given term.\nIn case you need to show ones that *contain* the given term,\nset `TAGGING_AUTOCOMPLETE_SEARCH_CONTAINS` to `True`.\nFor example:\n```python\n TAGGING_AUTOCOMPLETE_SEARCH_CONTAINS = True\n```\nBy default suggestions are shown right after you enter first character.\nYou can configure this behaviour using `TAGGING_AUTOCOMPLETE_MIN_LENGTH`.\nFor example:\n```python\n TAGGING_AUTOCOMPLETE_MIN_LENGTH = 3\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GrobIvanovich/django-tagging-autocomplete-new/", "keywords": "Django,Tags autocompletion", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-tagging-autocomplete-new", "package_url": "https://pypi.org/project/django-tagging-autocomplete-new/", "platform": "", "project_url": "https://pypi.org/project/django-tagging-autocomplete-new/", "project_urls": { "Homepage": "https://github.com/GrobIvanovich/django-tagging-autocomplete-new/" }, "release_url": "https://pypi.org/project/django-tagging-autocomplete-new/0.6.2/", "requires_dist": null, "requires_python": "", "summary": "Autocompletion for django-tagging. Rebuild for Django 2.2. Original by Ludwik Trammer.", "version": "0.6.2" }, "last_serial": 5366044, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "3a8baf170c835de3614fd26d1169786b", "sha256": "2dc278e16f0f4fea8ffccb112b91515b11ba43875328483b9222f0b82e52b06e" }, "downloads": -1, "filename": "django-tagging-autocomplete-new-0.6.tar.gz", "has_sig": false, "md5_digest": "3a8baf170c835de3614fd26d1169786b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53989, "upload_time": "2019-06-05T18:38:50", "url": "https://files.pythonhosted.org/packages/22/fa/d8ff587565badb5479e0548d885d1a93e7fadf5c81089472dc67c5eb9b0d/django-tagging-autocomplete-new-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "602089e0ed1c81630bc0519f39101ca8", "sha256": "8a86f867e94664d246825771855252c3d48b4c20f8af504e46ec5754ab3196aa" }, "downloads": -1, "filename": "django_tagging_autocomplete_new-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "602089e0ed1c81630bc0519f39101ca8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 79460, "upload_time": "2019-06-05T19:33:24", "url": "https://files.pythonhosted.org/packages/49/7d/ed34ed92fb2e25c9039ecf9beb44ec23ff77138dc2d2a283f1bab4235a29/django_tagging_autocomplete_new-0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c96f6e905622183ecc9366d723a5ff6", "sha256": "63f6ac612ac4b2efcf1e167ca5d7a65481ef6e03e4ac3f73f7ba530e369ff624" }, "downloads": -1, "filename": "django-tagging-autocomplete-new-0.6.1.tar.gz", "has_sig": false, "md5_digest": "5c96f6e905622183ecc9366d723a5ff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54016, "upload_time": "2019-06-05T19:33:26", "url": "https://files.pythonhosted.org/packages/f5/e5/2f4fc15ede27627e166febe3a8773d8bee8794acbcd4f9883a68d12b98f8/django-tagging-autocomplete-new-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "85bb8638eba8c1ef4992a18f79dd3175", "sha256": "cbddc5b591fbf97b676f01ee4f3c8aefacab7b4690afe418576091706779af13" }, "downloads": -1, "filename": "django_tagging_autocomplete_new-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "85bb8638eba8c1ef4992a18f79dd3175", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6186, "upload_time": "2019-06-06T08:31:47", "url": "https://files.pythonhosted.org/packages/62/28/eacd0537e684a8769aebcd232da826c61ce44b3b947120cc3f2602afdb56/django_tagging_autocomplete_new-0.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c0d960e313df07ab7c17aa16e4b79e5", "sha256": "fe8d68521e4388ff880c3f41e71117387672e859288b4934797467704a14f911" }, "downloads": -1, "filename": "django-tagging-autocomplete-new-0.6.2.tar.gz", "has_sig": false, "md5_digest": "7c0d960e313df07ab7c17aa16e4b79e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4259, "upload_time": "2019-06-06T08:31:48", "url": "https://files.pythonhosted.org/packages/d0/ad/a9c36e6606c2273cffac869388d60a868e5e6b816837acfc2ae31c2f3daa/django-tagging-autocomplete-new-0.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "85bb8638eba8c1ef4992a18f79dd3175", "sha256": "cbddc5b591fbf97b676f01ee4f3c8aefacab7b4690afe418576091706779af13" }, "downloads": -1, "filename": "django_tagging_autocomplete_new-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "85bb8638eba8c1ef4992a18f79dd3175", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6186, "upload_time": "2019-06-06T08:31:47", "url": "https://files.pythonhosted.org/packages/62/28/eacd0537e684a8769aebcd232da826c61ce44b3b947120cc3f2602afdb56/django_tagging_autocomplete_new-0.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c0d960e313df07ab7c17aa16e4b79e5", "sha256": "fe8d68521e4388ff880c3f41e71117387672e859288b4934797467704a14f911" }, "downloads": -1, "filename": "django-tagging-autocomplete-new-0.6.2.tar.gz", "has_sig": false, "md5_digest": "7c0d960e313df07ab7c17aa16e4b79e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4259, "upload_time": "2019-06-06T08:31:48", "url": "https://files.pythonhosted.org/packages/d0/ad/a9c36e6606c2273cffac869388d60a868e5e6b816837acfc2ae31c2f3daa/django-tagging-autocomplete-new-0.6.2.tar.gz" } ] }