Just click 1 and write validate date and it populate database correctly , and be aware when writing correct populating data
пт, 16 сент. 2022 г., 00:38 shiva singh <[email protected]>: > 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/CAGrwWeU6bNeXMNciHj6ZAj%3DeMH08PWKf%3D3gdoArLCAxCd2EXaQ%40mail.gmail.com.

