{ "info": { "author": "Leonardo Javier Esparis Meza", "author_email": "leo.leo.leoxnidas.c.14@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django_staticimport [](https://travis-ci.org/leoxnidas/django_staticimport) [](https://dependencyci.com/github/leoxnidas/django_staticimport)\n-------------------\n\nAdd static files never was so easy. This library allows you to include css, js and images files (static files) on a template faster than the old way.\n\n\nInstall\n-------\n\n```pip install django-staticimport```\n\nor\n\n```easy_install django-staticimport```\n\n\nUsage.\n------\n\n####Add the app to settings.\n\n```python\n# installing the static_import application.\nINSTALLED_APPS = [\n\t\t.\n\t\t.\n\t\t.\n\n 'static_import',\n]\n\n# adding remote static file.\nHOSTED_LIBS = [\n\t{\n\t\t'name': 'selectjs',\n\t\t'url': 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js'\n\t},\n]\n```\n\n####Then.. on the templates.\n\n```html\n\n{% load staticimport %}\n\n
\n\t\n\t