Thursday, November 20, 2014

Re: Form doesn't show in HTML template

If you set the settings TEMPLATE_DEBUG to True, does it display any errors?

On Thu, Nov 20, 2014 at 6:39 PM, Some Developer <someukdeveloper@gmail.com> wrote:
On 20/11/14 21:15, James Schneider wrote:
Dumb question, but there is a "main_content" block in base.html, right?

I'm assuming the "Please register..." message shows but the form
doesn't? Or does that message not show up?

-James


Yes main_content block exists and the page displays the forms submit button and the "Please register..." text just fine. The only thing that is not displayed is the email, password and password_confirm form fields in the form object which is strange. Even the csrf_token displays fine (which I forgot to add to the source code I posted on dpaste).

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/546E5F8F.9070101%40googlemail.com.

For more options, visit https://groups.google.com/d/optout.

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei1K0vJ%2BEdoypoW3jX4yviNYSid%3DT9jrAS0T4YiUs2WfaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment