Building A Blog Website With Django Part 6

Before doing this tutorial, make sure you finish  part one Creating Django Projectpart two Creating Super User and Backend Dashboard accesspart three  ORM, Backend to CRUD Post, and Category.part four  creating working Front End via templates and Views.part five Using TinyMCE as text editor for post’s body A thumbnail of a post is a small…

author
read

Building A Blog Website With Django Part 5

Before doing this tutorial, make sure you finish  part one Creating Django Projectpart two Creating Super User and Backend Dashboard accesspart three ORM, Backend to CRUD Post, and Category.part four, creating working Front End via templates and Views. Now we want to make the post body input form as a rich text editor. For this…

author
read

Building A Blog Website With Django Part 4

Before doing this tutorial, make sure you finish part one, part two and part three. First we will make all folders and file that needed. Open the “myblog/” folder on your Visual Studio Code. You can do this manually by opening the Visual Studio Code first. Go to root folder which is myblog, create a folder…

author
read

Building A Blog Website With Django Part 3

Before doing this tutorial, make sure you finish part one and part two. Now we will create a app name “blog”. Run this in your terminal inside root folder. Our current folders and files. Object-Relational Mapping (ORM) Object-Relational Mapping (ORM) is a programming technique that helps connect relational databases with object-oriented programming languages. It serves…

author
read

Building A Blog Website With Django Part 2

After we successfully create a Django project like in this previous part one, we will make back-end admin accessible. Inside terminal in your root folder, which in this case is “myblog”, run this syntax. The “python manage.py migrate” syntax is a Django command that applies pending database migrations to synchronize the database schema with the…

author
read

Building A Blog Website With Django Part 1: Install Django and Creating a Project

Django is a web framework developed in Python. It is open source and free to use. Django follows the Model-View-Template (MVT) architectural pattern, which separates the components of an application into three parts: the model, which handles the data; the view, which contains the logic; and the template, which is responsible for presentation. Before we…

author
read