#22372: Incorrect docstring in wizard views --------------------------------------+-------------------- Reporter: simon29 | Owner: nobody Type: Cleanup/optimization | Status: new Component: Forms | Version: 1.6 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+-------------------- In formtools.wizard.views.get_context_data, the docstring states the "wizard instance itself" is available in the template, but this is not correct.
The context includes a variable "wizard", but it is not the instance (as you would expect). This is confusing and dumb. Either the code should be changed (preferred, unless there is some paranoid security concern I'm not considering); or the docstring fixed and docs updated. -- Ticket URL: <https://code.djangoproject.com/ticket/22372> 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/050.fc41c72d3e331851a13d3fa172aeeb26%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.