If error not resolve attach pic ...

On Fri, 16 Sep 2022, 1:00 am Hafiza Nafeesa Asif, <[email protected]>
wrote:

> default=True
>
> On Fri, 16 Sep 2022, 12:51 am Adebileje Nurudeen, <[email protected]>
> wrote:
>
>> Select option as 1
>>
>> On Thu, Sep 15, 2022, 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/CAOfwBVhKHXYbdGcGckHcr-%3DLD28EQvkKG9dqvLtNr3f94VMkhw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAOfwBVhKHXYbdGcGckHcr-%3DLD28EQvkKG9dqvLtNr3f94VMkhw%40mail.gmail.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/CAO5ZLjXgWN7EochDgrxkE0KpSNkWuhn88rStGksHJzzhFZNf_Q%40mail.gmail.com.

Reply via email to