Django

Django – Getting Data from PostgreSQL and Showing it to Template

In this Django tutorial, we’ll see how we can get the data stored in the database and display it to the template. Prerequisites Have a look on the previous article, in which we’ve seen how to create an app, model and create a super user to work with admin interface. https://www.thecrazyprogrammer.com/2019/01/django-models.html So let’s start. Getting …

Django – Getting Data from PostgreSQL and Showing it to Template Read More »

Django Models

In this tutorial, we’re going to learn about models in django. Models are connected to our database. We can also say that a model contains the fields and behaviors of the data that we want to store into database. Normally each model is connected to a single table of our database. To understand models and …

Django Models Read More »

Working with Virtual Environment for Django Project

In this tutorial we’ll talk about virtual environment for django project. Here we’ll discuss about: 1. What is virtual environment and why to use it? 2. How to install virtual environment for django project? 3. How to use virtual environment in django project? So let’s start with our very first question. What is Virtual Environment …

Working with Virtual Environment for Django Project Read More »