X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/da9dc9c1a060be8de3c13fa308a047b4b57eaaeb..fe7afb91d071aaf21034561840588e82425f3d8a:/floof/controllers/relation.py?ds=inline diff --git a/floof/controllers/relation.py b/floof/controllers/relation.py index b1d415d..719fe2b 100644 --- a/floof/controllers/relation.py +++ b/floof/controllers/relation.py @@ -1,8 +1,9 @@ import logging -from pylons import request, response, session, tmpl_context as c, h, url +from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect +from floof.lib import helpers as h from floof.lib.base import BaseController, render log = logging.getLogger(__name__) @@ -11,6 +12,9 @@ from floof.model import Art, UserRelation from floof.model.users import User import elixir +# TODO!!! Implement adding a related user the same way that it works +# on the "add new art" page + class RelationController(BaseController): def create(self, art_id, kind): art = h.get_object_or_404(Art, id=art_id)