#22372: Incorrect docstring in wizard views --------------------------------------+------------------------------------ Reporter: simon29 | Owner: vlal Type: Cleanup/optimization | Status: assigned Component: Forms | Version: 1.6 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------ Changes (by vlal):
* cc: vlal (added) * owner: nobody => vlal * has_patch: 0 => 1 * status: new => assigned Comment: Also it seems the form instance is actually included as part of the wizard key. {{{ context['wizard'] = { 'form': form, 'steps': self.steps, 'management_form': ManagementForm(prefix=self.prefix, initial={ 'current_step': self.steps.current, }), } }}} It would be easier to modify the docstring and docs to reflect this rather than modify the code and potentially break many things. Issued [https://github.com/django/django/pull/2505 Pull Request #2505]. Verified documentation builds correctly. -- Ticket URL: <https://code.djangoproject.com/ticket/22372#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.97c79f8d71fba011c0dd40f2c8d2333a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.