{ "info": { "author": "slashRoot Tech Group", "author_email": "info@slashrootcafe.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "ColdBrew\n========\n\ndjango-coldbrew started as a fork of Django Coffeescript.\n\nColdBrew provides template tags to compile CoffeeScript into JavaScript from templates.\nIt works with both inline code and external files.\n\nInstallation\n************\n\n1. Add ``\"coldbrew\"`` to ``INSTALLED_APPS`` setting.\n2. Make sure that you have ``coffee`` executable installed. See\n `CoffeeScript official site `_ for details.\n3. Optionally, you can specify the full path to ``coffee`` executable with ``COFFEESCRIPT_EXECUTABLE`` setting.\n By default it's set to ``coffee``.\n\nExample Usage\n*************\n\nExternal file\n-------------\n\n::\n\n {% load coldbrew %}\n\n \n\nrenders to\n\n::\n\n \n\n\nInline\n------\n\n::\n\n {% load coldbrew %}\n\n \n\nrenders to\n\n::\n\n \n\n\nNote that by default compiled files are saved into ``COFFEESCRIPT_CACHE`` folder under your ``STATIC_ROOT`` (or ``MEDIA_ROOT`` if you have no ``STATIC_ROOT`` in your settings).\nYou can change this folder name with ``COFFEESCRIPT_OUTPUT_DIR`` setting.\n\n\nSettings\n********\n\n``COFFEESCRIPT_EXECUTABLE``\n Path to CoffeeScript compiler executable. Default: ``\"coffee\"``.\n\n``COFFEESCRIPT_OUTPUT_DIR``\n Output directory for compiled external scripts. It's relative to ``STATIC_ROOT``. Default: ``\"COFFEESCRIPT_CACHE\"``.\n\n``COFFEESCRIPT_USE_CACHE``\n Whether to use cache for inline scripts. Default: ``True``.\n\n``COFFEESCRIPT_CACHE_TIMEOUT``\n Cache timeout for inline scripts (in seconds). Default: 30 days.\n\n``COFFEESCRIPT_MTIME_DELAY``\n Cache timeout for reading the modification time of external scripts (in seconds). Default: 10 seconds.\n \n``COLDBREW_FAIL_LOUD``\n If True, raise ColdBrewCompileError upon encountering compiling error.\n Otherwise, records to error log.\n Defaults to same as DEBUG.\n\nChanges\n*******\n\n0.5\n---\nAdded COLDBREW_FAIL_LOUD setting\nAdded test coverage\nTags now work with staticfiles app\n\n\n***CHANGES BELOW ARE PRIOR TO FORK FROM django-coffeescript***\n\n0.4\n---\n\n- Log coffeescript compilation errors\n- Fixed bug with paths on Windows (by syabro)\n\n0.3\n---\n\n- Use STATIC_ROOT / STATIC_URL settings when possible instead of MEDIA_ROOT / MEDIA_URL (by Roman Vorushin)\n\n0.2.1\n-----\n\n- Add CHANGES.rst to MANIFEST.in\n\n0.2\n---\n\n- Automatically remove old files from COFFEESCRIPT_CACHE\n- Add basic unit tests\n\n0.1\n---\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SlashRoot/django-coldbrew", "keywords": "coffeescript", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-coldbrew", "package_url": "https://pypi.org/project/django-coldbrew/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-coldbrew/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/SlashRoot/django-coldbrew" }, "release_url": "https://pypi.org/project/django-coldbrew/0.5/", "requires_dist": null, "requires_python": null, "summary": "Django Template Tags to compile CoffeeScript inline or from a file.", "version": "0.5" }, "last_serial": 488096, "releases": { "0.5": [] }, "urls": [] }