class RelationController(BaseController):
def create(self, art_id, kind):
art = h.get_object_or_404(Art, id=art_id)
user = h.get_object_or_404(User, name=request.params['username'])
## TODO: actually, this should act like a form validation.
class RelationController(BaseController):
def create(self, art_id, kind):
art = h.get_object_or_404(Art, id=art_id)
user = h.get_object_or_404(User, name=request.params['username'])
## TODO: actually, this should act like a form validation.