To get started, go into the Django shell and bring up
models.py so you can have an overview of what’s in that file. First, you need to import:
>>> from projects.models import Project
Now, you can interact with it and revisit what you did to get all of the models:
>>> projects = Project.objects.all()
reblark on Nov. 12, 2019
In a previous exchange with you I mentioned the possibility of using python manage.py flush to take out the entries in the database. There were three entries that I have made. I went ahead and did that so I had a db with no rows. Using the shell cl funcxtion, I added three more. The first three no longer appear, but when I use “id” or “pk”, I have to use id=4 (pk=4) and id=5 (pk=6). That tells me that the first three entries are not really gone. Where are they?