]>
git.datanom.net - liogui.git/blob - webapp/dashboard.py
2 Blueprint
, flash
, g
, redirect
, render_template
, session
, request
, url_for
4 from werkzeug
.exceptions
import abort
6 from webapp
.auth
import login_required
7 from webapp
.db
import get_db
9 bp
= Blueprint('dashboard', __name__
)
16 'SELECT p.id, title, body, created, author_id, username'
17 ' FROM post p JOIN user u ON p.author_id = u.id'
18 ' ORDER BY created DESC'
20 return render_template('dashboard/index.html', perm
=session
.get('user_perm'))
This page took 0.43841 seconds and 6 git commands to generate.