home / django_tickets / tickets

tickets: 16179

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
16179 2011-06-09 09:21:48 2011-09-28 16:12:30 2022-03-06 04:02:29.607101 Unreviewed closed contrib.formtools New feature Normal dev fixed Formwizard enhancement proposal I'd like to propose the following changes to the formwizard: Add **kwargs to the get_initkwargs method to allow for calling the wizard from the urls.py with changed attributes (storage, template_name) The reasons behind this that the same wizard might be used in multiple locations and you might for instance want to change the storage backend based on the fact if the user is logged in or not. Add extra_context as a default attribute and use it in the get_extra_context, this I needed when I tried to get the wizard integrated in the admin add and change views. Here some extra context for the templates is needed to get everything working correctly (breadcrumbs etc). This way a user could specify a wizard that is also used in the frontend without needing to change anything for the admin. I'll be working on this during the djangocon eu 2011 sprints :) nobody hvdklauw dceu2011 0 1 0 0 0 0
Powered by Datasette · Queries took 1.197ms