Re: Error even after following the django documentation

2017-06-16 Thread Andréas Kühne
Hi, Could you please include your models.py file? So that we can see the model declarations. Regards, Andréas 2017-06-16 14:07 GMT+02:00 danbmathew : > Thanks for the reply.Well i used the same model shown in the > documentation.I even cross checked all my codes to

Re: Error even after following the django documentation

2017-06-16 Thread danbmathew
Thanks for the reply.Well i used the same model shown in the documentation.I even cross checked all my codes to verify that anything is out of place.Even then the error appears. On Thursday, June 15, 2017 at 11:12:55 PM UTC+5:30, Hemhem wrote: > > TypeError: 'choice_text' is an invalid keyword

Re: Error even after following the django documentation

2017-06-15 Thread Oladipupo Elegbede
TypeError: 'choice_text' is an invalid keyword argument for this function That above, is where the problem is where the problem is so I am going to guess you need to check your model if you wrote everything correctly. If I can see what your model looks like, I can probe in. On Thu, Jun 15, 2017

Error even after following the django documentation

2017-06-15 Thread danbmathew
Well I'm new to django and my code is just as in the documentation.But got an error while trying to run the codeline q.choice_set.create(choice_text='Not much', votes=0). This part of the code is almost at the end of the segment named Playing With API.I will also post the error. Traceback