On 21/11/14 15:31, Vijay Khemlani wrote:
If you manually call the form "as_p" method in the view (not the
template), does it print the form?


OK. Sorted that out.

Running my program through the debugger shows that the form object exists and has the correct fields associated with it.

I don't understand this. Everything I look at says that the form should display correctly and it just isn't. The form_class has been instantiated correctly, there are no errors or warnings when I run my code. The template gets the form object passed to it as a context object. The only thing that doesn't happen is the form being displayed.

Very strange indeed.

--
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+unsubscr...@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/546F692D.3080803%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to