def bulk_import(self): if request.method == 'GET': return render('/derived/stories/bulk_import.html') else: from scrumboard.model.importer import StoryImporter importer = StoryImporter() importer.fetch(request.params.get('content')) return redirect_to(controller='stories', action='list')
def show(self, id): sprint = model.meta.Session.query(model.Sprint).get(id) return render('/derived/sprints/show.html')
def list(self): c.heading = "Backlog" c.stories = model.Story.get_unassigned() return render('/derived/stories/list.html')
def list(self): c.heading = "Sprints" c.sprints = model.meta.Session.query(model.Sprint) c.sprints = c.sprints.order_by(model.sprint_table.c.start_date) c.sprints = c.sprints.all() return render('/derived/sprints/list.html')