{ "info": { "author": "Matthew Wilkes", "author_email": "django-oscar-worldpay@matthewwilkes.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Other/Nonlisted Topic" ], "description": "django-dob-widget\n=================\n\n|Build Status|\n\nA Django date widget optimised for usability in entering dates of birth.\n\nThis is based on the guidelines put forward by the UK Government Digital\nService at\nhttps://designnotes.blog.gov.uk/2013/12/05/asking-for-a-date-of-birth/\n\nUsage:\n\n::\n\n from django import forms\n from dobwidget import DateOfBirthWidget\n\n class PersonModelForm(forms.ModelForm):\n \"\"\"\n Model form for people.\n \"\"\"\n \n class Meta(object):\n model = Person\n fields = ['name', 'date_of_birth']\n widgets = {\n 'date_of_birth': DateOfBirthWidget(),\n }\n \n\nThe DateOfBirthWidget can take an optional order parameter, to make it\nuseful in non-UK jurisdictions:\n\n::\n\n class Meta(object):\n model = Person\n fields = ['name', 'date_of_birth']\n widgets = {\n 'date_of_birth': DateOfBirthWidget(order='MDY'),\n }\n\nChanges\n-------\n\n1.1.3\n~~~~~\n\n- Handle far future dates that raise OverflowError when given to\n datetime.date\n\n1.1.2\n~~~~~\n\n- Do not clear inputs if an invalid date is entered\n\n1.1.1\n~~~~~\n\n- Bug fix around character-based input\n\n1.1.0\n~~~~~\n\n- Allow attrs of the individual subwidgets to be set using day\\_attrs,\n month\\_attrs and year\\_attrs.\n\n1.0.0\n~~~~~\n\n- Initial release\n\nAuthors\n-------\n\n- \"Matthew Wilkes\" matt@matthewwilkes.name\n\n.. |Build Status| image:: https://travis-ci.org/MatthewWilkes/django-dob-widget.svg?branch=master\n :target: https://travis-ci.org/MatthewWilkes/django-dob-widget", "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/matthewwilkes/django-dob-widget", "keywords": "django,widget,date", "license": "The MIT License (MIT)\n\nCopyright (c) 2016 Matthew Wilkes\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "django-dob-widget", "package_url": "https://pypi.org/project/django-dob-widget/", "platform": "linux", "project_url": "https://pypi.org/project/django-dob-widget/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/matthewwilkes/django-dob-widget" }, "release_url": "https://pypi.org/project/django-dob-widget/1.1.3/", "requires_dist": null, "requires_python": null, "summary": "A Django date widget optimised for usability in entering dates of birth", "version": "1.1.3" }, "last_serial": 2102852, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fe3132d040943a1bfac5f89770946174", "sha256": "40ae5d1bd94e6a39ac06f2f3f5469edb83843fb5c3d2d0f655b91f35bd21d3d5" }, "downloads": -1, "filename": "django_dob_widget-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fe3132d040943a1bfac5f89770946174", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5502, "upload_time": "2016-03-24T17:53:55", "url": "https://files.pythonhosted.org/packages/c0/cb/3284c6baed281155f47b13cd4126f56cb6746017ef10ce1b75f0c81376b0/django_dob_widget-1.0.0-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "af4c8cbc0024341f5b2074f8395425c6", "sha256": "3be07ffce9082408c6c15059e48d3b0a509400eddb3d13304c27b1fd6b11d5e2" }, "downloads": -1, "filename": "django_dob_widget-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "af4c8cbc0024341f5b2074f8395425c6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5750, "upload_time": "2016-03-30T12:08:00", "url": "https://files.pythonhosted.org/packages/27/3a/747b0c076c59f511b2249b65b9e24a123b3631cfe21e6e2b588c0b7d216c/django_dob_widget-1.1.0-py2.py3-none-any.whl" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "b9b1713212f11f024fbbd11b24d6b7fd", "sha256": "64a03e8c058526006c8ec2dbb14e29469b99c693a64b410a253fd6bc9ac3d560" }, "downloads": -1, "filename": "django_dob_widget-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9b1713212f11f024fbbd11b24d6b7fd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5825, "upload_time": "2016-03-30T14:32:41", "url": "https://files.pythonhosted.org/packages/d8/03/fc82d8bc9d76f015cded4fddb580f969716d651e357783c2103fb5e0ba9a/django_dob_widget-1.1.1-py2.py3-none-any.whl" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "b0de4bc48153fcf1462bfa826de547a4", "sha256": "fa2886436c78d21c34bc84781083837b267c63472d1af62ec28fec67bbeb95f1" }, "downloads": -1, "filename": "django_dob_widget-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b0de4bc48153fcf1462bfa826de547a4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5903, "upload_time": "2016-04-06T19:02:21", "url": "https://files.pythonhosted.org/packages/80/82/1a538ced10fcb08b1a30996e8abb6e8e2b3862fe1d71571235d095f75928/django_dob_widget-1.1.2-py2.py3-none-any.whl" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "e9d90c9ccfe7c1983c9a06c3d9c4ed43", "sha256": "7f2d394e68b77e366f2ee0ec838d4cce31356f476e11c55bfb2242fd3474cce3" }, "downloads": -1, "filename": "django_dob_widget-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9d90c9ccfe7c1983c9a06c3d9c4ed43", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6031, "upload_time": "2016-05-06T16:27:01", "url": "https://files.pythonhosted.org/packages/a1/79/71cfdb534ff8e59fe0b59cac89c10f8dcb1d96f25b0dd2913fe951c5ff3c/django_dob_widget-1.1.3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9d90c9ccfe7c1983c9a06c3d9c4ed43", "sha256": "7f2d394e68b77e366f2ee0ec838d4cce31356f476e11c55bfb2242fd3474cce3" }, "downloads": -1, "filename": "django_dob_widget-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9d90c9ccfe7c1983c9a06c3d9c4ed43", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6031, "upload_time": "2016-05-06T16:27:01", "url": "https://files.pythonhosted.org/packages/a1/79/71cfdb534ff8e59fe0b59cac89c10f8dcb1d96f25b0dd2913fe951c5ff3c/django_dob_widget-1.1.3-py2.py3-none-any.whl" } ] }