Questions tagged [django-bootstrap3]
59 questions
7
votes
1 answer
Best Way to Use Borders Bootstrap 3
I am just having fun building my own stuff with bootstrap. I am wondering what is the best way to add a border to a container with Bootstrap 3? I am having a hard time finding built in functionality in bootstrap and I am wondering what the best way…

Dave
- 89
- 1
- 1
- 6
3
votes
2 answers
Invalid block tag - bootstrap-form, expected endblock
I am working on a django project, but for some reason the template I am using brings up an invalid block tag error. I have looked at some other similar questions, but nothing seems helpful, so if you can see the problem please do tell me.Here is the…

Milo.D
- 355
- 1
- 4
- 15
3
votes
3 answers
Modal doesn't open with django
I'm having a little problem with a modal in django.
I have a link which calls an id and the id is a modal. However, the modal isn't opening. I'm pretty sure that this is happening because the link is inside a "automatic" form, but I'm new in django…

Elaine Cristina Meirelles
- 93
- 1
- 9
3
votes
2 answers
How can I add javascript file to my ModelForm in django?
I want to display a separate div tags based on the selection of dropdown, I am using ModelForm to create my template. I am not sure how to add a javascript in my ModelForm.
forms.py
class CustomerForm(forms.ModelForm):
name =…

itsecurity
- 49
- 1
- 2
- 8
2
votes
1 answer
django_bootstrap5 not formatting anything
I'm trying to get basic bootstrap formatting working in a django app, and installed django_bootstrap5 to do so. No formatting, however, is getting applied to any of the pages.
Here's the various pages:
base.html:
{% load…

BLimitless
- 2,060
- 5
- 17
- 32
2
votes
1 answer
django template set all columns of a table at the same size
here is my templates, and what they display :
template.html