def get(self, show_url = None): show = Show.get_by_url(show_url) self.render('admin/show.html', dict(shows = Show.all(), companies = Company.all(), current_show = show))
def get(self, company_url=None): company = Company.get_by_url(company_url) self.render('admin/company.html', dict(companies=Company.all(), current_company = company))