Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pythonla-HEAD/site/pythonla/views.py   pythonla(Download)
def events_view(request):
    events = cache.get_events()
    return {'breadcrumbs': [
            {'item': 'Events', 'caption' : 'Events'}
           ], 'events': events}
 
@view_config(route_name='map', renderer='templates/map.jinja2')
def map_view(request):
    members = cache.get_full_profiles()
    events = cache.get_events()