@@ -11,7 +11,7 @@ Usage in Generic View
11
11
:emphasize- lines: 2 ,11
12
12
13
13
# File: views.py
14
- from bootstrap_datepicker_plus import DateTimePickerInput
14
+ from bootstrap_datepicker_plus.widgets import DateTimePickerInput
15
15
from django.views import generic
16
16
from .models import Question
17
17
@@ -32,7 +32,7 @@ Custom Form usage
32
32
:emphasize- lines: 2 ,11
33
33
34
34
# File: forms.py
35
- from bootstrap_datepicker_plus import DatePickerInput
35
+ from bootstrap_datepicker_plus.widgets import DatePickerInput
36
36
from .models import Event
37
37
from django import forms
38
38
@@ -53,7 +53,7 @@ Model Form usage
53
53
:emphasize- lines: 2 ,11 - 12
54
54
55
55
# File: forms.py
56
- from bootstrap_datepicker_plus import DatePickerInput
56
+ from bootstrap_datepicker_plus.widgets import DatePickerInput
57
57
from .models import Event
58
58
from django import forms
59
59
@@ -77,7 +77,7 @@ The widget contains all types of date-picker you may ever need.
77
77
:emphasize- lines: 2 ,11 - 15
78
78
79
79
# 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
81
81
from .models import Event
82
82
from django import forms
83
83
@@ -104,7 +104,7 @@ DatePickers can be linked to select a date-range or time-range.
104
104
:emphasize- lines: 2 ,11 - 14
105
105
106
106
# File: forms.py
107
- from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput
107
+ from bootstrap_datepicker_plus.widgets import DatePickerInput, TimePickerInput
108
108
from .models import Event
109
109
from django import forms
110
110
@@ -132,7 +132,7 @@ The ``options`` will be passed to the JavaScript datepicker instance, and are do
132
132
:emphasize- lines: 14 - 17
133
133
134
134
# File: forms.py
135
- from bootstrap_datepicker_plus import DatePickerInput
135
+ from bootstrap_datepicker_plus.widgets import DatePickerInput
136
136
from .models import Event
137
137
from django import forms
138
138
@@ -170,7 +170,7 @@ In order to use arbitraty formats you must specify the pattern to the field's ``
170
170
:emphasize- lines: 11 - 12
171
171
172
172
# File: forms.py
173
- from bootstrap_datepicker_plus import DatePickerInput
173
+ from bootstrap_datepicker_plus.widgets import DatePickerInput
174
174
from .models import Event
175
175
from django import forms
176
176
@@ -195,7 +195,7 @@ See `moment.js locales <https://github.com/moment/moment/tree/develop/locale>`_
195
195
:emphasize- lines: 14
196
196
197
197
# File: forms.py
198
- from bootstrap_datepicker_plus import DatePickerInput
198
+ from bootstrap_datepicker_plus.widgets import DatePickerInput
199
199
from .models import Event
200
200
from django import forms
201
201
0 commit comments