Removed useless script reference. This fixes #87

This commit is contained in:
Armin Ronacher 2010-07-16 13:14:54 +02:00
parent dbb3620792
commit 70dc2b66a0
2 changed files with 4 additions and 6 deletions

View file

@ -71,9 +71,9 @@ We also tell the handler to only send errors and more critical messages.
Because we certainly don't want to get a mail for warnings or other Because we certainly don't want to get a mail for warnings or other
useless logs that might happen during request handling. useless logs that might happen during request handling.
Before you run that in production, please also look at :ref:`log-format` Before you run that in production, please also look at :ref:`logformat` to
to put more information into that error mail. That will save you from a put more information into that error mail. That will save you from a lot
lot of frustration. of frustration.
Logging to a File Logging to a File
@ -110,7 +110,7 @@ above, just make sure to use a lower setting (I would recommend
file_handler.setLevel(logging.WARNING) file_handler.setLevel(logging.WARNING)
app.logger.addHandler(file_handler) app.logger.addHandler(file_handler)
.. _log-format: .. _logformat:
Controlling the Log Format Controlling the Log Format
-------------------------- --------------------------

View file

@ -2,8 +2,6 @@
<title>jQuery Example</title> <title>jQuery Example</title>
<script type=text/javascript <script type=text/javascript
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type=text/javascript src="{{ url_for('static', filename='app.js')
}}"></script>
<script type=text/javascript> <script type=text/javascript>
var $SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; var $SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
</script> </script>