Re: Error 500 'NoneType' object

2016-12-15 Thread Zachary Sohovich
Yea, thats correct. I have no idea why I did that thank you for pointing that out. It looks like that's what was causing my internal server error too. Thank you! On Thursday, December 15, 2016 at 6:55:02 AM UTC-8, Vinicius Assef wrote: > > AFAIK you should use: > > messages.error(request, 'There

Re: Error 500 'NoneType' object

2016-12-14 Thread Avraham Serour
it seems you have a bug on your error handling, it seems messages.error is None Can you reproduce this locally? your tests should also cover the error handling On Thu, Dec 15, 2016 at 1:45 AM, Zachary Sohovich < zacharyesohov...@gmail.com> wrote: > I created a simple contact form with Django for

Error 500 'NoneType' object

2016-12-14 Thread Zachary Sohovich
I created a simple contact form with Django for a client. I am using the Messages framework to display an error or success message on form submission. If the form encounters any errors once or twice, we're good. It displays the error message. But, after the third of fourth time there's an error