def venue(request, key): days = helpers.get_days() key = db.Key(key) return render_to_response(request, 'ladypenh/venue.html', dict(theme_name=helpers.get_theme(helpers.today()), events=helpers.get_venue_events(days, key), files=helpers.get_venue_files(days, key), venue=helpers.get_venue_by_key(key)))
def lpvenue(request, venue): days = helpers.get_days() venue = helpers.get_venue_by_name(venue) return render_to_response(request, 'ladypenh/venue.html', dict(theme_name=helpers.get_theme(helpers.today()), events=helpers.get_venue_events(days, venue.key()), files=helpers.get_venue_files(days, venue.key()), venue=venue))