Dice the zucchini and onion, add a little salt and let stand overnight.
Squeeze out and cook with sugar, vinegar and mustard for 30 minutes. Add the remaining spices for the last 10 minutes and thicken with flour. Pour hot into clean, rinsed glasses and turn upside down to cool.