Removed errant import.
[zzz-floof.git] / floof / controllers / gallery.py
1 import logging
2
3 from pylons import request, response, session, tmpl_context as c
4 from pylons.controllers.util import abort, redirect
5 from pylons import url
6
7 from floof.lib import helpers as h
8 from floof.lib.base import BaseController, render
9
10 log = logging.getLogger(__name__)
11 import elixir
12 from floof.model.search import GalleryWidget
13 class GalleryController(BaseController):
14
15 def delete(self, id):
16 c.gallery = h.get_object_or_404(GalleryWidget, id=id)
17 elixir.session.delete(tag)
18 elixir.session.commit()