{ "info": { "author": "Stas Shilov", "author_email": "shilowstanisalw@gamail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Django Autocomplete\n\nsubstring occurrence search module.\n\n\nAllows the use of celery, if it is in the mood. The following settings are required in settings.py\n ```\n AUTOCOMPLETER = {\n 'SERILEZER_CLASSES': 'your_module_name.autocompleter',\n 'LIMIT': 5,\n 'CELERY': True\n }\n ```\n\nWhere:\n 1. **SERILEZER_CLASSES** - indicates django_autompleter where to look for serialization ticket offices. The serialization class inherits from the base class **SearcherSerializer**. In the example below, we indicate which fields from the **Publication** model we want to return when requested.\n ```\n\n from autocompleter import SearcherSerializer\n\n class PublicationsSerializer(SearcherSerializer):\n class Meta:\n model = Publication\n fields = (\n 'id',\n 'title',\n ) \n ```\n2. **LIMIT** - indicates the number of records received that must be returned.\n3. **CELERY** - indicates the start of the autompleter as a celery task. It is important, in this case, your project must have celery.py settings.\n\nexample:\n ```\nfrom autocompleter import Autocompleter\n\nautocomplete_coonection = Autocompleter()\n\nresult = autocomplete_coonection.get(\n model=Publication,# search data model\n column=\"title\",#column of the model to search for\n value=value # value\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/stanley0707/django_autocomleter.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-autocompleter", "package_url": "https://pypi.org/project/django-autocompleter/", "platform": "", "project_url": "https://pypi.org/project/django-autocompleter/", "project_urls": { "Homepage": "https://github.com/stanley0707/django_autocomleter.git" }, "release_url": "https://pypi.org/project/django-autocompleter/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.0.7" }, "last_serial": 5965920, "releases": { "0.0.6": [ { "comment_text": "", "digests": { "md5": "a35710659dd1b8d532e3df526a73916b", "sha256": "e973336ef96976c1480f9c914741f3fd826e4ba13f175ee296455bb738c3fc14" }, "downloads": -1, "filename": "django_autocompleter-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "a35710659dd1b8d532e3df526a73916b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4448, "upload_time": "2019-10-12T23:33:11", "url": "https://files.pythonhosted.org/packages/27/39/2aaca1afb3e9fc232b271ece59cca2df18d22bbef55b7a58ce9acd1948f7/django_autocompleter-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a331678c06f4c8f29d14773fcb0bb0a", "sha256": "97efe607c9898ffe8e272bc2432d335977347fa47030ef30d1751a778e476bfb" }, "downloads": -1, "filename": "django_autocompleter-0.0.6.tar.gz", "has_sig": false, "md5_digest": "3a331678c06f4c8f29d14773fcb0bb0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3242, "upload_time": "2019-10-12T23:33:13", "url": "https://files.pythonhosted.org/packages/22/3a/3a4ef1a25667995029f333c972ef1ea51348b176f0ba6184343befb47a21/django_autocompleter-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "09ac6de8e672bc0900e245f4afd321c0", "sha256": "855e8a8a0e121f026c9ab27336c31ff94370d56de22c376fc7277bfe5ca6b7fc" }, "downloads": -1, "filename": "django_autocompleter-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "09ac6de8e672bc0900e245f4afd321c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4445, "upload_time": "2019-10-13T00:32:13", "url": "https://files.pythonhosted.org/packages/54/7b/3e345cda21d6813a52fc921eb91f41e2c13316ccb642fcd27bfca94b305e/django_autocompleter-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7526f89a72c856b5dc7cbfebd8e100fc", "sha256": "4443e2d9786ee77358907b1477030f0eca2581dec924ab44f7e44f09550cb39b" }, "downloads": -1, "filename": "django_autocompleter-0.0.7.tar.gz", "has_sig": false, "md5_digest": "7526f89a72c856b5dc7cbfebd8e100fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3239, "upload_time": "2019-10-13T00:32:15", "url": "https://files.pythonhosted.org/packages/70/a5/8228f49e63461159819a6c2cf3b33f53a301554a8395a1cfb03a4083e6b9/django_autocompleter-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "09ac6de8e672bc0900e245f4afd321c0", "sha256": "855e8a8a0e121f026c9ab27336c31ff94370d56de22c376fc7277bfe5ca6b7fc" }, "downloads": -1, "filename": "django_autocompleter-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "09ac6de8e672bc0900e245f4afd321c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4445, "upload_time": "2019-10-13T00:32:13", "url": "https://files.pythonhosted.org/packages/54/7b/3e345cda21d6813a52fc921eb91f41e2c13316ccb642fcd27bfca94b305e/django_autocompleter-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7526f89a72c856b5dc7cbfebd8e100fc", "sha256": "4443e2d9786ee77358907b1477030f0eca2581dec924ab44f7e44f09550cb39b" }, "downloads": -1, "filename": "django_autocompleter-0.0.7.tar.gz", "has_sig": false, "md5_digest": "7526f89a72c856b5dc7cbfebd8e100fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3239, "upload_time": "2019-10-13T00:32:15", "url": "https://files.pythonhosted.org/packages/70/a5/8228f49e63461159819a6c2cf3b33f53a301554a8395a1cfb03a4083e6b9/django_autocompleter-0.0.7.tar.gz" } ] }