e57e99aad931cec6aee1df9da64b4e148104efed
3 from pylons
import request
, response
, session
, tmpl_context
as c
4 from pylons
.controllers
.util
import abort
, redirect_to
6 from floof
.lib
.base
import BaseController
, render
7 from floof
.model
import meta
8 from floof
.model
.art
import Art
10 log
= logging
.getLogger(__name__
)
12 class MainController(BaseController
):
15 c
.artwork
= meta
.Session
.query(Art
).order_by(Art
.id.desc()).all()
16 return render('/index.mako')