Django 6 · ORM queries

Create a row

Insert a new object into the database.

Post.objects.create(title="Hello", body="First post")

Official Django 6 documentation

More orm queries commands

All orm queries commands · Django 6 cheatsheet

Was this page helpful?