ermalgashi / blog-project

0 stars 0 forks source link

Backend Models #5

Open ermalgashi opened 2 years ago

ermalgashi commented 2 years ago

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.

ermalgashi commented 2 years ago

We have made progress in this aspect, we have a working model with only 3 fields but for experimental purposes.