Re: Facing_error_while_creating_question_in_shell

2021-03-31 Thread Ashima jain
ok sahil ..well done On Wed, Mar 31, 2021, 16:50 sahil gupta wrote: > Worked , issue resolved thanks for your help > > On Wed, 31 Mar 2021, 8:38 am Ashima jain, wrote: > >> & run migrations >> >> On Wed, Mar 31, 2021, 08:37 Ashima jain wrote: >> >>> ur pub_date is bad practice & remove timezon

Re: Facing_error_while_creating_question_in_shell

2021-03-31 Thread sahil gupta
Worked , issue resolved thanks for your help On Wed, 31 Mar 2021, 8:38 am Ashima jain, wrote: > & run migrations > > On Wed, Mar 31, 2021, 08:37 Ashima jain wrote: > >> ur pub_date is bad practice & remove timezone from ur views >> >> On Tue, Mar 30, 2021, 18:28 sahil gupta >> wrote: >> >>> fr

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
& run migrations On Wed, Mar 31, 2021, 08:37 Ashima jain wrote: > ur pub_date is bad practice & remove timezone from ur views > > On Tue, Mar 30, 2021, 18:28 sahil gupta > wrote: > >> from django.utils import timezone >> >>> q = Question(question_text="What's new?", pub_date=timezone.now()) >>

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
ur pub_date is bad practice & remove timezone from ur views On Tue, Mar 30, 2021, 18:28 sahil gupta wrote: > from django.utils import timezone > >>> q = Question(question_text="What's new?", pub_date=timezone.now()) > Traceback (most recent call last): > File "", line 1, in > File > "C:\Use

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
any migration is pending On Wed, Mar 31, 2021, 08:31 Ashima jain wrote: > did u import timezone in ur model > > On Wed, Mar 31, 2021, 08:21 Ashima jain wrote: > >> check ur settings >> >> On Wed, Mar 31, 2021, 08:21 Ashima jain wrote: >> >>> & check ur code oncs again >>> >>> On Wed, Mar 31, 2

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
did u import timezone in ur model On Wed, Mar 31, 2021, 08:21 Ashima jain wrote: > check ur settings > > On Wed, Mar 31, 2021, 08:21 Ashima jain wrote: > >> & check ur code oncs again >> >> On Wed, Mar 31, 2021, 08:19 Ashima jain wrote: >> >>> I think you don't declare any field name >>> >>> O

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
check ur settings On Wed, Mar 31, 2021, 08:21 Ashima jain wrote: > & check ur code oncs again > > On Wed, Mar 31, 2021, 08:19 Ashima jain wrote: > >> I think you don't declare any field name >> >> On Wed, Mar 31, 2021, 05:14 Rama akki wrote: >> >>> you may not have or error while writing key a

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
& check ur code oncs again On Wed, Mar 31, 2021, 08:19 Ashima jain wrote: > I think you don't declare any field name > > On Wed, Mar 31, 2021, 05:14 Rama akki wrote: > >> you may not have or error while writing key argument 'question_text' >> please see in your data base model >> >> On Tue, 30

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
I think you don't declare any field name On Wed, Mar 31, 2021, 05:14 Rama akki wrote: > you may not have or error while writing key argument 'question_text' > please see in your data base model > > On Tue, 30 Mar 2021, 9:29 pm sahil gupta, > wrote: > >> ok fine , please do share >> >> >> On Tue

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Rama akki
you may not have or error while writing key argument 'question_text' please see in your data base model On Tue, 30 Mar 2021, 9:29 pm sahil gupta, wrote: > ok fine , please do share > > > On Tuesday, March 30, 2021 at 8:07:15 PM UTC+5:30 vn241...@gmail.com > wrote: > >> okk sahil wait for sometim

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread sahil gupta
ok fine , please do share On Tuesday, March 30, 2021 at 8:07:15 PM UTC+5:30 vn241...@gmail.com wrote: > okk sahil wait for sometime I sharing ur problems with my team_mates > > On Tue, Mar 30, 2021, 20:00 sahil gupta wrote: > >> On Tuesday, March 30, 2021 at 7:30:13 PM UTC+5:30 vn241...@gmail.

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
okk sahil wait for sometime I sharing ur problems with my team_mates On Tue, Mar 30, 2021, 20:00 sahil gupta wrote: > On Tuesday, March 30, 2021 at 7:30:13 PM UTC+5:30 vn241...@gmail.com > wrote: > >> sahil which model u use ..plz mentioned in detail >> >> On Tue, Mar 30, 2021, 19:27 sahil gupta

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread sahil gupta
On Tuesday, March 30, 2021 at 7:30:13 PM UTC+5:30 vn241...@gmail.com wrote: > sahil which model u use ..plz mentioned in detail > > On Tue, Mar 30, 2021, 19:27 sahil gupta wrote: > >> unable to figure out it, please do help >> >> >> On Tue, Mar 30, 2021 at 6:32 PM Ashima jain wrote: >> >>> its a

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
sahil which model u use ..plz mentioned in detail On Tue, Mar 30, 2021, 19:27 sahil gupta wrote: > unable to figure out it, please do help > > > On Tue, Mar 30, 2021 at 6:32 PM Ashima jain wrote: > >> its a type error >> >> On Tue, Mar 30, 2021, 18:28 sahil gupta >> wrote: >> >>> from django.u

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread sahil gupta
unable to figure out it, please do help On Tue, Mar 30, 2021 at 6:32 PM Ashima jain wrote: > its a type error > > On Tue, Mar 30, 2021, 18:28 sahil gupta > wrote: > >> from django.utils import timezone >> >>> q = Question(question_text="What's new?", pub_date=timezone.now()) >> Traceback (most

Re: Facing_error_while_creating_question_in_shell

2021-03-30 Thread Ashima jain
its a type error On Tue, Mar 30, 2021, 18:28 sahil gupta wrote: > from django.utils import timezone > >>> q = Question(question_text="What's new?", pub_date=timezone.now()) > Traceback (most recent call last): > File "", line 1, in > File > "C:\Users\DELL\Envs\test3\lib\site-packages\django

Facing_error_while_creating_question_in_shell

2021-03-30 Thread sahil gupta
from django.utils import timezone >>> q = Question(question_text="What's new?", pub_date=timezone.now()) Traceback (most recent call last): File "", line 1, in File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__ raise TypeError("%s() got an u