All Questions
Tagged with twitter-bootstrap-3 django
161
questions
0
votes
0
answers
58
views
How to trigger jquery on bootstrap 3 modal close
I have a django project with the following hidden modal embedded in the page, which is displayed on form submit:
<div class="modal fade" id="thanksModal" tabindex="-1" role="dialog" aria-...
1
vote
1
answer
64
views
Set if error condition for value attribute
In the following template code, I set value="{{ form.title.value }}" and it displays as I intended,
<div class="form-group">
<label for="title" class="col-sm-1 control-label">Title&...
0
votes
2
answers
47
views
Both `name="button"` and `name="submit" work properly in the form
When working in Django,
Both name="button" and name="submit" work properly when I submit the form
{% buttons %}
<button name="button" class='btn btn-primary'>Save</button>
...
0
votes
1
answer
195
views
Bootstrap alert closing on page load
I have a view in which I send some messages, like this:
messages.warning(request, 'Nothing found")
In my settings.py I have edited the message tags like:
MESSAGE_TAGS = {
messages.DEBUG: 'alert-...
1
vote
0
answers
710
views
ugettext_lazy/pgettext_lazy not working in Django sub-application
I am translating a Django site with a sub-application.
Let's say the top level site is called 'main_site' and the sub application is called 'sub_app'.
In main_site, I am using only trans and ...
0
votes
0
answers
150
views
Enable markdown to render text submitted from a form
When employ the bootstrap in Django to format the form, it display nicely.
{% for entry in entries %}
<div class="panel panel-default">
<div class="panel-heading">
...
0
votes
1
answer
359
views
Wrap button in `{% buttons %}`
I learns the button from bootstrap with Django template
{% buttons %}
<button name="button" class="btn btn-primary">log in</button>
{% endbuttons %}
I test it make no difference when ...
0
votes
2
answers
2k
views
bootstrap collapse span is breaking lines when it shouldn't be
I am having a difficulties with a bootstrap collapse button, I am trying to stop a line from breaking after the collapse button.
I saw this thread at stackoverflow answer which gives the answer that ...
0
votes
0
answers
450
views
Bootstrap javascript not working in Django
I downloaded bootstrap and configured it in my Django application and everything was good after sometime the JavaScript stopped working but the CSS is working. I don't know what is wrong with it. The ...
1
vote
1
answer
81
views
My repeated HTML Bootstrap collapse function only works for the first set
So I'm creating a page that is a directory where each issue has a set of articles and authors. I'm implementing a function that cuts a list of articles after its fourth element and collapses the ...
0
votes
1
answer
729
views
Which bootstrap column is the mouse hovering over?
I'm making a `django` website, where I have to change the color of text and make a box appears when hovering over their bootstrap column. The problem I'm having is trying to individually refer to the ...
4
votes
2
answers
5k
views
Django: Bootstrap CDN or loading Bootstrap files from local server?
I am trying to make my first website. I am using Django for it. I have a question related to the inclusion of css/js from Bootstrap.
What is the difference between installing it and linking it using ...
0
votes
1
answer
542
views
Loading form from URL in Bootstrap 3 (Django)
I have a form in a url.
I want to load it in an existing page.
I'm following this tutorial https://www.abidibo.net/blog/2014/05/26/how-implement-modal-popup-django-forms-bootstrap/
This is the form ...
-2
votes
1
answer
1k
views
jquery not working on django
jquery does not work on django project I used with bootstrap. please help me
.html
<div class="domains-slider marquee">
<ul>
<li><a href="#">BTC/USD</a&...
0
votes
1
answer
69
views
JQuery: div class-specific hover not working with bootstrap css
Context:
Developing a "google-calendar-like" hardware booking tool at work using DJango.
View reservations (their time slot and reserving user).
Click empty space to create another reservation (...