LLMs generally write poor quality anything. It'll [usually] work, but it'll need massive refactoring to get in a maintainable and efficient state.
I've actually found Opus 4.7 to write decent Django / Python code.
I've actually found Opus 4.7 to write decent Django / Python code.