git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wradmin@759
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
setup(
name='wradmin',
- version='1.4.0',
+ version='1.4.1',
description='Administrative Interface for Winterrodeln',
author='Philipp Spitzer',
author_email='philipp.spitzer@winterrodeln.org',
@jsonify
def ajax_sledding(self):
# Putting the result in a dict is not necessary but avoids a warning that array type jsonified data are cross-site data leak attackable
- return {'sledding': model.meta.Session.query(model.WrSleddingCache.page_title, model.WrSleddingCache.position_latitude, model.WrSleddingCache.position_longitude).filter('position_latitude is not null and position_longitude is not null').all()}
+ return {'sledding': model.meta.Session.query(model.WrSledrunCache.page_title, model.WrSledrunCache.position_latitude, model.WrSledrunCache.position_longitude).filter('position_latitude is not null and position_longitude is not null').all()}
@jsonify
def ajax_inns(self):