stephrdev/django-formwizard

Add ability to set extra context upon init

Closed this issue · 1 comments

So we can add extra context to each step when the wizard is called within the urls.py:

url(r'^buy/$',
    MyWizard([
        ('plan', PlanForm),
        ('billing', BuyForm),
    ], extra_context={'hello': 'world'}),
),

This can be done by overwriting init.