Django Any-JS
=============
Description
-----------
Django-Any-JS helps you at including any combination of JavaScript/CSS
URLs in your site, with readable settings and template tags.
Usage
-----
In your settings:
::
INSTALLED_APPS = [
...,
"django_any_js",
...,
]
ANY_JS = {
"DataTables": {
"js_url": "/javascript/jquery-datatables/dataTables.bootstrap4.min.js",
"css_url": "/javascript/jquery-datatables/css/dataTables.bootstrap4.min.css",
}
}
In your template:
::
{% load any_js %}
{% include_js "DataTables" %}
{% include_css "DataTables" %}
Raw data
{
"_id": null,
"home_page": "https://edugit.org/AlekSIS/libs/django-any-js",
"name": "django-any-js",
"maintainer": "Dominik George",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "dominik.george@teckids.org",
"keywords": "",
"author": "Dominik George",
"author_email": "dominik.george@teckids.org",
"download_url": "https://files.pythonhosted.org/packages/71/de/1b74dcc421b79b68f1352d368fbb5db250d73e6c6ee9fc73ea59e7705818/django_any_js-1.2.tar.gz",
"platform": null,
"description": "Django Any-JS\n=============\n\nDescription\n-----------\n\nDjango-Any-JS helps you at including any combination of JavaScript/CSS\nURLs in your site, with readable settings and template tags.\n\nUsage\n-----\n\nIn your settings:\n\n::\n\n INSTALLED_APPS = [\n ...,\n \"django_any_js\",\n ...,\n ]\n ANY_JS = {\n \"DataTables\": {\n \"js_url\": \"/javascript/jquery-datatables/dataTables.bootstrap4.min.js\",\n \"css_url\": \"/javascript/jquery-datatables/css/dataTables.bootstrap4.min.css\",\n }\n }\n\nIn your template:\n\n::\n\n {% load any_js %}\n {% include_js \"DataTables\" %}\n {% include_css \"DataTables\" %}\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Include JavaScript/CSS libraries with readable template tags",
"version": "1.2",
"project_urls": {
"Homepage": "https://edugit.org/AlekSIS/libs/django-any-js",
"Repository": "https://edugit.org/AlekSIS/libs/django-any-js"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "073d0ac41788381d981e4ac138af95d570dd9d88736fa1ef3515c39440f1194b",
"md5": "c26940b638d796fd0556e093da789559",
"sha256": "642db96e3d4f4a0812ba6a5d59aa17f05d41d8acabe83de8464527e578c84d25"
},
"downloads": -1,
"filename": "django_any_js-1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c26940b638d796fd0556e093da789559",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 7743,
"upload_time": "2023-12-04T23:13:54",
"upload_time_iso_8601": "2023-12-04T23:13:54.330230Z",
"url": "https://files.pythonhosted.org/packages/07/3d/0ac41788381d981e4ac138af95d570dd9d88736fa1ef3515c39440f1194b/django_any_js-1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "71de1b74dcc421b79b68f1352d368fbb5db250d73e6c6ee9fc73ea59e7705818",
"md5": "5ba03e44c764dd4a47fdea366479f6ac",
"sha256": "a44c43db23c3793a0a870fae2c841dd1a9d051ef1c0f520764589278fc8d7e16"
},
"downloads": -1,
"filename": "django_any_js-1.2.tar.gz",
"has_sig": false,
"md5_digest": "5ba03e44c764dd4a47fdea366479f6ac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 6379,
"upload_time": "2023-12-04T23:13:55",
"upload_time_iso_8601": "2023-12-04T23:13:55.983686Z",
"url": "https://files.pythonhosted.org/packages/71/de/1b74dcc421b79b68f1352d368fbb5db250d73e6c6ee9fc73ea59e7705818/django_any_js-1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-04 23:13:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "django-any-js"
}