All Questions
Tagged with twitter-bootstrap-3 django
161
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 ...
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'...
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 =...
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 ...
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....
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:
...
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. ...
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 ...
-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
->...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...