In this article, we shall learn how to build and implement a blog app. A blog app that allows users to create, edit and delete posts. The homepage of our blog app should be able to list all blog posts and there will also be a dedicated detailed page for each blog posts. In this article, we shall also introduce CSS for styling and learn how Django works with static files.
To do this, open your project in the command prompt and input the following:
mkdir blog && cd blog
pipenv install django==3.0.1
pipenv shell
django_admin startproject blog_project .
python manage.py startapp blog
python manage.py migrate
python manage.py runserver
Introduction In the fast paced world of technology, learning a versatile and high-in-demand programming language…
Introduction User Authentication policy is a very crucial process for every application and organization. It…
Introduction In previous articles, we have learnt about Django, how it works and how we…
Introduction In this article, we shall use a database for the first time to build…
Introduction In this article, we will build a pages app that has a homepage and…
Introduction When you say you want to use Django, it means you want to build…