Recent tutorials & articles
Creating a blog with Cookiecutter-Django & deploying it to Heroku
Learn to jumpstart a production-ready blog using the Cookiecutter-Django framework and how to deploy it to Heroku
Part VIII - Showing the data we created on the frontend
Now that we've created the data for our blog, we'll learn how to show it using the Django ORM in this chapter. Wait, what? O-R, what?
Part VII - Creating the data and fine-tuning the templates
Django follows the DRY principle of software development or the Don't repeat yourself principle, aiming to minimize writing code or repeating code.
Part VI - Testing our app using Unittests
"Code without tests is broken by design." - Jacob Kaplan-Moss
Part IV - Model Architecture Planning
It's good to visualize our models before defining them in our models.py for us to see how our model structure would be laid out. The figure below shows how we will determine the database of the blog we're building.
Part V - Creating the models.py, views.py, urls.py, admin.py & the superuser
It's good to visualize our models before defining them in our models.py to see how our model structure would be laid out. The figure below shows how we will determine the database of the blog we're building.
Part III - Creating the app for the blog
We'll create the app and name it main.
Part IX - How to deploy your Django app to Heroku for FREE
Learn how to deploy your Django app in 2 minutes. on Heroku.
Part II - Creating the Django blog project
A walk through on how to generate the a project