As the first stage of our development, we need to deal with models. We should start with our blog_post model, where we inherit from the Django Models class. Our models should have at least these fields:
Title, Author, Body, Date Created, Date Updated, Draft, and should have a method to have the string representation for the admin panel.
As the first stage of our development, we need to deal with models. We should start with our blog_post model, where we inherit from the Django Models class. Our models should have at least these fields: Title, Author, Body, Date Created, Date Updated, Draft, and should have a method to have the string representation for the admin panel.