{ "info": { "author": "Yehor Smoliakov", "author_email": "yehors@ukr.net", "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 :: 3", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# Django Encore\n\nThis library integrates [Webpack Encore][1] into your Django application like\nit does [Webpack Encore Bundle][2] for Symfony.\n\n## Usage\n\n1) Install the library from PyPI:\n\n```shell\npip install django-encore\n```\n\n2) Configure your **settings.py** file:\n\nInclude the library:\n\n```python\nINSTALLED_APPS = [\n # ...\n 'encore',\n]\n```\n\nAdd **ENCORE_ENTRYPOINTS_FILE** and change **STATICFILES_DIRS**:\n\n```python\nSTATICFILES_DIRS = [\n os.path.join(BASE_DIR, 'assets_build'),\n]\n\nENCORE_ENTRYPOINTS_FILE = os.path.join(BASE_DIR, 'assets_build') + '/build/entrypoints.json'\n```\n\n3) Use template tags in your templates:\n\n```text\n{% block javascripts %}\n {{ block.super }}\n {% encore_entry_script_tags 'demo1' %}\n{% endblock %}\n\n{% block stylesheets %}\n {{ block.super }}\n {% encore_entry_link_tags 'demo1' %}\n{% endblock %}\n```\n\nSee the **example** folder for more details.\n\n[1]: https://github.com/symfony/webpack-encore\n[2]: https://github.com/symfony/webpack-encore-bundle\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/egorsmkv/django-encore", "keywords": "django django-encore webpack-encore", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-encore", "package_url": "https://pypi.org/project/django-encore/", "platform": "", "project_url": "https://pypi.org/project/django-encore/", "project_urls": { "Homepage": "https://github.com/egorsmkv/django-encore", "Source": "https://github.com/egorsmkv/django-encore", "Tracker": "https://github.com/egorsmkv/django-encore/issues" }, "release_url": "https://pypi.org/project/django-encore/0.0.1/", "requires_dist": [ "Django (>=2.1.5)" ], "requires_python": ">=3", "summary": "Django integration with Webpack Encore", "version": "0.0.1" }, "last_serial": 4698145, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "73f35c5ab3a1fafd3d560fec0fc32052", "sha256": "9907e0a31ccb7845c6a45df9b5a30e821431e5df51e5076ad53a4786382e010a" }, "downloads": -1, "filename": "django_encore-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "73f35c5ab3a1fafd3d560fec0fc32052", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 4046, "upload_time": "2019-01-15T09:37:14", "url": "https://files.pythonhosted.org/packages/c7/c6/2cc5e5a6034b53a9042edc8c3f6f3b52277e14b55b0d57f670867c8a7dc6/django_encore-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6836aa7a09e9ccd6e0e621f2a4ed6389", "sha256": "06039b0232cce1427fad3f46faa343971d45cff7f9a33449569f23862a6c34ae" }, "downloads": -1, "filename": "django-encore-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6836aa7a09e9ccd6e0e621f2a4ed6389", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 2619, "upload_time": "2019-01-15T09:37:17", "url": "https://files.pythonhosted.org/packages/a1/d7/9de031d09db3a5b4dc742a1a21d6ba55d40f1ba8353d015a98481823be28/django-encore-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73f35c5ab3a1fafd3d560fec0fc32052", "sha256": "9907e0a31ccb7845c6a45df9b5a30e821431e5df51e5076ad53a4786382e010a" }, "downloads": -1, "filename": "django_encore-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "73f35c5ab3a1fafd3d560fec0fc32052", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 4046, "upload_time": "2019-01-15T09:37:14", "url": "https://files.pythonhosted.org/packages/c7/c6/2cc5e5a6034b53a9042edc8c3f6f3b52277e14b55b0d57f670867c8a7dc6/django_encore-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6836aa7a09e9ccd6e0e621f2a4ed6389", "sha256": "06039b0232cce1427fad3f46faa343971d45cff7f9a33449569f23862a6c34ae" }, "downloads": -1, "filename": "django-encore-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6836aa7a09e9ccd6e0e621f2a4ed6389", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 2619, "upload_time": "2019-01-15T09:37:17", "url": "https://files.pythonhosted.org/packages/a1/d7/9de031d09db3a5b4dc742a1a21d6ba55d40f1ba8353d015a98481823be28/django-encore-0.0.1.tar.gz" } ] }