Skip to main content

All Questions

0 votes
1 answer
1k views

Django base template (using bootstrap3) overwrites index.html completely

I've created a base.html file where I want my bootstrap3 navbar and footer to live. These will be used on every page of my site. However, the base.html & corresponding css file that goes with it ...
PolishZeus's user avatar
2 votes
1 answer
2k views

Django form-fields: Styling for Bootstrap without losing functionality?

So form.as_p in django gives a plain, yet very catered form, with field inputs matching the entity attribute type, like so: Notice how vintage is a dropdown item, and so is brand. But then again, it'...
zerohedge's user avatar
  • 3,555
2 votes
5 answers
4k views

add an icon to django crispy form submit button

I am struggling with the Button on a crispy form. Instead of just the default button I would like to have an icon inside The form I am currently using is like class MyForm(forms.ModelForm): helper =...
mbieren's user avatar
  • 1,084
0 votes
1 answer
56 views

Passing values to default Django authentication form

I have very silly question: How can I get value and assign it correctly to django variables {{form.username}} and {{form.password}}? I have a bootstrap sign-in page and default django ...
Kabun's user avatar
  • 35
0 votes
0 answers
1k views

Why does a checkbox input designed this way on a horizontal Django crispy form?

My project uses Twitter bootstrap on the front-end, the backend is Django, we also use crispy forms. fifth_year is a simple boolean model field class MyModel(models.Model): first_name = models....
Csaba Toth's user avatar
  • 10.5k
0 votes
1 answer
281 views

django-bootstrap3: changed theme_url but Bootswatch theme not loading?

I'm trying to use the bootswatch flatly theme. I followed the instructions given on the documentation regarding updating the settings. I've added the following to my project's settings.py: ...
jenkhai's user avatar
  • 59
1 vote
0 answers
252 views

django view i get this error Synchronous XMLHttpRequest

went i run this code y get this error in the browser error browser chrome Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. ...
Hitokirilv4's user avatar
0 votes
0 answers
407 views

Create multi level dropdown-menu with Bootstrap3

I'm building my Django website and I have questions about this process : dropdown-menu from BootStrap3. I created dropdown-menu in my navbar and it works perfectly well. But, as I have some tabs, I ...
Essex's user avatar
  • 6,048
-1 votes
1 answer
241 views

Error: NoReverseMatch at / (after modifying code to include Bootstrap)

As an overview, I'm making this website where users can make an account to take notes online and store it in their account. My folder directories are as follows: site1 -> mynotes -> users ->...
Steve D.'s user avatar
  • 316
1 vote
0 answers
456 views

Bootstrap Modal not closing in Safari

I have an issue with bootstrap where Modals are not closing upon form submission in Safari but it is fine in Chrome. Note this is a Django project but I don't think that is the issue. Also I am using ...
Ryan Rushton's user avatar
4 votes
2 answers
479 views

Link not firing inside Bootstrap sortable li

I have a sortable list of Django objects inside a Bootstrap tab, with links inside each element. The links, when clicked, do nothing. There's no behavior whatsoever, as if you clicked plain text. When ...
DeltaG's user avatar
  • 760
0 votes
1 answer
240 views

Django - Cant align html tabs properly

I am trying to show a list of data based on tabs. So far I was able of take the data and show it. The problem is the html part. Some parts of the html should not repeat but they have to be at least ...
Rafael Rodrigo De Souza's user avatar
1 vote
1 answer
45 views

django+bootstrap: concatentating bootstrap_alert

I have the following code: {% if errmsg %} {% bootstrap_alert errmsg alert_type='danger' %} {% endif %} errmsg is supplied from the previous page I would like to extend the errmsg with some ...
ealeon's user avatar
  • 12.3k
3 votes
3 answers
3k views

How to filter the form in django template

I am trying a form POST using django with django-bootstrap3. The form has those fields: name, email, phone, company, subject, and message. The templates code is as follows. Question: If I do not want ...
Frank Tang's user avatar
0 votes
1 answer
17k views

Creating a header image with bootstrap

To learn more about web development I am trying to make a webapp. My first challenge is working out how to interface Django, Bootstrap and custom css. I am trying to create a nav bar consisting of ...
PaulBarr's user avatar
  • 929

15 30 50 per page
1 2 3
4
5
11