{ "info": { "author": "Mikalai Radchuk", "author_email": "mikalai.radchuk@torchbox.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Wagtail", "Framework :: Wagtail :: 2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Site Management" ], "description": "# wagtailrelated\n\nA module for Wagtail that finds related pages and tags for your pages.\n\n## How to install\n\nInstall using pip:\n\n```\npip install wagtail-related\n```\n\n\n### Settings\n\nIn your settings file, add `wagtailrelated` to `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = [\n # ...\n 'wagtailrelated',\n # ...\n]\n```\n\n### URL configuration\n\nInclude API url into your `urlpatterns`:\n\n```python\nurlpatterns = [\n # ...\n url(r'^api/more-like-this', include('wagtailrelated.api.urls')),\n # ...\n```\n\n### Backend settings\n\nAdd the following setting into your project:\n\n```python\nWAGTAIL_RELATED_BACKENDS = {\n 'default': {\n 'BACKEND': 'wagtailrelated.backends.elasticsearch5',\n }\n}\n```\n\nNote that the module uses Elasticsearch to find related pages and relies on Wagtail's\nbuilt-in search backend. This means that you should have the\n[`WAGTAILSEARCH_BACKENDS` setting](http://docs.wagtail.io/en/v2.1/topics/search/backends.html#elasticsearch-backend)\ncomfigured with `wagtail.search.backends.elasticsearch5` in your project.\n\nSettings shown in this instruction will work fine,\nif your Elasticsearch 5 backend exists under the `default` key.\nIf your project has multiple Wagtail search backends and your Elasticsearch 5 search backend\nhas different key, see how you need to modify `WAGTAIL_RELATED_BACKENDS`\n[here](https://github.com/torchbox/wagtail-related/blob/master/docs/related_backends.md#set-up-wagtail_related_backends-use-non-default-search-backend).\n\n## How to use\n\nThe package provides an API to get related pages. See the\n[API documentation](https://github.com/torchbox/wagtail-related/blob/master/docs/api.md).\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/torchbox/wagtail-related", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "wagtail-related", "package_url": "https://pypi.org/project/wagtail-related/", "platform": "", "project_url": "https://pypi.org/project/wagtail-related/", "project_urls": { "Homepage": "https://github.com/torchbox/wagtail-related" }, "release_url": "https://pypi.org/project/wagtail-related/0.1.0/", "requires_dist": [ "wagtail (>=2.0)", "beautifulsoup4 (>=4.5.1); extra == 'dandelion'", "html5lib (<1,>=0.999); extra == 'dandelion'", "requests (<3.0,>=2.11.1); extra == 'dandelion'", "elasticsearch (<6,>=5); extra == 'elasticsearch5'", "google-cloud-language (<0.30,>=0.29.0); extra == 'gc_language'", "beautifulsoup4 (>=4.5.1); extra == 'gc_language'", "html5lib (<1,>=0.999); extra == 'gc_language'", "flake8 (>=3.5.0); extra == 'testing'", "isort (>=4.3.4); extra == 'testing'" ], "requires_python": "", "summary": "A module for Wagtail that finds related pages and tags for your pages.", "version": "0.1.0" }, "last_serial": 3977965, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8ae323e0e177b8be68069944666c445d", "sha256": "fe0562dfce9751172dba8664642505b889b48f35901c2ec2149c64d39c34fd4e" }, "downloads": -1, "filename": "wagtail_related-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8ae323e0e177b8be68069944666c445d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16429, "upload_time": "2018-06-19T15:37:17", "url": "https://files.pythonhosted.org/packages/6b/8e/06821402429e833976972bf5b5a8a974d76dea6338e4b269ab600dc55125/wagtail_related-0.1.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ae323e0e177b8be68069944666c445d", "sha256": "fe0562dfce9751172dba8664642505b889b48f35901c2ec2149c64d39c34fd4e" }, "downloads": -1, "filename": "wagtail_related-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8ae323e0e177b8be68069944666c445d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16429, "upload_time": "2018-06-19T15:37:17", "url": "https://files.pythonhosted.org/packages/6b/8e/06821402429e833976972bf5b5a8a974d76dea6338e4b269ab600dc55125/wagtail_related-0.1.0-py3-none-any.whl" } ] }