{ "info": { "author": "Justin Quick", "author_email": "justquick@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Django Live Validation\n======================\n \nDjango Live Validation provides quick and easy client-side form validation which validates as you type.\nIt uses the `Live Validation `_ JS library in conjunction with Django Forms.\nThis is by no means a replacement to Django's built in form validation, but it is a suppliment which is purely client-side baed which cuts down on server-side requests for validation. \nThis version of django-livevalidation requires Django >= 1.2, for previous versions please use this project: http://opensource.washingtontimes.com/projects/django-livevalidation/\n\n\nInstall\n--------\n\nPlace ``'livevalidaiton'`` into your ``INSTALLED_APPS`` and make sure it is above the Django admin since it overrides some of the admin templates::\n\n INSTALLED_APPS = (\n 'livevalidation',\n ...\n 'django.contrib.admin',\n )\n \n\nUsage\n------\n\nTo use livevalidation in your templates, make sure you load the headers first before doing anything::\n\n {% include 'livevalidation/header.html' %}\n \nThis loads the JS library at ``js/livevalidation_standalone.compressed.js`` and the CSS at ``css/livevalidation.css``. Feel free to tweak the CSS to your liking\n\nNow you can use the templatetag to validate a form instance::\n\n {% live_validate form [option=value ...] %}\n \nWhere the ``form`` is any ``django.forms.Form`` (or subclass) instance. \nThe optional option=value kwargs are in pairs as follows:\n\n- **validMessage** - message to be used upon successful validation (DEFAULT: \"Thankyou!\")\n- **onValid** - javascript function name to execute when field passes validation \n- **onInvalid** - javascript function name to execute when field fails validation\n- **insertAfterWhatNode** - id of node to have the message inserted after (DEFAULT: the field that is being validated)\n- **onlyOnBlur** - whether you want it to validate as you type or only on blur (DEFAULT: False)\n- **wait** - the time you want it to pause from the last keystroke before it validates (milliseconds) (DEFAULT: 0)\n- **onlyOnSubmit** - if it is part of a form, whether you want it to validate it only when the form is submitted (DEFAULT: False)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/washingtontimes/django-livevalidation", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-livevalidation", "package_url": "https://pypi.org/project/django-livevalidation/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-livevalidation/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/washingtontimes/django-livevalidation" }, "release_url": "https://pypi.org/project/django-livevalidation/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Live validation for Django forms. It validates as you type. Uses scripts from livevalidation.com", "version": "0.1.1" }, "last_serial": 789987, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "6bc7b19e5c809fb40b7bb04adbd90938", "sha256": "0c649030baf9130471d192f91426fdde9306ff4600bcba03055ad4fee50aade4" }, "downloads": -1, "filename": "django-livevalidation-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6bc7b19e5c809fb40b7bb04adbd90938", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47760, "upload_time": "2010-09-02T17:31:34", "url": "https://files.pythonhosted.org/packages/58/8d/78ca3f3478bfaf04e6ee42717afa577bf53276199e58700d5d014bc45898/django-livevalidation-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6bc7b19e5c809fb40b7bb04adbd90938", "sha256": "0c649030baf9130471d192f91426fdde9306ff4600bcba03055ad4fee50aade4" }, "downloads": -1, "filename": "django-livevalidation-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6bc7b19e5c809fb40b7bb04adbd90938", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47760, "upload_time": "2010-09-02T17:31:34", "url": "https://files.pythonhosted.org/packages/58/8d/78ca3f3478bfaf04e6ee42717afa577bf53276199e58700d5d014bc45898/django-livevalidation-0.1.1.tar.gz" } ] }