Thank You everyone for help me On Friday, September 16, 2022 at 4:25:44 AM UTC+5:30 [email protected] wrote:
> In the new added field “logo” set default = None or specify a default > value > > On Thu, Sep 15, 2022 at 8:38 PM shiva singh <[email protected]> > wrote: > >> Hello I am new in Django users group. I am using Django and faching a >> problem when i do any changes in existing models after run makemigrations. >> >> >> This is problem :-It is impossible to add a non-nullable field 'logo' to >> jobdetails without specifying a default. This is because the database needs >> something to populate existing rows. >> Please select a fix: >> 1) Provide a one-off default now (will be set on all existing rows with >> a null value for this column) >> 2) Quit and manually define a default value in models.py. >> Select an option: 2 >> >> >> please help how can i solve this problem . >> >> Thank you >> >> -- >> > 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/10c70cce-9e8e-46ca-8ab1-a2fc73ef4181n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/10c70cce-9e8e-46ca-8ab1-a2fc73ef4181n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/75c35525-6664-41cd-969c-ba0a2ad99218n%40googlegroups.com.

