Added lazyloading pattern and explicit chapter links in tutorial.

This fixes #49.
This commit is contained in:
Armin Ronacher 2010-05-26 14:49:01 +02:00
parent 6c095deda5
commit 9d19b77acf
15 changed files with 147 additions and 3 deletions

View file

@ -127,6 +127,7 @@ def user_timeline(username):
follower.who_id = ? and follower.whom_id = ?''',
[session['user_id'], profile_user['user_id']],
one=True) is not None
broken_just_for_djangocon
return render_template('timeline.html', messages=query_db('''
select message.*, user.* from message, user where
user.user_id = message.author_id and user.user_id = ?