{ "info": { "author": "Mathew Oakes", "author_email": "like@mathewoak.es", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "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.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP" ], "description": "ChannelBindJS\n=============\n\nActivates elements for inline editing and live updating from a django-channels\nbackend. This script looks for expected class names and data attributes and \nadds events and attributes to connect them.\n\nThe aim of this script is to be small and easy to use rather than being \nhigh-performance of highly featured. Compatibility is for modern browsers.\n\nAny html element containing a representation of a django model can be activated\nby adding classes to it and its enclosed field values.\n\nOn the container:\n- class=\"live\"\n- data-model=\"appname.modelname\"\n- data-id=\"1\" // primay key\n\nOn each field:\n- class=\"field\" // to enable live udpates\n- class=\"editable\" // to enable inline editing\n- data-field=\"fieldname\"\n\nThis object depends on the channels.WebSocketBinding and should be initialised\nwith the binding url of the demultiplexer set up in channels routing.\n\nInclude the script:\n\n```html\n\u2026\n \n \n \n```\n\nAnd to make a model receive live updates and have inline editing:\n\n```html\n
\n
\n
Rendered content of title field
\n
\n
Rendered description
\n
\n```\n\nLinks\n-----\n\n[Channels data binding documentation](https://channels.readthedocs.io/en/stable/binding.html)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "channelbindjs", "package_url": "https://pypi.org/project/channelbindjs/", "platform": "", "project_url": "https://pypi.org/project/channelbindjs/", "project_urls": null, "release_url": "https://pypi.org/project/channelbindjs/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Activate html document elements for inline editing and live updating from a django-channels backend.", "version": "0.1.0" }, "last_serial": 3178437, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1152dc26d25bcc0c3d9b3bff9fe17794", "sha256": "6b70b6fe6c9dc20c97112bd67097de51f6751389c48221a9a7f877780e95877d" }, "downloads": -1, "filename": "channelbindjs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1152dc26d25bcc0c3d9b3bff9fe17794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4455, "upload_time": "2017-09-16T06:57:41", "url": "https://files.pythonhosted.org/packages/81/6b/484ac0f3ec3d23b6005fcc2864d7e5a5d180f3bc246d62a71f2c9f218310/channelbindjs-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1152dc26d25bcc0c3d9b3bff9fe17794", "sha256": "6b70b6fe6c9dc20c97112bd67097de51f6751389c48221a9a7f877780e95877d" }, "downloads": -1, "filename": "channelbindjs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1152dc26d25bcc0c3d9b3bff9fe17794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4455, "upload_time": "2017-09-16T06:57:41", "url": "https://files.pythonhosted.org/packages/81/6b/484ac0f3ec3d23b6005fcc2864d7e5a5d180f3bc246d62a71f2c9f218310/channelbindjs-0.1.0.tar.gz" } ] }