@@ -11,7 +11,7 @@ Usage in Generic View
1111 :emphasize- lines: 2 ,11
1212
1313 # File: views.py
14- from bootstrap_datepicker_plus import DateTimePickerInput
14+ from bootstrap_datepicker_plus.widgets import DateTimePickerInput
1515 from django.views import generic
1616 from .models import Question
1717
@@ -32,7 +32,7 @@ Custom Form usage
3232 :emphasize- lines: 2 ,11
3333
3434 # File: forms.py
35- from bootstrap_datepicker_plus import DatePickerInput
35+ from bootstrap_datepicker_plus.widgets import DatePickerInput
3636 from .models import Event
3737 from django import forms
3838
@@ -53,7 +53,7 @@ Model Form usage
5353 :emphasize- lines: 2 ,11 - 12
5454
5555 # File: forms.py
56- from bootstrap_datepicker_plus import DatePickerInput
56+ from bootstrap_datepicker_plus.widgets import DatePickerInput
5757 from .models import Event
5858 from django import forms
5959
@@ -77,7 +77,7 @@ The widget contains all types of date-picker you may ever need.
7777 :emphasize- lines: 2 ,11 - 15
7878
7979 # File: forms.py
80- from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput
80+ from bootstrap_datepicker_plus.widgets import DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput
8181 from .models import Event
8282 from django import forms
8383
@@ -104,7 +104,7 @@ DatePickers can be linked to select a date-range or time-range.
104104 :emphasize- lines: 2 ,11 - 14
105105
106106 # File: forms.py
107- from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput
107+ from bootstrap_datepicker_plus.widgets import DatePickerInput, TimePickerInput
108108 from .models import Event
109109 from django import forms
110110
@@ -132,7 +132,7 @@ The ``options`` will be passed to the JavaScript datepicker instance, and are do
132132 :emphasize- lines: 14 - 17
133133
134134 # File: forms.py
135- from bootstrap_datepicker_plus import DatePickerInput
135+ from bootstrap_datepicker_plus.widgets import DatePickerInput
136136 from .models import Event
137137 from django import forms
138138
@@ -170,7 +170,7 @@ In order to use arbitraty formats you must specify the pattern to the field's ``
170170 :emphasize- lines: 11 - 12
171171
172172 # File: forms.py
173- from bootstrap_datepicker_plus import DatePickerInput
173+ from bootstrap_datepicker_plus.widgets import DatePickerInput
174174 from .models import Event
175175 from django import forms
176176
@@ -195,7 +195,7 @@ See `moment.js locales <https://github.com/moment/moment/tree/develop/locale>`_
195195 :emphasize- lines: 14
196196
197197 # File: forms.py
198- from bootstrap_datepicker_plus import DatePickerInput
198+ from bootstrap_datepicker_plus.widgets import DatePickerInput
199199 from .models import Event
200200 from django import forms
201201
0 commit comments