{
"info": {
"author": "Munim Munna",
"author_email": "monim67@yahoo.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.10",
"Framework :: Django :: 1.11",
"Framework :: Django :: 1.8",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"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-bootstrap-datepicker-plus\n================================\n\nThis django widget contains Bootstrap 3 and Bootstrap 4\nDate-Picker, Time-Picker, DateTime-Picker, Month-Picker and Year-Picker input\nwith date-range-picker functionality for django version 2.1, 2.0, 1.11, 1.10 and 1.8.\nThe widget implements `bootstrap-datetimepicker v4 `__\nto show bootstrap-datepicker in django model forms and custom forms\nwhich can be configured easily for date-range selection.\n\n\n| |ci-status| |docs-status| |coverage.io| |maintainability| |test-coverage|\n| |pyversions| |djversions| |pypi-version|\n| |format| |status| |license|\n\n| |date-picker-image| |datetime-picker-image| |time-picker-image| \n\n\n\n\nDemo\n----\n- `With Bootstrap 3 `__.\n- `With Bootstrap 4 `__.\n\n\n\nGetting Started\n---------------\n\n\nPrerequisites\n^^^^^^^^^^^^^\n- Python >= 3.3\n- Django >= 1.8\n- Bootstrap >= 3\n- jquery >= 1.7.1\n\n\nInstalling\n^^^^^^^^^^\nInstall the widget via pip\n\n::\n\n pip install django-bootstrap-datepicker-plus\n\nAdd ``bootstrap_datepicker_plus`` to the list of ``INSTALLED_APPS`` in your ``settings.py`` file.\n\n.. code:: python\n\n INSTALLED_APPS = [\n # Add the following\n 'bootstrap_datepicker_plus',\n ]\n\n``jQuery`` is needed for ``datepicker`` to render, make sure you have jQuery in your template,\nor you can use ``jQuery`` included with ``Bootstrap`` by setting ``include_jquery`` option to ``True``\nin your ``settings.py`` file.\nIf you don't have ``BOOTSTRAP3``/``BOOTSTRAP4`` settings block you have to create one.\n\n.. code:: python\n\n # Use BOOTSTRAP3 if you are using Bootstrap 3\n BOOTSTRAP4 = {\n 'include_jquery': True,\n }\n\nMake sure you have bootstrap tags in your template along with ``forms.media`` tag,\nit adds all JS and CSS resources needed to render the date-picker.\n\n.. code:: html\n\n {% load bootstrap4 %} {# import bootstrap4/bootstrap3 #}\n {% bootstrap_css %} {# Embed Bootstrap CSS #}\n {% bootstrap_javascript jquery='full' %} {# Embed Bootstrap JS+jQuery #}\n {{ form.media }} {# Adds date-picker required JS and CSS #}\n\nThe ``form.media`` tag is only for Generic Views. If you are generating the view yourself\nand passing the form to ``render`` function, you have to use ``.media``.\nFor Example, in case of the following example you have to use ``{{ my_form.media }}``\ninstead of ``{{ form.media }}``.\n\n.. code:: python\n\n # File: views.py\n from django.shortcuts import render\n from .forms import UserForm\n\n def create_user(request):\n user_form = UserForm()\n return render(request, 'my_template.html', {'my_form': user_form})\n\n\n\nUsage\n-----\n\n\nCustom Form usage\n^^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n # File: forms.py\n from bootstrap_datepicker_plus import DatePickerInput\n from django import forms\n\n class ToDoForm(forms.Form):\n todo = forms.CharField(\n widget=forms.TextInput(attrs={\"class\": \"form-control\"})\n )\n date = forms.DateField(\n widget=DatePickerInput(format='%m/%d/%Y')\n )\n\n\nModel Form usage\n^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n # File: forms.py\n from bootstrap_datepicker_plus import DatePickerInput\n from django import forms\n\n class EventForm(forms.ModelForm):\n class Meta:\n model = Event\n fields = ['name', 'start_date', 'end_date']\n widgets = {\n 'start_date': DatePickerInput(), # default date-format %m/%d/%Y will be used\n 'end_date': DatePickerInput(format='%Y-%m-%d'), # specify date-frmat\n }\n\n\nTypes of DatePickers\n^^^^^^^^^^^^^^^^^^^^\n\nThe widget contains all types of date-picker you may ever need.\n\n.. code:: python\n\n # File: forms.py\n from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput\n from django import forms\n\n class EventForm(forms.ModelForm):\n class Meta:\n model = Event\n fields = ['start_date', 'start_time', 'start_datetime', 'start_month', 'start_year']\n widgets = {\n 'start_date': DatePickerInput(),\n 'start_time': TimePickerInput(),\n 'start_datetime': DateTimePickerInput(),\n 'start_month': MonthPickerInput(),\n 'start_year': YearPickerInput(),\n }\n\n\nImplement date-range-picker\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nDatePickers can be linked to select a date-range or time-range.\n\n.. code:: python\n\n # File: forms.py\n from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput\n from django import forms\n\n class EventForm(forms.ModelForm):\n class Meta:\n model = Event\n fields = ['name', 'start_date', 'end_date', 'start_time', 'end_time']\n widgets = {\n 'start_date':DatePickerInput().start_of('event days'),\n 'end_date':DatePickerInput().end_of('event days'),\n 'start_time':TimePickerInput().start_of('party time'),\n 'end_time':TimePickerInput().end_of('party time'),\n }\n\n\nCustomize the Options\n^^^^^^^^^^^^^^^^^^^^^\n\nThe DatePicker can be customised by passing options to it.\nThe ``options`` will be passed to the JavaScript datepicker instance, and are documented and demonstrated in \n`Bootstrap Datepicker Options Reference `__.\n\n.. code:: python\n\n # File: forms.py\n from bootstrap_datepicker_plus import DatePickerInput\n from django import forms\n\n class EventForm(forms.ModelForm):\n class Meta:\n model = Event\n fields = ['name', 'start_date', 'end_date']\n widgets = {\n 'start_date': DatePickerInput(format='%m/%d%Y'), # python date-time format\n 'end_date': DatePickerInput(\n options={\n \"format\": \"MM/DD/YYYY\", # moment date-time format \n \"showClose\": True,\n \"showClear\": True,\n \"showTodayButton\": True,\n }\n ),\n }\n\n**Note:** You can specify the date-time format by passing a\n`python date-time format `__\nas format parameter (see start_date in the example), or by passing a\n`moment date-time format `__\nas an option (see end_date in the example).\nIf both are specified then the moment format in options will take precedence.\n\n\nContributing\n------------\n\n - `CONTRIBUTING.md `__.\n - `CODE_OF_CONDUCT.md `__.\n\nLicense\n-------\n\nThis project is licensed under Apache License 2.0 - see the `LICENSE `__ file for details.\n\nAcknowledgments\n---------------\n\nThis project implements `Eonasdan/bootstrap-datetimepicker `__ to display date-pickers.\nThe project was initially forked from `pbucher/django-bootstrap-datepicker `__.\n\n\n.. |date-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/date-picker.png\n :alt: Date-picker\n :width: 218px\n :height: 280px\n\n.. |datetime-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/datetime-picker.png\n :alt: Datetime-picker\n :width: 218px\n :height: 280px\n\n.. |time-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/time-picker.png\n :alt: Time-picker\n :width: 218px\n :height: 280px\n\n.. |ci-status| image:: https://travis-ci.org/monim67/django-bootstrap-datepicker-plus.svg?branch=master\n :target: https://travis-ci.org/monim67/django-bootstrap-datepicker-plus\n :alt: Build Status\n :height: 20px\n\n.. |docs-status| image:: https://readthedocs.org/projects/django-bootstrap-datepicker-plus/badge/?version=latest\n :target: https://django-bootstrap-datepicker-plus.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n :height: 20px\n\n.. |coverage.io| image:: https://coveralls.io/repos/github/monim67/django-bootstrap-datepicker-plus/badge.svg?branch=master\n :target: https://coveralls.io/github/monim67/django-bootstrap-datepicker-plus?branch=master\n :alt: Coverage Status\n :height: 20px\n\n.. |maintainability| image:: https://api.codeclimate.com/v1/badges/d89033abcc5c8220f4cb/maintainability\n :target: https://codeclimate.com/github/monim67/django-bootstrap-datepicker-plus/maintainability\n :alt: Maintainability\n :height: 20px\n\n.. |test-coverage| image:: https://api.codeclimate.com/v1/badges/d89033abcc5c8220f4cb/test_coverage\n :target: https://codeclimate.com/github/monim67/django-bootstrap-datepicker-plus/test_coverage\n :alt: Test Coverage\n :height: 20px\n\n.. |pyversions| image:: https://img.shields.io/pypi/pyversions/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: Python Versions\n :height: 20px\n\n.. |djversions| image:: https://img.shields.io/pypi/djversions/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: DJango Versions\n :height: 20px\n\n.. |pypi-version| image:: https://badge.fury.io/py/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: PyPI version\n :height: 20px\n\n.. |format| image:: https://img.shields.io/pypi/format/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: Format\n :height: 20px\n\n.. |status| image:: https://img.shields.io/pypi/status/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: Status\n :height: 20px\n\n.. |license| image:: https://img.shields.io/pypi/l/django-bootstrap-datepicker-plus.svg\n :target: https://pypi.python.org/pypi/django-bootstrap-datepicker-plus\n :alt: Licence\n :height: 20px\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/monim67/django-bootstrap-datepicker-plus",
"keywords": "django bootstrap date-picker time-picker datetime-picker date-range-picker",
"license": "Apache License 2.0",
"maintainer": "",
"maintainer_email": "",
"name": "django-bootstrap-datepicker-plus",
"package_url": "https://pypi.org/project/django-bootstrap-datepicker-plus/",
"platform": "",
"project_url": "https://pypi.org/project/django-bootstrap-datepicker-plus/",
"project_urls": {
"Homepage": "https://github.com/monim67/django-bootstrap-datepicker-plus"
},
"release_url": "https://pypi.org/project/django-bootstrap-datepicker-plus/3.0.5/",
"requires_dist": [
"django (>=1.8)"
],
"requires_python": ">=3",
"summary": "Bootstrap3/Bootstrap4 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django version 2.1, 2.0, 1.11, 1.10 and 1.8",
"version": "3.0.5"
},
"last_serial": 4273510,
"releases": {
"2.0.0": [
{
"comment_text": "",
"digests": {
"md5": "0890d6674eebf6e47790cc29b3cb4634",
"sha256": "659d3e1a56e2bafef6a66f03eb4374038c59fdf730eae61b33ac2b317060084d"
},
"downloads": -1,
"filename": "django_bootstrap_datepicker_plus-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0890d6674eebf6e47790cc29b3cb4634",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 61758,
"upload_time": "2018-05-27T14:31:27",
"url": "https://files.pythonhosted.org/packages/39/45/928d3f29f22c1cc441e268026ae85091e9a69558ecb5d74e46d4fcbd5ffc/django_bootstrap_datepicker_plus-2.0.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "6102624f557c0718239a1956edc9b771",
"sha256": "a461af02605199e6ef05d0c6de35cf943443b1f7ecf70bc4f66d2112173bfc81"
},
"downloads": -1,
"filename": "django-bootstrap-datepicker-plus-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "6102624f557c0718239a1956edc9b771",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 38004,
"upload_time": "2018-05-01T12:17:22",
"url": "https://files.pythonhosted.org/packages/3e/23/d6e4b9164a2e6af0a71c5f3030f4144d79ea641602141998acf4b595171b/django-bootstrap-datepicker-plus-2.0.0.tar.gz"
}
],
"3.0.4": [
{
"comment_text": "",
"digests": {
"md5": "1832e5c39af851a40a3a39ef0a80ae7a",
"sha256": "042248ccd500538b368f848dfc8361f50a8453087e9df9e1e6408efd4947f323"
},
"downloads": -1,
"filename": "django_bootstrap_datepicker_plus-3.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1832e5c39af851a40a3a39ef0a80ae7a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 11038,
"upload_time": "2018-06-01T13:56:46",
"url": "https://files.pythonhosted.org/packages/fd/4a/0af33030682b5094eb16f13fc526c4186f12930429b14884996b4fe7488d/django_bootstrap_datepicker_plus-3.0.4-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "c765880c4462892e9c5942ede6f5b324",
"sha256": "c511359a99115be32c55c0103906ef88ef2278961ee46c3a0fc2af022fa29542"
},
"downloads": -1,
"filename": "django-bootstrap-datepicker-plus-3.0.4.tar.gz",
"has_sig": false,
"md5_digest": "c765880c4462892e9c5942ede6f5b324",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 13091,
"upload_time": "2018-06-01T13:56:51",
"url": "https://files.pythonhosted.org/packages/82/5e/9634981f47a85105c25bb54718335e163b6f8bfcb9288c109734663d4935/django-bootstrap-datepicker-plus-3.0.4.tar.gz"
}
],
"3.0.5": [
{
"comment_text": "",
"digests": {
"md5": "9c7659a7683eb1b4a096c855b1ef43a9",
"sha256": "a8bc19cc6846f97ff1e6c447f4e0387881d16e8afa1e8bd7a652c19e545c566b"
},
"downloads": -1,
"filename": "django_bootstrap_datepicker_plus-3.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9c7659a7683eb1b4a096c855b1ef43a9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 12542,
"upload_time": "2018-09-14T19:59:04",
"url": "https://files.pythonhosted.org/packages/2a/82/7ee6834d67a9d5b6d46a620f8995dc2680e00e4cb75c438803bb0f9f3863/django_bootstrap_datepicker_plus-3.0.5-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "1683050c5277c5c49016aef0825ec6ba",
"sha256": "490058eba99d47f48a7d24fa78581c0e36375bdc7aa9605783eeb170d51fd0df"
},
"downloads": -1,
"filename": "django-bootstrap-datepicker-plus-3.0.5.tar.gz",
"has_sig": false,
"md5_digest": "1683050c5277c5c49016aef0825ec6ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 17290,
"upload_time": "2018-09-14T19:59:07",
"url": "https://files.pythonhosted.org/packages/04/9d/fbcc3bd2f8d8115b94932a226325f1f48c26407ea454335c7cb71d980bc5/django-bootstrap-datepicker-plus-3.0.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9c7659a7683eb1b4a096c855b1ef43a9",
"sha256": "a8bc19cc6846f97ff1e6c447f4e0387881d16e8afa1e8bd7a652c19e545c566b"
},
"downloads": -1,
"filename": "django_bootstrap_datepicker_plus-3.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9c7659a7683eb1b4a096c855b1ef43a9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 12542,
"upload_time": "2018-09-14T19:59:04",
"url": "https://files.pythonhosted.org/packages/2a/82/7ee6834d67a9d5b6d46a620f8995dc2680e00e4cb75c438803bb0f9f3863/django_bootstrap_datepicker_plus-3.0.5-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "1683050c5277c5c49016aef0825ec6ba",
"sha256": "490058eba99d47f48a7d24fa78581c0e36375bdc7aa9605783eeb170d51fd0df"
},
"downloads": -1,
"filename": "django-bootstrap-datepicker-plus-3.0.5.tar.gz",
"has_sig": false,
"md5_digest": "1683050c5277c5c49016aef0825ec6ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 17290,
"upload_time": "2018-09-14T19:59:07",
"url": "https://files.pythonhosted.org/packages/04/9d/fbcc3bd2f8d8115b94932a226325f1f48c26407ea454335c7cb71d980bc5/django-bootstrap-datepicker-plus-3.0.5.tar.gz"
}
]
}