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