Monday, February 8, 2016

Re: Django formtools wizard produces blank page (No error returned)


On Feb 7, 2016 11:46 AM, "Martín Torre Castro" <martin.torre.castro@gmail.com> wrote:
>
> James or anyone, the wizard doesn't load the main template for the wizard, just the first step template form. Can you guess why?
>

The templates you included in your OP didn't have {% extends %} or {% block %} tags in them. I asked about them and you mentioned those are the exact templates you're using. Make sure your step templates have the correct block references in them, otherwise your big parent template will never get loaded. Each step of the form/view renders the entire page, not just the section where the form is at.

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXVwqfi%2BN62QsPZvUXRWyV0vg5%2BjhOe2Cp9WzCbXk%2BCoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment