{ "info": { "author": "Mjumbe Wawatu Ukweli", "author_email": "mjumbewu@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "=================\ndjango-mustachejs\n=================\n\n|build status|_\n\n.. |build status| image:: https://secure.travis-ci.org/mjumbewu/django-mustachejs.png\n.. _build status: https://secure.travis-ci.org/mjumbewu/django-mustachejs\n\nA templatetag framework for easier integration of `mustache.js`_ JavaScript\ntemplates with Django templates. Inspired by `ICanHaz.js`_, `django-icanhaz`_,\nand `jquery.mustache`_.\n\n.. _mustache.js: http://mustache.github.com/\n.. _django-icanhaz: http://github.com/carljm/django-icanhaz\n.. _ICanHaz.js: http://icanhazjs.com/\n.. _jquery.mustache: https://github.com/AF83/jquery.mustache\n\nQuick Usage\n-----------\n\n(Read the full docs on `Read the Docs`_)\n\n.. _Read the Docs: http://django-mustachejs.readthedocs.org/en/latest/\n\nAdd ``\"mustachejs\"`` to your ``INSTALLED_APPS`` setting.\n\n``app/jstemplates/main.mustache``::\n\n
\n

This is {{ name }}'s template

\n
\n\n``app/templates/main.html``::\n\n {% load mustachejs %}\n\n \n \n \n \n \n \n\n \n
\n\n {% mustachejs \"main\" %}\n\n \n \n \n\n\nRationale (from `django-icanhaz`_)\n----------------------------------\n\nThe collision between Django templates' use of ``{{`` and ``}}`` as template\nvariable markers and `mustache.js`_' use of same has spawned a variety of\nsolutions. `One solution`_ simply replaces ``[[`` and ``]]`` with ``{{`` and\n``}}`` inside an ``mustachejs`` template tag; `another`_ makes a valiant attempt\nto reconstruct verbatim text within a chunk of a Django template after it has\nalready been mangled by the Django template tokenizer.\n\nI prefer to keep my JavaScript templates in separate files in a dedicated\ndirectory anyway, to avoid confusion between server-side and client-side\ntemplating. So my contribution to the array of solutions is essentially just an\n\"include\" tag that avoids parsing the included file as a Django template (and\nfor convenience, automatically wraps it in the script tag that `ICanHaz.js`_\nexpects to find it in).\n\nEnjoy!\n\n.. _one solution: https://gist.github.com/975505\n.. _another: https://gist.github.com/629508\n\n\nCHANGES\n=======\n\n0.8.3\n------------------\n\n* Fix incorrect identifier name in makemessages command\n\n0.8.2\n------------------\n\n* Fix the FilesystemRegexFinder to match exactly the extensions specified in\n the configuration, and no more\n\n0.8.1\n------------------\n\n* Fix makemessages to work with recent code updates\n\n0.8.0\n------------------\n\n* Have the regex finder respect the MUSTACHEJS_EXTS setting\n* Update normal file finders to use glob patterns\n\n0.7.4\n------------------\n\n* Fix i18n preprocessor for python 2.6 compatibility\n\n0.7.3\n------------------\n\n* Correctly escaped translated strings.\n\n0.7.2\n------------------\n\n* Changed search pattern to be non-greedy.\n\n0.7.1\n------------------\n\n* Handle translation strings with new lines.\n\n0.7.0\n------------------\n\n* Pulled in commit from django-icanhaz to load templates using regular\n expressions.\n\n* Added preprocessing framework, and a preprocessor for i18n.\n\n* Hijack the makemessages command to find js template messages as well.\n\n0.6.0\n------------------\n\n* Add ``dustjs`` tag to insert a script block to create a compiled dustjs\n template. Thanks to `Gehan Gonsalkorale `_.\n\n0.5.0\n------------------\n\n* Add ``mustacheraw`` tag to insert just the raw text of a mustacehe template.\n Thanks to Greg Hinch.\n\n* Add ``mustacheich`` tag to insert a mustache script block as icanhaz expects.\n\n0.4.1 (2012.01.09)\n------------------\n\n* Fixed template reading to explicitly decode template file contents using\n Django's ``FILE_CHARSET`` setting. Thanks Eduard Iskandarov.\n\n* Fixed template-finding failure with non-normalized directories in\n ``MUSTACHEJS_DIRS``. Thanks Eduard Iskandarov for report and patch.\n\n\n0.4.0\n------------------\n\n* Add the MUSTACHEJS_EXTS configuration variable for specifying the extensions\n allowed for template files located by the FilesystemFinder (and, by extension,\n the AppFinder).\n\n\n0.3.3\n------------------\n\n* Add a package_data value to the setup call\n\n\n0.3.2\n------------------\n\n* Add the MANIFEST.in file itself as an entry in MANIFEST.in.\n\n\n0.3.0\n------------------\n\n* Change the name from django-icanhaz to django-mustachejs.\n* Remove dependency on ICanHaz.js. I like the library, but the maintainers\n were not responsive enough for now. Use Mustache.js straight, with a little\n bit of minimal sugar. Templates are rendered to straight Javascript.\n\n\n0.2.0 (2011.06.26)\n------------------\n\n* Made template-finding more flexible: ``ICANHAZ_DIR`` is now ``ICANHAZ_DIRS``\n (a list); added ``ICANHAZ_FINDERS``, ``ICANHAZ_APP_DIRNAMES``, and finding of\n templates in installed apps.\n\n\n0.1.0 (2011.06.22)\n------------------\n\n* Initial release.\n\n\nTODO\n====", "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/mjumbewu/django-mustachejs/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-mustachejs", "package_url": "https://pypi.org/project/django-mustachejs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mustachejs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mjumbewu/django-mustachejs/" }, "release_url": "https://pypi.org/project/django-mustachejs/0.8.3/", "requires_dist": null, "requires_python": null, "summary": "A Django template tag for embedding Mustache.js templates safely.", "version": "0.8.3" }, "last_serial": 790140, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "18676ed2c456eb38776bf5cf288c8c96", "sha256": "adc23061124dd31212b2a92e8abeea1a7b3bdcf5f47c9491afc1def619a409b5" }, "downloads": -1, "filename": "django-mustachejs-0.3.0.tar.gz", "has_sig": false, "md5_digest": "18676ed2c456eb38776bf5cf288c8c96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8011, "upload_time": "2011-12-27T03:54:51", "url": "https://files.pythonhosted.org/packages/c9/a8/31af6c3613dad41e504611b69c6bd68df8b0e47c48ab0375225121f8491a/django-mustachejs-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "c3afc4a50bc560d541a5f08107bb67e2", "sha256": "0dfde33f9154b05d245179ed4585091315d36f0d997c2e71af8788bb1776dfc8" }, "downloads": -1, "filename": "django-mustachejs-0.3.1.tar.gz", "has_sig": false, "md5_digest": "c3afc4a50bc560d541a5f08107bb67e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12375, "upload_time": "2011-12-27T04:10:27", "url": "https://files.pythonhosted.org/packages/95/1a/ee467124da183304a5e2f043deff83a4abeb563f8e8199b82807bad8cc49/django-mustachejs-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "60ba868cb5d7ada83604f637b2de2dbc", "sha256": "9bbf94639921b24cc38ab98b0c71733efe277edd389dcee9366853f9ca50107f" }, "downloads": -1, "filename": "django-mustachejs-0.3.2.tar.gz", "has_sig": false, "md5_digest": "60ba868cb5d7ada83604f637b2de2dbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12593, "upload_time": "2011-12-27T05:02:28", "url": "https://files.pythonhosted.org/packages/b0/8c/865d1898fa6832c60eb99561a05a1a578b8c03a4fca21b144940d4522783/django-mustachejs-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "f2223e3370237f53f3e86f2aa619b6f8", "sha256": "a348040cb63392fb7934119398bb2700e89c5545500ae28a22939620c4adc2e4" }, "downloads": -1, "filename": "django-mustachejs-0.3.3.tar.gz", "has_sig": false, "md5_digest": "f2223e3370237f53f3e86f2aa619b6f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12652, "upload_time": "2011-12-27T05:31:31", "url": "https://files.pythonhosted.org/packages/6f/9a/02913626398726b224039901c5fdabe4d5efb2ab02c6362259faf0ee442d/django-mustachejs-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "c046a4c4432515f8218efb1659d62f11", "sha256": "d8feee329f9fd4c21b053d00be9383879e91ed1081eaf3af20cb1dfabd07727d" }, "downloads": -1, "filename": "django-mustachejs-0.3.4.tar.gz", "has_sig": false, "md5_digest": "c046a4c4432515f8218efb1659d62f11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13050, "upload_time": "2011-12-29T04:28:32", "url": "https://files.pythonhosted.org/packages/79/55/587552af480c25318172cd8b7052f308ac393118d53bb89fff928c518bb9/django-mustachejs-0.3.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "b72806d9a90e92b7358f802025ea1e53", "sha256": "b6072dce63fe23c20a664f58dbd1d34eef1a33c96d4fb9f8b846ccf50e43cc49" }, "downloads": -1, "filename": "django-mustachejs-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b72806d9a90e92b7358f802025ea1e53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13039, "upload_time": "2011-12-29T04:43:25", "url": "https://files.pythonhosted.org/packages/40/c6/d6ca9e1e5638c06324328cb05de8e891b716c0eee2c5aa34c47096110f4e/django-mustachejs-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "d33a13cdcc40bc696e54f6fd351cd92b", "sha256": "d69c18ec0d986e5de606b805556b22b03e3e3f7f29655ff153682e0750657978" }, "downloads": -1, "filename": "django-mustachejs-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d33a13cdcc40bc696e54f6fd351cd92b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14318, "upload_time": "2012-01-15T11:33:06", "url": "https://files.pythonhosted.org/packages/38/0a/f26c17c531c596ab20211163e22870aa768340463bcf44196413bc2b760c/django-mustachejs-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "0937ea175e35d9284df0afc94ec1d924", "sha256": "1bef7ed5f67c8adc65bd7545833febc28b3f53cc425cf701b845d21209c32c05" }, "downloads": -1, "filename": "django-mustachejs-0.5.0.tar.gz", "has_sig": false, "md5_digest": "0937ea175e35d9284df0afc94ec1d924", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14970, "upload_time": "2012-01-31T19:02:33", "url": "https://files.pythonhosted.org/packages/88/5d/49211ab5ddcc498c5bf38a661fb868be1c9e8dccd751df224a326b0b41b8/django-mustachejs-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "83308107ff451fc5030cb77b0aede7fd", "sha256": "a68b3673e7dfc05bd1c4da0dea09dade755f55994854caced09d13079427ba6e" }, "downloads": -1, "filename": "django-mustachejs-0.6.0.tar.gz", "has_sig": false, "md5_digest": "83308107ff451fc5030cb77b0aede7fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15367, "upload_time": "2012-02-25T03:19:52", "url": "https://files.pythonhosted.org/packages/44/93/2693208d6865b745a6530575313a51f63503bdf56d9912204486df92e126/django-mustachejs-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "50328b626367a4643f49cb94677be436", "sha256": "5896a3345afe8dd4c824be715976a03d82908b3cea7add6e4e718c68e06e85be" }, "downloads": -1, "filename": "django-mustachejs-0.7.0.tar.gz", "has_sig": false, "md5_digest": "50328b626367a4643f49cb94677be436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19563, "upload_time": "2012-08-08T07:57:23", "url": "https://files.pythonhosted.org/packages/72/65/262f81c710e417619c72715020b3186c14b37477f10793b2ce5cd1565d06/django-mustachejs-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "9b9511aad7120d3813828ae07b7a7b5f", "sha256": "2666c2666d6187a84dec4da47c5be6fe54b03de5e0d354189cb847dc3ace18be" }, "downloads": -1, "filename": "django-mustachejs-0.7.1.tar.gz", "has_sig": false, "md5_digest": "9b9511aad7120d3813828ae07b7a7b5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19668, "upload_time": "2012-08-08T22:36:50", "url": "https://files.pythonhosted.org/packages/c8/f7/b371546f8f32540c108e799658d64381cdc208cf3ec9b10204a780053db8/django-mustachejs-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "8c64c3ef93afbb77d3b134d006dacba0", "sha256": "41f7d7264218964d0d572010c619a43efc9d79412390c5b996c1848b85109242" }, "downloads": -1, "filename": "django-mustachejs-0.7.2.tar.gz", "has_sig": false, "md5_digest": "8c64c3ef93afbb77d3b134d006dacba0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19738, "upload_time": "2012-08-08T22:47:12", "url": "https://files.pythonhosted.org/packages/87/e9/f430b9cd67adc5470901d2f51f7149d13fac4a1c471fa62fd2309e011137/django-mustachejs-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "1cd84f5ce47467b92e6dadcf74341888", "sha256": "05640352a52dd226cb529045ff704f0c653dc8523d1f51a6dab28b68c9645e70" }, "downloads": -1, "filename": "django-mustachejs-0.7.3.tar.gz", "has_sig": false, "md5_digest": "1cd84f5ce47467b92e6dadcf74341888", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19790, "upload_time": "2012-08-08T23:53:25", "url": "https://files.pythonhosted.org/packages/90/da/c9309760d167da166b0a6d362a90ba3dd8cab4f73c27731910559461a36e/django-mustachejs-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "e50dc9dfae246b8a939a6266b8590d4a", "sha256": "32a344d5235b21b3940b3de1ed22c6dbce80392784e89f2352f075e2047c2978" }, "downloads": -1, "filename": "django-mustachejs-0.7.4.tar.gz", "has_sig": false, "md5_digest": "e50dc9dfae246b8a939a6266b8590d4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19952, "upload_time": "2012-08-09T19:44:52", "url": "https://files.pythonhosted.org/packages/36/a6/b224b903107f1c5c3431abce3c3b3336f6791d1c06639c2895cf03b8018d/django-mustachejs-0.7.4.tar.gz" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "de261f424e55d1761ba9e1d1379c802e", "sha256": "eef8412319e4196c744cdea4040a7338b7e3865c312f4444528425d8ee31871a" }, "downloads": -1, "filename": "django-mustachejs-0.7.5.tar.gz", "has_sig": false, "md5_digest": "de261f424e55d1761ba9e1d1379c802e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17520, "upload_time": "2012-08-17T08:23:30", "url": "https://files.pythonhosted.org/packages/9e/12/e53a842d915e9605462110f818e7c579a0ef2558969144b165a7aeec4dea/django-mustachejs-0.7.5.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "cbad5001b3560ec45c475d1ced287860", "sha256": "4808c83e421daa141838245085190b3f7d66fe8ea6b7cb0db17481cfff931802" }, "downloads": -1, "filename": "django-mustachejs-0.8.1.tar.gz", "has_sig": false, "md5_digest": "cbad5001b3560ec45c475d1ced287860", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17897, "upload_time": "2012-08-17T15:36:16", "url": "https://files.pythonhosted.org/packages/84/ab/46a71b232875b60aeaf7c4c9c31854bf3ad85dcccf708ef0cf237a791802/django-mustachejs-0.8.1.tar.gz" } ], "0.8.2": [ { "comment_text": "", "digests": { "md5": "13991cfce0e17f47d5a1e587d8decc35", "sha256": "67798e5dcf0a9f9a4204bdfa7f6148f4250e99f59d2eff4a115f6f97e8d8c832" }, "downloads": -1, "filename": "django-mustachejs-0.8.2.tar.gz", "has_sig": false, "md5_digest": "13991cfce0e17f47d5a1e587d8decc35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18189, "upload_time": "2012-08-23T23:26:04", "url": "https://files.pythonhosted.org/packages/f3/7b/31484845e8909ff26fbb1bb9f7f6f92e1947844277bd73e11b4bd7e91995/django-mustachejs-0.8.2.tar.gz" } ], "0.8.3": [ { "comment_text": "", "digests": { "md5": "2256bba933ec374208e550338101f0a2", "sha256": "f75b0275471008119faa88b3a51de792b279219cad9d3fe05d391f497286663e" }, "downloads": -1, "filename": "django-mustachejs-0.8.3.tar.gz", "has_sig": false, "md5_digest": "2256bba933ec374208e550338101f0a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18224, "upload_time": "2012-08-23T23:29:15", "url": "https://files.pythonhosted.org/packages/7f/53/141bc23b121301b0fdcf6426ac16e42d516369681de957296cfc94a49c8a/django-mustachejs-0.8.3.tar.gz" } ], "0.8.3-eol": [ { "comment_text": "", "digests": { "md5": "1ca2cc492849fe42d97eee1214d290ec", "sha256": "7ff062b4de7622dd139f70c3c46e8653de968cc74a35bc867cc16b0004dea7c5" }, "downloads": -1, "filename": "django-mustachejs-0.8.3-eol.tar.gz", "has_sig": false, "md5_digest": "1ca2cc492849fe42d97eee1214d290ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18602, "upload_time": "2012-09-06T05:37:55", "url": "https://files.pythonhosted.org/packages/73/69/43422e87d25fa16ef8ba453a5a5a3159850664e3ef7b107d0136754e794e/django-mustachejs-0.8.3-eol.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2256bba933ec374208e550338101f0a2", "sha256": "f75b0275471008119faa88b3a51de792b279219cad9d3fe05d391f497286663e" }, "downloads": -1, "filename": "django-mustachejs-0.8.3.tar.gz", "has_sig": false, "md5_digest": "2256bba933ec374208e550338101f0a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18224, "upload_time": "2012-08-23T23:29:15", "url": "https://files.pythonhosted.org/packages/7f/53/141bc23b121301b0fdcf6426ac16e42d516369681de957296cfc94a49c8a/django-mustachejs-0.8.3.tar.gz" } ] }