--
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/10c70cce-9e8e-46ca-8ab1-a2fc73ef4181n%40googlegroups.com.
default=True
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOfwBVhKHXYbdGcGckHcr-%3DLD28EQvkKG9dqvLtNr3f94VMkhw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOfwBVhKHXYbdGcGckHcr-%3DLD28EQvkKG9dqvLtNr3f94VMkhw%40mail.gmail.com.
--
In the new added field “logo” set default = None or specify a default valueOn Thu, Sep 15, 2022 at 8:38 PM shiva singh <shivas...@gmail.com> 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: 2please 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 django-users+unsubscribe@googlegroups.com.
Thank You everyone for help me
On Friday, September 16, 2022 at 4:25:44 AM UTC+5:30 fortu...@gmail.com wrote:
In the new added field “logo” set default = None or specify a default valueOn Thu, Sep 15, 2022 at 8:38 PM shiva singh <shivas...@gmail.com> 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: 2please 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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/10c70cce-9e8e-46ca-8ab1-a2fc73ef4181n%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/75c35525-6664-41cd-969c-ba0a2ad99218n%40googlegroups.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGrwWeU6bNeXMNciHj6ZAj%3DeMH08PWKf%3D3gdoArLCAxCd2EXaQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACvpWirMB%3DjAyFOqanEjj4PpdDoH_uPzFSdV4aj-pcG1CRk9-A%40mail.gmail.com.
Thank You everyone for help me
On Friday, September 16, 2022 at 4:25:44 AM UTC+5:30 fortu...@gmail.com wrote:
In the new added field “logo” set default = None or specify a default valueOn Thu, Sep 15, 2022 at 8:38 PM shiva singh <shivas...@gmail.com> 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: 2please 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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/10c70cce-9e8e-46ca-8ab1-a2fc73ef4181n%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/75c35525-6664-41cd-969c-ba0a2ad99218n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABqs0Mzjs6iZZoD04Kdwzwwo%2BqyvWCMwzpsXDwagadpCX6oEMg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO5ZLjXgWN7EochDgrxkE0KpSNkWuhn88rStGksHJzzhFZNf_Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO5ZLjVR82QbE9yseSZogPUMamJT0Kjqjcgydfj6NQKHqWGw-Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOfwBVhKHXYbdGcGckHcr-%3DLD28EQvkKG9dqvLtNr3f94VMkhw%40mail.gmail.com.
--