Questions tagged [django-bootstrap3]
The django-bootstrap3 tag has no usage guidance.
django-bootstrap3
59
questions
2
votes
2
answers
650
views
data-keyboard="false" doesn't work in bootstrap for the following code
I dont want the esc key to toggle my dropdown. so I added the data-keyboard="false". But that doesn't seem to work and my code still toggles on esc key.
code: https://jsfiddle.net/4dkfj63v/...
2
votes
1
answer
829
views
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:...
2
votes
1
answer
385
views
django template set all columns of a table at the same size
here is my templates, and what they display :
template.html
<div class="card">
<div class="card-body p-0">
<table class="table" style="width: ...
1
vote
2
answers
333
views
Site on django doesn't load static
My site on django doesn't load static files
base.html:
{% load static %}
<link rel="stylesheet" href="{% static 'bootstrap/dist/css/bootstrap.css' %}">
<script src="{%...
0
votes
1
answer
565
views
django-bootstrap-modal-forms saving instance twice (couldn't resolve with other issues open)
I am implementing a django-bootstrap-modal-forms 2.2.0 on my django app but I am having a problem. Every time I submit the modal form, the instance is created twice.
I read that it is expected to have ...
0
votes
1
answer
413
views
Bootstrap and Jinja - centering images
I'm using Bootstrap3 in my Django project and I would like to display images in row next to each other horizontally and I have:
<div class="row">
{% for image in images %}
{...
0
votes
1
answer
422
views
What are the ways to styling a Django Form?
I was working with Django forms, and to beautify the Django forms I came across widgets, and after learning it got to know that we can customize widgets in two ways:
Using widget instance or
Using ...
0
votes
1
answer
1k
views
Django how to disappeared bootstrap alert box messages after few seconds
Before posting this question I found few solutions on stackoverflow and tried but non of them didn't work. I want the message will be disappeared after 2 or three seconds. here is my code:
{% if ...
0
votes
0
answers
52
views
Django: Bootstrap 3 modal darkens when being clicked
This is a quiz app where several quiz can be added to a particular topic. However, when I click on the button to start the quiz, the modal asking for confirmation pops up but in a darkened way. It ...
0
votes
0
answers
217
views
Why does my Bootstrap and/or CSS look different on localhost:8000 than on 127001:8000 for my Django website? And how can I fix this issue?
For some reason my website looks different for both ports. Here is what I mean
1
vote
2
answers
220
views
Django Bootstrap - How to parse a variable from a local JSON file and display it in a .html template?
I'm new to JS and would like to display in my html file a variable to be parsed from a local JSON file ? I'm running that in Django with bootstrap.
myfile.json contains:
[{"myvar":"...
0
votes
1
answer
113
views
InvalidTemplateLibrary at /login/ apache2 error while starting patchman source code build
I am trying to setup patchman tool in ubuntu 18.01 (bionic) & I have been trying to build patchman from source.
I followed similar steps as asked @ https://github.com/furlongm/patchman/blob/master/...
0
votes
0
answers
69
views
Djnago: Bootstrap3 form dropdown options display issue
I am using bootstrap3 in django template to display dropdown menu so that user can select the option they chooses. After selecting the option, selected option is not displaying clearly. See below ...
0
votes
2
answers
44
views
Anyone who knows Navbar&Bootstrap?
I have no idea with this problem..
Navbar's Dropdown doesn't work! with this message
enter image description here
this is my code
<head>
<nav class="navbar navbar-expand-lg navbar-light ...
0
votes
1
answer
102
views
Django JavaScript fpr bootstrap grid does not work
I deployed website using Django. I used external js code for grid (I want site to be user-friendly for all screens). When running just html using same js code or running it on my computer through ...