Skip to main content
0 votes
1 answer
42 views

I have a Django Model with one required field (shpid). I want to set this field to disabled when updating the form. Although the value of this field is shown and disabled when the template is first ...
Doug Conran's user avatar
1 vote
1 answer
136 views

Update: I appreciate all the suggestions. This seems to be a known issue (GitHub). A suggested workaround is to simply ignore the inserted element with the following rule in my css: select ~ .pointer-...
JEndahl53's user avatar
2 votes
2 answers
266 views

I'm developing a small project using Django v5 and Bootstrap v5. At this stage I'm just playing around with the registration and login pages but I'd like to style the form using crispy-form and the ...
Doug Conran's user avatar
-1 votes
1 answer
74 views

I have a Model form that has some checkboxes. The database has values for these records for all rows. My form displays with empty checkboxes all the time. I can submit values via the checkbox and the ...
SteveM's user avatar
  • 1
0 votes
1 answer
187 views

When using {{ form|crispy}} filter in the index.html file, the form input fields are not shown with borders as they should be when using Crispy Forms. I have followed the BugBytes YouTube video ...
Brian Goulter's user avatar
0 votes
0 answers
23 views

In my form, the help text is positioned below the input field. However, for InlineRadios, the help text is placed to the right of the field. I can't figure out how to move the InlineRadio help text ...
Mike's user avatar
  • 87
0 votes
0 answers
18 views

I need to accept dimensions from users where they can change units between inches and mm. From the user's perspective they will see a input field and next to it select dropdown of options in/mm with ...
Shreko's user avatar
  • 363
1 vote
1 answer
28 views

I want to split a form into two divs with their own css_id so I can ajax update second div based on choices in the first. Problem is that my resulting form does not have divs with ids 'pbid' and 'pb-...
Shreko's user avatar
  • 363
0 votes
1 answer
58 views

I'm using django-filter and django-crispy-forms to create a filter form in Django, but I'm having trouble applying a CSS class to a custom ChoiceFilter field. The CSS class is successfully applied to ...
Slot's user avatar
  • 1,226
0 votes
1 answer
42 views

I know how to set a field readonly using the helper, but I'd like to disable values changes for specific users. The only way I found consists in adding a condition in the the form taking in account ...
Abpostman1's user avatar
0 votes
1 answer
122 views

I have a form that works generally as expected, but I am trying to prepend some text on one of the fields to make it more user-friendly. In this case, all entries in the "RFP Control Number" ...
Connor Holcombe's user avatar
1 vote
2 answers
232 views

I have 2 HTML pages choose_type.html and post_form.html. On choose_type.html: {% extends "blog/base.html" %} {% load pagination_extras %} {% block content %} <body> &...
MarkoZg's user avatar
  • 373
0 votes
1 answer
56 views

Using Crispy forms in Django app, I the HTML code: <div id="div_id_pripadnost" class="form-group"> <label for="id_pripadnost_0" class=""> ...
MarkoZg's user avatar
  • 373
0 votes
1 answer
87 views

I just installed django-crispy-forms and crispy-bootstrap5. Then I followed the official website guide into updating the "setting.py" file then when I run the server from "python manage....
Natnael Alemayehu's user avatar
0 votes
1 answer
70 views

I'm just starting my adventure with Django. I wrote a small application in which, of course, there is a form that collects data from the user. This form in the standard version of Django doesn't look ...
Marcin Lipiński's user avatar

15 30 50 per page
1
2 3 4 5
56