Re: Form doesn't show in HTML template

2014-11-24 Thread Collin Anderson
Hi, Are the form fields in the html source (view source) and then getting hidden using CSS or removed using JavaScript? What does this output? {% if form %}Yes, there's a form{% else %}No form{% endif %} Collin On Friday, November 21, 2014 11:33:16 AM UTC-5, Some Developer wrote: > > On 21/1

Re: Form doesn't show in HTML template

2014-11-21 Thread Some Developer
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

Re: Form doesn't show in HTML template

2014-11-21 Thread Some Developer
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? Which method in the FormView class would I override to put that in? The get() method or the render_to_response() method? -- You received this message be

Re: Form doesn't show in HTML template

2014-11-21 Thread Vijay Khemlani
If you manually call the form "as_p" method in the view (not the template), does it print the form? On Fri, Nov 21, 2014 at 12:28 PM, Some Developer wrote: > On 20/11/14 22:07, Vijay Khemlani wrote: > >> If you set the settings TEMPLATE_DEBUG to True, does it display any >> errors? >> >> > Hmm s

Re: Form doesn't show in HTML template

2014-11-21 Thread Some Developer
On 20/11/14 22:07, Vijay Khemlani wrote: If you set the settings TEMPLATE_DEBUG to True, does it display any errors? Hmm still been trying to figure out what is going on but haven't really managed to get very far. I'm completely stumped. Has anyone got any tips as to what the problem might

Re: Form doesn't show in HTML template

2014-11-20 Thread Some Developer
On 20/11/14 22:07, Vijay Khemlani wrote: If you set the settings TEMPLATE_DEBUG to True, does it display any errors? No. -- 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 a

Re: Form doesn't show in HTML template

2014-11-20 Thread Vijay Khemlani
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 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..."

Re: Form doesn't show in HTML template

2014-11-20 Thread Some Developer
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 s

Re: Form doesn't show in HTML template

2014-11-20 Thread James Schneider
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 On Nov 20, 2014 12:26 PM, "Some Developer" wrote: > I'm having a bit of a perplexing issue with Django 1.7.1