Skip to main content

All Questions

0 votes
1 answer
42 views

Django ModelForm - Bootstrap DateTimePicker

I'm having some problems for processing DjangoModelForm and bootstrap-datepicker to select a specific month First of all I get this error when I access the form The specified value "01/04/2023&...
Eugenio's user avatar
  • 313
0 votes
2 answers
2k views

Django-bootstrap-datepicker-plus is not rendering datepicker properly

I am facing with the problem that my datetimepicker is not loading at all. Just in my template, the datetime field loads the current date and time when i press the calendar icon as the image shows. ...
gtopal's user avatar
  • 594
1 vote
2 answers
2k views

Django: DatePicker with "django-widget-tweaks"

Good day, I'm trying "create" a DatePicker for one of my Inputfields in Django but it's not working! In my models.py: class Customer(models.Model): ... name = models.CharField() date = ...
finethen's user avatar
  • 443
1 vote
1 answer
308 views

How can form fields be rendered manually in django-bootstrap

I have django-bootstrap-datepicker-plus set up in my app. Upon completion, I noticed that my form fields are stacked on rows screenshot whereas I would love to manually render some of the fields on ...
phagyrhe's user avatar
  • 197
0 votes
1 answer
194 views

Django Datepicker and Autocomplete not rendering when used together

i am using Django, bootstrap_datepicker_plus and django-autocomplete-light. I had no issues when i used the 2 libraries separately, but when i attempt to use them both in the same form, for some ...
jason's user avatar
  • 612
1 vote
1 answer
399 views

Change Django Form Attribute on view

I'm using a Django Form with a DatePicker widget. I have to define the Min and Max date of the DatePicker on a class level. I would like to have these two values change when I run my view, otherwise, ...
Odín Costa's user avatar
1 vote
1 answer
473 views

Problem when creating a form with both django-autocomplet-light and and bootstrap-datepicker-plus widgets

I am trying to create a form which uses two different widgets: - some fields are using django-automplete-light ModelSelect2 widget - another field is using bootstrap_datepicker_plus DatePickerInput ...
fduf's user avatar
  • 33
1 vote
0 answers
78 views

Addind Datepicker_plus from bootstrap but button inactive

I add bootstrap_datepicker_plus to my code. In my template, I can see the calendar button on the right side of my field but when I click on the button nothing happened try to modify settings, and ...
Philippe Haumesser's user avatar
1 vote
1 answer
656 views

Rendering of django-bootstrap-datepicker-plus widget on pythonanywhere

I wrote a very simple django application and uploaded it to pythonanywhere. Through this form (and its base template) I'd like to allow the user to setting date and time using django-bootstrap-...
ruggero.devita's user avatar
0 votes
1 answer
807 views

bootstrap-datepicker and django template, an easy way

I would like to use date picker in my template. Is there a way to omit stuff in forms.py and simply do something like: <tr class="new"> <form method="post"> {% csrf_token %} ...
superuser's user avatar
0 votes
1 answer
627 views

How to assign a unique ID to date-picker fields on django form?

I am using django-bootstrap3 (pip install django-bootstrap3) third party application to render forms. I am using django-bootstrap-datepicker (pip install django-bootstrap-datepicker) application to ...
bgarcial's user avatar
  • 3,223
11 votes
3 answers
11k views

Django form - django-bootstrap-datepicker-plus is not rendering datepicker

I have some inconvenience when I try render django-bootstrap-datepicker-plus widget according to this answer. Everything works fine but the Datepicker does not show up. My Django version is 1.10.7 ...
bgarcial's user avatar
  • 3,223
0 votes
1 answer
69 views

Django eternicode bootstrap-datepicker doesn't work on phones

In my Django app i'm using bootstrap-datepicker. User chooses a date, then date is passed in Ajax post request to /check/ view, then sub_template is reloaded with retrieved data. Everything works ...
Kesto's user avatar
  • 695