Switch to side-by-side view
--- a/ForgeTracker/forgetracker/tracker_main.py +++ b/ForgeTracker/forgetracker/tracker_main.py @@ -420,6 +420,13 @@ setattr(bin, k, v) redirect(request.referer) + @with_trailing_slash + @expose() + def delbin(self, summary=None): + bin = model.Bin.query.find(dict(summary=summary,)).first() + bin.delete() + redirect(request.referer) + class TicketController(object): def __init__(self, ticket_num=None):