Beispiel #1
0
 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))
Beispiel #2
0
 def get(self):
     self.render('public/home.html', dict(cities = City.all()))
Beispiel #3
0
 def get(self, venue_url = None):
     self.render('admin/venue.html', dict(cities=City.all(), current_venue = Venue.get_by_url(venue_url)))