I am uncertain what is the source of the problem here and due to I doubt
it is a bug, i checked what is available for django and thought the
mailing list is a good place to post this question.
You can see the issue better formatted here
https://stackoverflow.com/questions/57451323/django-templat
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 valu
Hi,
I was just trying the sample code from the Django Book 2nd Edition but
the generated SQL script for the Books models are not correct.
The Model code:
http://dpaste.com/226416/
The generated SQL script for sqlite:
http://dpaste.com/226417/
What's missing in the generated script is
'REFEREN
I am working on a project with the following:
class Person(models.Model):
# ...
picture = models.ImageField(...)
I'd like to give each Person the ability to delete images, and I'd
like to remove deleted pictures from the filesystem once a person has
deleted them. From what I can tell, th
4 matches
Mail list logo