Skip to content

Commit 9872eb8

Browse files
committed
update readme with corrected install instructions
1 parent 06993df commit 9872eb8

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
22

33
This 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
1010
bootstrap-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
2426
from bootstrap3_datetime.widgets import DateTimePicker
@@ -44,7 +46,7 @@ Available `options` are explained in the following documents:
4446
You don't need to set the `language` option,
4547
because 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>

0 commit comments

Comments
 (0)