How to persist multi-step form data between views in Django without committing to DB?

  • One-line project/context.

  • Short description of the problem and constraints.

  • Minimal code: models, the two views, form classes, snippets of urls.py.

  • Exact observed behavior or error.

  • Alternatives tried (session, temp model) and why they’re insufficient.

  • Ask: “Given X and Y, which approach best ensures Z, and how to implement it?

Вернуться на верх