forked from orbit-oss/flask
Added lazyloading pattern and explicit chapter links in tutorial.
This fixes #49.
This commit is contained in:
parent
6c095deda5
commit
9d19b77acf
15 changed files with 147 additions and 3 deletions
|
|
@ -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 = ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue