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. http://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 Admin Interface

Here you will learn about working with django admin interface.  Prerequiests: It is necessary to learn about models first before working with Django admin panel. You can learn about models here. What is admin.py File in Django? We’ve created an app and a model in previous articles. But we haven’t stored anything yet to our database. …

Django Admin Interface 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 »