First part of the tutorial. Many explanations missing but it's a start.

This commit is contained in:
Armin Ronacher 2010-04-15 02:21:46 +02:00
parent c4f5c2fb9a
commit 1246f4088a
9 changed files with 394 additions and 14 deletions

View file

@ -4,7 +4,7 @@
<div class=page>
<h1>Flaskr</h1>
<div class=metanav>
{% if not g.logged_in %}
{% if not session.logged_in %}
<a href="{{ url_for('login') }}">log in</a>
{% else %}
<a href="{{ url_for('logout') }}">log out</a>