Skip to main content

All Questions

1 vote
1 answer
228 views

How to highlight the current section

When navigating in the menu bar, some of the options are not selected. I have tried to do it with JQuery but my attempts are in vain. Briefly what I am looking for is that if the user clicks Home Page ...
Martin Vargas's user avatar
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 ...
Alpha's user avatar
  • 217
0 votes
1 answer
165 views

Django modal bootstrap not displaying

I have been blocked on this problem for several days. I have bootstrap 3.3.7 in the project root folder. I am rendering some buttons in the django template that should open modal windows when clicked. ...
psolomon's user avatar
  • 173
0 votes
2 answers
511 views

Django + Bootstrap modal form still shows Djangos default errors, not bootstrapped errors?

I am struggling with displaying bootstraps form errors in a popup form modal. When I submit the form, with some missing required fields, I am still getting Django's built in basic form error messages, ...
master_j02's user avatar
0 votes
1 answer
274 views

Django + Bootstrap collapsed table front-end issue?

I have been trying to figure out a front-end issue I've been on for a few days. I am using Django + Bootstrap collapsed accordion. What I am trying to do is completely hide a div, and all spacing ...
master_j02's user avatar
0 votes
1 answer
110 views

DJANGO initial values in form not shown in template (some do some don't)

I have these Models, Tipos, Prioridad and Estado, related to Tarea as defined below: class Tipos(models.Model): tipo = models.CharField(max_length=16, verbose_name='...
carolvs's user avatar
  • 13
0 votes
0 answers
68 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 ...
sreekanthkura7's user avatar
2 votes
1 answer
346 views

Python Django multiple attributes in search

So I have this search form: [Doctor][Specialty][City] This is the form in HTML: <form data-provide="validation" data-disable="true" class="input-glass mt-7" method='POST' action='...
Kaiss B.'s user avatar
  • 317
0 votes
1 answer
110 views

Django dropdown menu not working with tag 'load bootstrap3'

I am creating a website with django and I have a dropdown menu like this: <li class="dropdown"> <a data-toggle="dropdown" href="#">{{ user.username }}</a> <ul class="dropdown-...
Yacine Rouizi's user avatar
0 votes
1 answer
547 views

How to show popup "Success" or "Error" after I clicked the update button in which it is a modal

I am working on this employee registration project and Im not exactly sure how to implement this one on django. How could I show popupbox or like a small modal box "Success" or "Error" after I ...
Asmodeus Glaive's user avatar
0 votes
1 answer
180 views

Adding dropdown to bootstrap3 nav bar

I'm working with bootstrap3 and django. I want to update my navbar to add a dropdown list of links in my navbar on the right . My bootstrap code: <!-- Navigation --> <nav class="navbar ...
user1592380's user avatar
  • 35.6k
0 votes
1 answer
476 views

Create a Bootstrap accordian for items in a python for loop

I am trying to create a Bootstrap accordian for a list of items in a Django database. When rendered, currently my code will only collapse and expand on the first item in the for loop. For other items, ...
Jon's user avatar
  • 25
0 votes
1 answer
945 views

How fix to upload image from bootstrap modal form in django

I can not find the information how to load image through django modal form. How to upload a file through a django modal form? my file models.py class Meal(models.Model): restaurant = models....
Nick Seniytitch's user avatar
1 vote
1 answer
200 views

Django in template using if tag compare one variable with a number always give false

I first use widthratio tag to calculate a ratio percentage number and assgign it to a variable named Ratio Then when I try to compare it with an integer in if and elif tag, the if and elif tag seems ...
Whilding Tso's user avatar
1 vote
1 answer
944 views

Bootstrap 3 display 3 blog posts in each row using in Django templates

I'm working on a project using Django(2.1.7) and Bootstrap (3.1), I need to display 3 blog posts in each row: Note: I have taken a look at various related questions but couldn't find any solution ...
Abdul Rehman's user avatar
  • 5,526

15 30 50 per page
1
2 3 4 5
11