File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 22
33This package uses [ Bootstrap v3 datetimepicker widget version 4] ( https://github.com/Eonasdan/bootstrap-datetimepicker ) .
44
5- This project is a fork of https://github.com/nkunihiko/django-bootstrap3-datetimepicker with the following changes:
6- * bug/warning fixes
7- * remove support for python 2.6 and associated clean up
8- * js/css files are no longer included in the project, managing them is up to the user
5+ This project was originally a fork of https://github.com/nkunihiko/django-bootstrap3-datetimepicker ,
6+ it how has the following breaking changes:
7+ * js/css files are no longer included in the project, managing them is up to the user, eg. using
8+ [ grablib ] ( https://github.com/samuelcolvin/grablib ) .
99* the widget no longer has js/css assert so you can load them as you wish, this is important as loading
1010bootstrap-datepicker.js multiple times can cause unexpected behavior.
11+ * bug/warning fixes
12+ * remove support for python 2.6 and associated clean up
13+
14+ ## Install
1115
12- Install
16+ Currently no pypi package for this version, so install directly from git:
1317
1418* Run ` pip git+https://github.com/samuelcolvin/django-bootstrap3-datetimepicker.git@<CHOOSE SHA HERE>#egg=django-bootstrap3-datetimepicker==2.4 `
1519* Add ` 'bootstrap3_datetime' ` to your ` INSTALLED_APPS `
1620
21+ ## Example
1722
18- Example
19- --------------------------------
20-
21- ###### forms.py
23+ #### forms.py
2224
2325``` python
2426from bootstrap3_datetime.widgets import DateTimePicker
@@ -44,7 +46,7 @@ Available `options` are explained in the following documents:
4446You don't need to set the ` language ` option,
4547because it will be set the current language of the thread automatically.
4648
47- ###### template.html
49+ #### template.html
4850
4951``` html+jinja
5052<!DOCTYPE html>
You can’t perform that action at this time.
0 commit comments