2👍
✅
First, note that 1.7 is unsupported, and the form wizards were removed from Django in 1.8 and are now in the third-party formtools library.
This isn’t really a job for the form, but the view. SessionWizardView is a standard class-based view, and like most class-based views it allows you to override get_context_data
to add elements to the template contents. See the documentation, which has an example of using self.steps.current
to check the current step name.
- [Answered ]-Django views.py, I want to render all the attributes of a ManyToManyField from my object
Source:stackexchange.com