{ "info": { "author": "Manuel Saelices", "author_email": "msaelices@yaco.es", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-bundledmedia\n===================\n\n``django-bundledmedia`` is a Django application for adding compressed CSS and\nJS files in some prepared slots.\n\nThis functionality was splitted out of Merengue CMS.\n\nInstalling\n----------\n\n* Install package from pypi::\n\n $ easy_install django-bundledmedia\n\n* Include ``bundledmedia`` in the ``INSTALLED_APPS`` setting.\n\n* Include ``bundledmedia.middleware.BundledMediaMiddleware`` in the ``MIDDLEWARE_CLASSES`` setting.\n\nUsage\n-----\n\nIn your base template (i.e. ``base.html``)::\n\n {% load bundledmedia %}\n \n \n {# placeholder to allow plugins and other templates to add css assets #}\n {% bundledmedia \"css\" \"css\" %}\n ...\n {% bundledmedia \"extracss\" \"css\" %}\n \n \n ...\n {# placeholder to allow plugins and other templates to add javascript assets #}\n {% bundledmedia \"js\" \"js\" %}\n \n \n\nIn your included template (i.e. ``inc.sidebar.html``)::\n\n {% load bundledmedia %}\n {% addmedia \"css\" %}\n \n {% endaddmedia %}\n {% addmedia \"js\" %}\n \n {% endaddmedia %}\n ...\n\nIn your specific template (i.e. ``myview.html``)::\n\n {% load bundledmedia %}\n {% addmedia \"extracss\" %}\n \n {% endaddmedia %}\n ...\n\nThis code will render all chunks of code of all the included templates in the\nplaceholders above.\n\nCompression\n-----------\n\n``django-bundledmedia`` uses ``django-compressor`` to render compressed CSS and\nJS when the ``COMPRESS`` setting is set to ``True``\n\n0.1b3\n----\n\n * Backward incompatible improvement: using new ``media_type`` parameter to get a more explicit type definition (JS or CSS).\n\n0.1b2\n----\n\n * Not generating compressed JS or CSS if there is no content to compress.\n\n0.1b1\n----\n\n * More flexible naming conventions in the bundled blocks.\n\n0.1a\n----\n\n * Initial version.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-bundledmedia", "package_url": "https://pypi.org/project/django-bundledmedia/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-bundledmedia/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-bundledmedia/0.1b3/", "requires_dist": null, "requires_python": null, "summary": "Django application for adding compressed CSS and JS files in some prepared slots", "version": "0.1b3" }, "last_serial": 789218, "releases": { "0.1a": [ { "comment_text": "", "digests": { "md5": "81b490c280fc39b6ad1938ca9615133c", "sha256": "324ac1faf18a241015822fb6df5ada70c0e6a643358faecabc238cf5c288e987" }, "downloads": -1, "filename": "django-bundledmedia-0.1a.tar.gz", "has_sig": false, "md5_digest": "81b490c280fc39b6ad1938ca9615133c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11445, "upload_time": "2012-05-25T12:07:46", "url": "https://files.pythonhosted.org/packages/af/35/cc39a98bbe7f7f03166b15cbe2929cbdf5d767267b2fd7c428275a52fcef/django-bundledmedia-0.1a.tar.gz" } ], "0.1b1": [ { "comment_text": "", "digests": { "md5": "ee49329ca39f25f7491ba864f1355074", "sha256": "a53cc3b9ceb2c3da972b37d592111893f907d562eff4116b39569d54eff4781f" }, "downloads": -1, "filename": "django-bundledmedia-0.1b1.tar.gz", "has_sig": false, "md5_digest": "ee49329ca39f25f7491ba864f1355074", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11526, "upload_time": "2012-06-05T14:05:20", "url": "https://files.pythonhosted.org/packages/9e/2e/af6ef50860c0329f50270fe49f92a0eb951ab3d8d8582b451161a629eb42/django-bundledmedia-0.1b1.tar.gz" } ], "0.1b2": [ { "comment_text": "", "digests": { "md5": "41aa81f7551e717be526af9e2878000f", "sha256": "361da69b7729586d3c37d67dba596b792633d26fcbf4fa4ae21e4aed82e9b4b9" }, "downloads": -1, "filename": "django-bundledmedia-0.1b2.tar.gz", "has_sig": false, "md5_digest": "41aa81f7551e717be526af9e2878000f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11598, "upload_time": "2012-06-08T10:00:13", "url": "https://files.pythonhosted.org/packages/77/98/1f56af0428d947c11b27d4f02e98804eec79e4804246083ed4d2d7748681/django-bundledmedia-0.1b2.tar.gz" } ], "0.1b3": [ { "comment_text": "", "digests": { "md5": "2feb8ce5eaa3159201524dfe274038c1", "sha256": "b24121eac3730c26fc75bcd6e91a57a658593590eccabcbbf394cc3a00197773" }, "downloads": -1, "filename": "django-bundledmedia-0.1b3.tar.gz", "has_sig": false, "md5_digest": "2feb8ce5eaa3159201524dfe274038c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11842, "upload_time": "2012-06-08T11:02:07", "url": "https://files.pythonhosted.org/packages/71/f7/6539da67ea6ee091c95b713e0447f2c06295dfb975b23336eae991cfec6b/django-bundledmedia-0.1b3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2feb8ce5eaa3159201524dfe274038c1", "sha256": "b24121eac3730c26fc75bcd6e91a57a658593590eccabcbbf394cc3a00197773" }, "downloads": -1, "filename": "django-bundledmedia-0.1b3.tar.gz", "has_sig": false, "md5_digest": "2feb8ce5eaa3159201524dfe274038c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11842, "upload_time": "2012-06-08T11:02:07", "url": "https://files.pythonhosted.org/packages/71/f7/6539da67ea6ee091c95b713e0447f2c06295dfb975b23336eae991cfec6b/django-bundledmedia-0.1b3.tar.gz" } ] }