django modelforms unable to validate fields and save data entered by users into database

2019-10-21 Thread Gourab Mahapatra
Error i get : Traceback: File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\exception.py" in inner 34. response = get_response(request) File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handle

unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
Traceback: File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\exception.py" in inner 34. response = get_response(request) File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\base.py" i

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
sir/madam, when I replace the particular statement with the one which you have adviced me to use. then, this gives me an error something like: Exception Type: NameError Exception Value: name 'job_name' is not defined please help me in fixing this issue Thanks & Regards Go

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
expected behavior. if you want to check if job exists, you > better use Job.objects.filter(name=job_name).exists() > > On Monday, October 21, 2019 at 3:49:01 PM UTC+3, Gourab Mahapatra wrote: >> >> Traceback: >> >> File >> "C:\Users\Admin\PycharmProj

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
ached .. Thanks & Regards, Gourab Mahapatra On Monday, 21 October 2019 20:38:13 UTC+5:30, lemme smash wrote: > > it's quite expected behavior. if you want to check if job exists, you > better use Job.objects.filter(name=job_name).exists() > > On Monday, October 21, 201

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
On Tuesday, 22 October 2019 11:33:23 UTC+5:30, Gourab Mahapatra wrote: > > and now this error shows, something related to the job instance, i don't > know but if you want then i can share with you my models.py file code and > views.py file code > please help me in this

Multiple File uploads in a single form field..

2019-11-09 Thread Gourab Mahapatra
there will be a cron implementation using celery, i guess. Please help me, i need a mentor for this. I would be very grateful to you all. Thanks & Regards, Gourab Mahapatra -- You received this message because you are subscribed to the Google Groups "Django users" group. To un