Creating Objects
Create with the constructor or objects.create.
Example
post = Post(title="Hi", body="Text")
post.save()
Post.objects.create(title="Two", body="More")Exercise
Create and save.
Post.objects.(title="A")
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.