3 from pylons
import request
, response
, session
, tmpl_context
as c
4 from pylons
.controllers
.util
import abort
, redirect
7 from floof
.lib
import helpers
as h
8 from floof
.lib
.base
import BaseController
, render
10 log
= logging
.getLogger(__name__
)
12 from floof
.model
.search
import GalleryWidget
13 class GalleryController(BaseController
):
16 c
.gallery
= h
.get_object_or_404(GalleryWidget
, id=id)
17 elixir
.session
.delete(tag
)
18 elixir
.session
.commit()