On Friday 05 May 2017 20:08:01 Er. Rv Ranga wrote:
> python manage.py makemigrations blog
>
> You are trying to add a non-nullable field 'body' to post without a
> default; we can't do that (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 let me add a default in models.py
> Select an option:
Just curious - what is not clear about the language used here and what made it clear from the answers?
--
Melvyn Sopacua
No comments:
Post a Comment