did u import timezone in ur model
On Wed, Mar 31, 2021, 08:21 Ashima jain <vn24111997@gmail.com> wrote:
check ur settingsOn Wed, Mar 31, 2021, 08:21 Ashima jain <vn24111997@gmail.com> wrote:& check ur code oncs againOn Wed, Mar 31, 2021, 08:19 Ashima jain <vn24111997@gmail.com> wrote:I think you don't declare any field nameOn Wed, Mar 31, 2021, 05:14 Rama akki <sonulucky777@gmail.com> 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, <sahilguptawushu28@gmail.com> 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 sometime I sharing ur problems with my team_matesOn Tue, Mar 30, 2021, 20:00 sahil gupta <sahilgup...@gmail.com> 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 detailOn Tue, Mar 30, 2021, 19:27 sahil gupta <sahilgup...@gmail.com> wrote:unable to figure out it, please do help--On Tue, Mar 30, 2021 at 6:32 PM Ashima jain <vn241...@gmail.com> wrote:its a type error--On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilgup...@gmail.com> wrote:from django.utils import timezone>>> q = Question(question_text="What's new?", pub_date=timezone.now())Traceback (most recent call last):File "<console>", line 1, in <module>File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))TypeError: Question() got an unexpected keyword argument 'question_text'--
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 an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.
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 an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iObRmjtcxOeaESoMNNptG79_KkvKzr8k4yCpa_w8u2_rA%40mail.gmail.com.
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 an email to django-users...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAZ_3RpM_QS-F2SHxUui1WT3m2QsWUcP4A268kpCis%3DGCf9O0A%40mail.gmail.com.
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 an email to django-users...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/510e8ab4-6d89-4305-9d58-fb64ca567dbdn%40googlegroups.com.
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 an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d1ebcf8c-27d3-4d73-a64a-e48b7f1ca34en%40googlegroups.com.
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 an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAmXcB5cUUb%3DW88BDr6d0M80k_VDh6DYzR7c91mPsV8-VGHnEA%40mail.gmail.com.
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 an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iNqomDqpFqtxAxxSp1jhEfxB1motcsarJ1XUXAKprXiDg%40mail.gmail.com.
No comments:
Post a Comment