django create object model code example
Example 1: model object means in django
CREATE TABLE myapp_person (
"id" serial NOT NULL PRIMARY KEY,
"first_name" varchar(30) NOT NULL,
"last_name" varchar(30) NOT NULL
);
Example 2: create django object
Author.objects.create(name="Joe")