def get(self, city_url=None): current_city = City.get_by_url(city_url) self.render("admin/city.html", dict(cities=City.all(), current_city=current_city))
def get(self): self.render('public/home.html', dict(cities = City.all()))
def get(self, venue_url = None): self.render('admin/venue.html', dict(cities=City.all(), current_venue = Venue.get_by_url(venue_url)))