Posts From Django

Django Exception Handling

Django Exception Handling – A Brief How-To

In this article, we will learn Django exception handling in a very brief and concise manner while covering most of the exceptions and error messages in Django. Why do we need to handle exceptions? As a developer, you will encounter various errors either while making the web APIs, templates, or while writing any other piece […]

Django MVT Architecture

Django MVT Architecture

In this article, we will talk about the Django MVT architecture and how is it different from the long-existing MVC architecture. So let’s get right into the topic and understand the Django MVT arhitecture. But before that, we’ll briefly go over the MVC Architecture here. What is MVC Architecture? MVC architecture has been there for […]

Django LOGGING

Django Logging – A Quick Set-Up Guide

In this article we will learn all about logging in Django logging!! Why does logging matter? Being a programmer, we write lots of code and hence will also end up having lots of errors. Now it is very time-consuming to traceback and find where exactly the error is.  This is where the logging Module comes […]

Django Postgres

Django PostgreSQL – How to Set up and Use a PostgreSQL database with Django?

In this article, we will learn about Django PostgreSQL Database systems. Here we perform similar operations as we did with the Django MySQL earlier. This article will help those who are interested in using PostgreSQL instead of MySQL. What is PostgreSQL? Similar to the MySQL Database management system, PostgreSQL is another type of RDBMS used […]

Django Mysql

Django MySQL – How to Set up Django to use a Database?

In this article, we will learn how we can learn to use Django MySQL in combination with our web framework. Why MySQL over SQLite? As compared to the default SQLite, MySQL is more secured and is highly advanced, too. It can even handle a good amount of data and hence can be used at scale. […]

Django Detail View

Django DetailView – How to Create Detail Views in Django?

In this article we will learn about Django DetailView. What is a Django DetailView? Django DetailView refers to that type of view that shows a single instance from the Model Table. It is used to display the information about a single entry from the database and also to carry out different tasks on that instance. […]