Category Archives: Django

How to Fetch Data from Template Forms to Views in Django

In this tutorial, we’ll see how we can fetch text/data from HTML forms in our templates to views.py to process it and then send that data to another html page. Before starting, let’s have a look on our project folder that what files we have and in what directory these files are stored. Here we’ve… Read More »

How to Add HTML Template in Django

In last tutorial we have seen, how we can return a HTML code through a string from views.py. It is not a good idea to pass whole HTML code through a string because if we have to design a complete webpage in HTML then we shouldn’t pass the whole code through the HttpResponse function because… Read More »

Django Custom Webpage

In this tutorial, we’re going to create our first custom webpage in django. The main goal of this article for you to understand the whole flow of information in django website like if someone asks for specific url then how do we route them into the correct places and ultimately give them back some HTML.… Read More »

Django Project Tour

In this tutorial, we’re going to take a look on each file that exists in our django project folder. Let’s say, we’ve created a project named as my_website on our desktop. Now open that folder you can see another folder (directory) with the same name inside our project folder. Along with this directory, we’ve other… Read More »

Creating First Django Project

Alright fellows, so in this tutorial we’re going to create our very first django project. Here I am assuming that you all have installed Django 2 in your system. Django has a great way for us whenever you want to start a new project. It simply creates a new template for us then we can… Read More »

How to Install Django on Windows/Linux/Mac

In this tutorial, we’re going to see how we can install django on windows, linux or mac platform. First of all, open https://www.djangoproject.com/. It is the official website of django. There is a ton of good information, you can also download the django from this website. But I am not recommending to download it from… Read More »

Introduction to Django

Hello everyone, from today we’re going to start a new tutorial series on Django framework. In this tutorial we will cover basic introduction of Django. Before start to learn, lets have a look on some most frequently asked questions about Django. These questions will help you to understand that what actually Django is. What is… Read More »