{ "info": { "author": "Pablo Escodebar", "author_email": "escodebar@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "# django-datetimepicker\n\nUses xdsoft's datetimepicker to make a datetimepicker widget for django.\nThis is inspired by the `django-bootstrap3-datetimepicker` application.\n\n\n\n## Installation\n\n- Run `pip install django-datetimepicker`\n- Add `'datetimepicker'` to your `INSTALLED_APPS`\n\n## Basic usage\n\nHere is an example of how to use the widget.\nFurther examples can be found in the example project.\n\n1. Assign the `DateTimePicker` to a `DateTimeField`, `DateField` or `TimeField`.\n\n```python\nfrom django import forms\nfrom datetimepicker.widgets import DateTimePicker\n\n\nclass SampleForm(forms.Form):\n\n datetime = forms.DateTimeField(\n widget=DateTimePicker(),\n )\n```\n\nThis will render the following `html` code:\n```html\n