Comments (5)
I am experiencing this issue as well. My current work around is to include js as such.
{% block head %}
{{super()}}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
{% endblock %}
from flask-bootstrap.
This usually happens if you forget a super()
(which you probably haven't, seeing that that is your workaround) or if you use the wrong block (i.e. body
when you should be using content
). Flask-bootstrap loads the javascript source at the end of the <body>
block, not inside <head>
.
from flask-bootstrap.
Ahh yes... I was mis-using the block contents. Sorry for the misunderstanding and thank you for the great project.
from flask-bootstrap.
Hello, i found this post interesting. Thank you.
from flask-bootstrap.
This post helped me, thanks!
from flask-bootstrap.
Related Issues (20)
- License clarification
- pip install error - missing py26compat.py
- Building on serverless-flask - getting AttributeError: module 'manageCampaigns' has no attribute 'app'
- i got “unresolved templates reference ‘bootstrap/base.html’ ” problem on the “base.html” HOT 2
- Add title to quick_form
- No one maintain this repository? HOT 6
- jinja2.exceptions.TemplateNotFound: bootstrap/nav.html HOT 3
- Support Subresource Integrity for CDN
- Missing license in pypi archive HOT 1
- Update to Bootstrap 3.4.0
- 'No module' error in python3 HOT 1
- jinja2.exceptions.UndefinedError: 'bootstrap_find_resource' is undefined HOT 7
- `description` property isn't rendered for `BooleanField` HOT 2
- For MultipleFileField enctype not set to "multipart/form-data"
- Make bootstrap version dynamic HOT 1
- Update HOT 2
- Modal not working
- Refused to apply style
- How to add onclick to quick_form() HOT 1
- Abandoned HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-bootstrap.