{ "info": { "author": "Mikhail Korobov", "author_email": "kmike84@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========================\ndjango-mootools-behavior\n========================\n\nUtilities for https://github.com/anutron/behavior integration with django.\n\nThis app provides template filters that can alter data attributes of the form\nfields required for behavior. It also have a 'behavior' and 'behavior-more'\nlibraries bundled for use with django.contrib.staticfiles.\n\nThe license is MIT.\n\nInstallation\n============\n\n::\n\n pip install django-mootools-behavior\n\nConfiguration\n=============\n\n1. Add 'mootools_behavior' to INSTALLED_APPS;\n2. (optional) run ``python manage.py collectstatic`` in order to get 'behavior'\n javascript files;\n3. include the necessary js into html and use provided template filters\n in order to set attributes for form elements.\n\nFilters\n=======\n\nbehave\n------\n\nSets 'data-behavior-...' attribute to a form field::\n\n {% load mootools_behavior %}\n\n \n {{ form.title|behave:\"OverText\" }}\n\n\nset_data\n--------\n\nSets HTML5 data attribute ( http://ejohn.org/blog/html-5-data-attributes/ ).\n\nExample::\n\n {% load mootools_behavior %}\n\n \n {{ form.title|set_data:\"behavior:OverText\" }}\n\nContributing\n============\n\nIf you've found a bug, implemented a feature or have a suggestion,\ndo not hesitate to contact me, fire an issue or send a pull request.\n\nSource code:\n\n* https://bitbucket.org/kmike/django-mootools-behavior/\n* https://github.com/kmike/django-mootools-behavior/\n\nReport bugs:\n\n* https://bitbucket.org/kmike/django-mootools-behavior/issues\n* https://github.com/kmike/django-mootools-behavior/issues", "description_content_type": null, "docs_url": null, "download_url": "http://bitbucket.org/kmike/django-mootools-behavior/get/tip.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/kmike/django-mootools-behavior/", "keywords": null, "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "django-mootools-behavior", "package_url": "https://pypi.org/project/django-mootools-behavior/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mootools-behavior/", "project_urls": { "Download": "http://bitbucket.org/kmike/django-mootools-behavior/get/tip.zip", "Homepage": "http://bitbucket.org/kmike/django-mootools-behavior/" }, "release_url": "https://pypi.org/project/django-mootools-behavior/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Utilities for https://github.com/anutron/behavior integration with django.", "version": "0.1.1" }, "last_serial": 654529, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8f51d88e92ddf0ce5d14ecc5c901d593", "sha256": "40a750468b49d3994cffa62270976f4f413a5b0933043f059ffc832cefdd596e" }, "downloads": -1, "filename": "django-mootools-behavior-0.1.tar.gz", "has_sig": false, "md5_digest": "8f51d88e92ddf0ce5d14ecc5c901d593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16990, "upload_time": "2011-06-23T17:25:11", "url": "https://files.pythonhosted.org/packages/02/c5/f1da61e48bad0bd7d3d3939813eafea24dd911d7a5910632326fc2be0635/django-mootools-behavior-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0a6d0a480d67b2ea3e5d052a8a1e13b0", "sha256": "31b1e94f8b80afe0b838ea967b1d4f384807026d1e729d1eceb6e4b386e3f7af" }, "downloads": -1, "filename": "django-mootools-behavior-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0a6d0a480d67b2ea3e5d052a8a1e13b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17336, "upload_time": "2011-06-23T18:15:11", "url": "https://files.pythonhosted.org/packages/2b/6a/bd8a22d8009e917ad682b478392d93df0e32a983794296b66217fccbdaeb/django-mootools-behavior-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a6d0a480d67b2ea3e5d052a8a1e13b0", "sha256": "31b1e94f8b80afe0b838ea967b1d4f384807026d1e729d1eceb6e4b386e3f7af" }, "downloads": -1, "filename": "django-mootools-behavior-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0a6d0a480d67b2ea3e5d052a8a1e13b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17336, "upload_time": "2011-06-23T18:15:11", "url": "https://files.pythonhosted.org/packages/2b/6a/bd8a22d8009e917ad682b478392d93df0e32a983794296b66217fccbdaeb/django-mootools-behavior-0.1.1.tar.gz" } ] }