Kind of amazing what the code generation from ChatGPT is capable of, at least with regards to python: Prompt: "given the following model, write a django view that calculates cumulative quantity for a given product:"