I am trying to write an app with Bottle.py
<link href="bootstrap.min.css" rel="stylesheet" media="screen">
<script src="http://d3js.org/d3.v2.js"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="bootstrap.min.js"></script>
My view copies these import statements without actually importing the css + js files themselves.
I have included a static template, as the tutorial suggests
@route('/static/<filename>')
def server_static(filename):
return static_file(filename, root='/static/')
How do I modify the HTML so my browser reads the *.js , *.css files?
I used (as an example)
and I have
for static files.