{ "info": { "author": "Adam Cupia\u0142", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup :: HTML" ], "description": "Author: Adam Cupia\u0142\n\nContributors: Andrei Antoukh, Ben Lopatin\n\n# Description\n\nFormfields in django are not suited for HTML5, hence this app\n\n# Installation\n\n 1. clone repository git clone git://github.com/adamcupial/django-html5-forms.git, put it somewhere in your python path\n 2. add 'html5forms' to INSTALLED_APPS (not required)\n 3. use appropriate form fields in your forms (since the widgets requires some additional attributes passed from forms, you should use fields)\n\n# Fields\n\n## All fields\n\n### Attributes\n * all the core attributes from django field\n * placeholder :text, which displays on the field when it is empty and unfocused\n * autofocus (true/false), automaticaly set focus to element on page load\n\n## Html5CharField\n\nwidget: Html5TextInput\n\n Typical CharField, most common field in the internet, allows datalist choices, which is great autocomplete feature\n\n * all the attr of django CharField\n * datalist: list or tuple, of words for autocompletion (sng like autocomplete in firefox or chrome)\n\n## Html5PasswordField\n\nwidget: Html5PasswordInput\n\n Typical PasswordField, does not allow datalist choices\n\n * all the attr of django CharField/PasswordField\n\n## Html5SearchField\n\nwidget: Html5SearchInput\n\n New field in HTML5 - the same as CharField only different input type, should be used in search fields, allows datalists\n\n * all the attr of django CharField/PasswordField\n\n## Html5EmailField\n\n widget: Html5EmailInput\n\n## Html5UrlField\n\n## Html5IntegerField\n\nwidget: Html5NumberInput\n\n Attributes:\n * required = [True/False]\n * min_value\n * max_value\n\n## Html5BooleanField\n\nwidget: Html5CheckboxInput\n\n## Html5RangeField\n\nwidget: Html5RangeInput\n\n Attributes:\n * same as Html5IntegerField\n * step\n\n## Html5TelField\n\nwidget: Html5TelInput\n\n New field in HTML5 - provides defaults for minimum and maximum length that\n should accept most phone numbers.\n\n Attributes:\n * same as Html5CharField", "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/adamcupial/django-html5-forms", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "html5forms", "package_url": "https://pypi.org/project/html5forms/", "platform": "any", "project_url": "https://pypi.org/project/html5forms/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/adamcupial/django-html5-forms" }, "release_url": "https://pypi.org/project/html5forms/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "HTML5 forms for Django.", "version": "0.0.3" }, "last_serial": 793042, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "ee0f52c5189aca3e61105801491ab1f1", "sha256": "ed6508c2b655a80bfc9f84bc85f732aeeac05ad76e202d71f736727a338ab01a" }, "downloads": -1, "filename": "html5forms-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ee0f52c5189aca3e61105801491ab1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6275, "upload_time": "2013-03-01T10:29:42", "url": "https://files.pythonhosted.org/packages/29/11/b1958bb819b269df884d5f4130c9ac98878e64886fa5d99a0f10122b51c2/html5forms-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "07b33db8240b3764d40b100f3ee984f7", "sha256": "e90cb427ea6dc973bbd103222bd81ca493eda53c68ae72a4073ed3d6bbf16367" }, "downloads": -1, "filename": "html5forms-0.0.3.tar.gz", "has_sig": false, "md5_digest": "07b33db8240b3764d40b100f3ee984f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6410, "upload_time": "2013-06-24T10:54:19", "url": "https://files.pythonhosted.org/packages/11/b2/425c61339b4fa52f9249e72362ee4297206a6390aeb705e734f804c53055/html5forms-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "07b33db8240b3764d40b100f3ee984f7", "sha256": "e90cb427ea6dc973bbd103222bd81ca493eda53c68ae72a4073ed3d6bbf16367" }, "downloads": -1, "filename": "html5forms-0.0.3.tar.gz", "has_sig": false, "md5_digest": "07b33db8240b3764d40b100f3ee984f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6410, "upload_time": "2013-06-24T10:54:19", "url": "https://files.pythonhosted.org/packages/11/b2/425c61339b4fa52f9249e72362ee4297206a6390aeb705e734f804c53055/html5forms-0.0.3.tar.gz" } ] }