Category: Django

Welcome to Django Tutorial for beginners and experts, an approach to learning web-development with Django Web Framework. In this tutorial, you will be progressively building more advanced and complex web applications and API’s. This tutorial will help you to get deep knowledge of Django Framework and Python Programming Language. You will be becoming an expert to make your own custom model, email integration in Django, foreign keys, authorization, permissions, middleware, templates, forms, views, and much more stuff. You will be also learning Django ORM to play with Database like MySQL, SQLite, PostgreSQL with even no knowledge of SQL queries.

By the end of this tutorial, you should feel confident creating your own Django Projects from scratch and even start your own startup and personal projects.

Multiple Django projects using one virtualenv environment

TWO Django Projects in One Virtual ENV (1)

In this tutorial, you will learn how to run two or more Django Projects in one virtual environment. This seems to be tricky and funny but has some pros and cons. Let’s say you are running two Projects A and B in one virtualenv. Project A requires 3 libraries and Project B Requires 2, but… Continue Reading »

How to Use Django MySQL Database with Django Project

Django MySQL Connection

This tutorial will explain how to connect MySQL Database with your Django Project. By the end of the tutorial, you will be able to connect and use MySQL Database with your Django Application. You will also learn how to migrate your data to the database. Learn Django MySQL connection Django with MySQL. MySQL is the… Continue Reading »

How to use Message Framework Django Templates

Django Messages Framework How to use

It is most important to keep the users of your web application aware of what’s going on makes a big difference in the user experience. There’s one thing users hate over slow applications, it is applications that don’t communicate with them. – The user clicks in a save button. – Nothing happens. – So, did… Continue Reading »

How to Extend Django User Model

How to Extend User Model - Proxy Model | One-To-One Link | AbstractBaseUser | AbstractBase

Django’s built-in authentication system is excellent. We can use it out-of-the-box, which can result in saving a lot of development and testing time. It is extremely safe and fits most of the use cases. But sometimes we need to extend some functionalities so to fit our Web application. Commonly you want to store some more… Continue Reading »

How to Use Bootstrap 4 Forms With Django – Crispy Forms

How to use Django Crispy Form

Integrating Bootstrap Form with Django is very easy and simple. There are lots of Django Libraries for Bootstrap. In this tutorial, we are going to use django-crispy-forms for Bootstrap Form in Django. Crispy-Forms is a great package that gives good control over rendering Bootstrap form in your Django Project. Installing Django Crispy Forms Library For… Continue Reading »

How to Use and Create Django Signals

How to Use and Create Django Signals

Django Signals helps to allow decoupled applications to get notified when actions or events occur. We can think of Django Signals as triggers. Django Signals are useful when we need to invoke a piece of code at certain events. The benefit of these signals is at the model level where we need to write action… Continue Reading »

How to Send Email in Django

How to Send Email in Django Email

Email is one of the essential tools in the Web Application. Sending an email with Django Web Framework is a really easy task. We can use email for the account activation, send invoices and documents. In this tutorial, you’ll learn how to send email using Django and Python. How to send multiple emails at a… Continue Reading »

How to Protect Sensitive Data in Django

How to Protect Sensitive Data in Django

The Internet is full of data, which is used for legal and illegal purposes. As a developer, we need to keep our system protect and secure. Securing applications will help our system to be protected from misuse. Security should be priority one once deploying an internet application on the web. The Django framework will a… Continue Reading »

How to Install Django Web Framework on Windows

Django is a free, open-source web framework written in the most popular python programming language and used by millions of developers every year. Its popularity is due to its friendliness to both beginners and advanced programmers with lots of python libraries and support. In this tutorial, you’ll learn how to install Django on Windows Operating System. This… Continue Reading »