コード例 #1
0
ファイル: events.py プロジェクト: paweldudzinski/alchemist
def admin_events_rotator_del(request):
    PicturesProvided.delete_one(request.matchdict.get("id"))
    request.session.flash(u"INFO: Deleted!")
    return HTTPFound(location=request.route_url("admin_events_rotator"))
コード例 #2
0
ファイル: contact.py プロジェクト: paweldudzinski/alchemist
def admin_contact_rotator_del(request):
    PicturesProvided.delete_one(request.matchdict.get('id'))
    request.session.flash(u'INFO: Deleted!')
    return HTTPFound(location=request.route_url('admin_contact_rotator'))
コード例 #3
0
ファイル: location.py プロジェクト: paweldudzinski/alchemist
def admin_location_gallery_delete(request):
    PicturesProvided.delete_one(request.matchdict.get('id'))
    request.session.flash(u'INFO: Deleted!')
    return HTTPFound(location=request.route_url('admin_location_gallery_edit'))