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