def delete_reminder(request): """ Borra un evento Parametros en POST eventid : el id de la alerta a borrar """ eventid = request.POST.get('eventid', None) geoalert.del_alert(request, eventid) return HttpResponse()
def delete_reminder(request): id = request.POST.get('id', None) geoalert.del_alert(request, id) return HttpResponse()