{ "info": { "author": "Marco Louro, Jussi Vaihia", "author_email": "jussi.vaihia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django JS Utils [![Build Status](https://travis-ci.org/mixman/django-js-utils.svg?branch=master)](https://travis-ci.org/mixman/django-js-utils)\n===============\n\nA fork of dutils, a library for using Django urlpatterns on the clientside.\n\nInstallation\n------------\n\n1. Add `django_js_utils` to INSTALLED_APPS\n\n2. Set the file to hold the generated urls\n```URLS_JS_GENERATED_FILE = 'static/js/dutils.conf.urls.js'```\n\n3. Add inclusion/exclusions patterns\n```\n URLS_INCLUDE_PREFIX = ['^api',]\n URLS_INCLUDE_PATTERN = ['index','status']\n URLS_EXCLUDE_PREFIX = ['^internal',]\n URLS_EXCLUDE_PATTERN = ['index',]\n```\n\n4. Add to your project:\n```\n \n \n```\n\nUsage\n-----\n\n1. Create the `URLS_JS_GENERATED_FILE` (for production remember to run `collectstatic`):\n```\n python manage.py js_urls\n```\n\n2. Clientside Django urlpatterns:\n```\n url('time_edit', {'project_id': 1, time_id: 2}\n url('time_edit', [1, 2])\n```\n\nCredits\n-------\n\nCredit contributing to django-js-utils goes to:\n* Marco Louro (author)\n* Chris Reeves\n* Dimitri Gnidash\n* Luke Zapart\n* Robby Dermody\n* Antti Kaihola\n* Simon Williams\n* Jussi Vaihia", "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/mixman/django-js-utils", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-js-utils-nextgen", "package_url": "https://pypi.org/project/django-js-utils-nextgen/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-js-utils-nextgen/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mixman/django-js-utils" }, "release_url": "https://pypi.org/project/django-js-utils-nextgen/0.9.0/", "requires_dist": null, "requires_python": null, "summary": "Django JS Urls: urlpatterns for clientside", "version": "0.9.0" }, "last_serial": 2000966, "releases": { "0.7.0": [ { "comment_text": "", "digests": { "md5": "ed68068f75b55b14b6eca451a2d58e38", "sha256": "3b718bb4bdc86e3a10efe2c315b5a93d4d6c85144605d7eb67582e7ee9b59abc" }, "downloads": -1, "filename": "django-js-utils-nextgen-0.7.0.tar.gz", "has_sig": false, "md5_digest": "ed68068f75b55b14b6eca451a2d58e38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5294, "upload_time": "2015-03-02T11:45:13", "url": "https://files.pythonhosted.org/packages/6a/89/c24c3a8de6131ba7ab4b8d20b34feca4988e565ede175a3fb18e4a11c011/django-js-utils-nextgen-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "ba2c3eda7a3228fb050e2051e7d9a3d4", "sha256": "7af01247b3152d4f27aa9ebe7b46210fef4058906b112a97c81623fe02ff5a3d" }, "downloads": -1, "filename": "django-js-utils-nextgen-0.8.0.tar.gz", "has_sig": false, "md5_digest": "ba2c3eda7a3228fb050e2051e7d9a3d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5363, "upload_time": "2015-09-22T11:56:23", "url": "https://files.pythonhosted.org/packages/67/7b/0aa09c57914b712d277e9d515789a09589f7a1ea03c6c91e8070b019d97d/django-js-utils-nextgen-0.8.0.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "e77ca96b42bc5c2b20679b0854aa733b", "sha256": "9569e6d4234bccd76ddd1b8a7ab33eb5df91812a63cfe61753037050bcc0cbc9" }, "downloads": -1, "filename": "django-js-utils-nextgen-0.8.1.tar.gz", "has_sig": false, "md5_digest": "e77ca96b42bc5c2b20679b0854aa733b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5337, "upload_time": "2015-09-28T08:03:51", "url": "https://files.pythonhosted.org/packages/1e/60/44e8f970d3cabff2568ac26d3afac80adef8b5be8470af61f3da2452b45e/django-js-utils-nextgen-0.8.1.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "c34a4107debec9035d5ac61fb9e28cbc", "sha256": "23ab92935efb48986b5fd8d6483fd4b713be528f8ded2d8ef232129ea7e3b82a" }, "downloads": -1, "filename": "django-js-utils-nextgen-0.9.0.tar.gz", "has_sig": false, "md5_digest": "c34a4107debec9035d5ac61fb9e28cbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4437, "upload_time": "2016-03-11T09:04:35", "url": "https://files.pythonhosted.org/packages/5f/61/d34f72175989c0cf83e62dfa6d42f851a6f3205be4dd5b8b687d8db2dacb/django-js-utils-nextgen-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c34a4107debec9035d5ac61fb9e28cbc", "sha256": "23ab92935efb48986b5fd8d6483fd4b713be528f8ded2d8ef232129ea7e3b82a" }, "downloads": -1, "filename": "django-js-utils-nextgen-0.9.0.tar.gz", "has_sig": false, "md5_digest": "c34a4107debec9035d5ac61fb9e28cbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4437, "upload_time": "2016-03-11T09:04:35", "url": "https://files.pythonhosted.org/packages/5f/61/d34f72175989c0cf83e62dfa6d42f851a6f3205be4dd5b8b687d8db2dacb/django-js-utils-nextgen-0.9.0.tar.gz" } ] }