How to generate and fix programming code with WatsonX in Django