How to Create Signup / Registration View in Django

In this tutorial, we will learn how to create ( Django signup view)Sign Up or Registration Form in Django for User Registration. We will be using UserCreationForm which is an in-built form for User Registration. User Sign Up can be created by the third person or by self. Both strategics can be achieved by this… Continue Reading »

Django Change Password & Reset Forgot Password Using Built-in Functions

In this short tutorial, I will explain how to use Change Password and Reset or Forgot Password Functionality in Django. The process for Password Reset involves sending emails. For that matter, we are going to use console email backend and check if everything is functioning. Follow this tutorial how to send email using SMTP Email… Continue Reading »

Django Login Logout Authentication System Using Admin Built-in Functions

Exaplaining Django Login and Logout. Django is a High-Level Web Framework and it has lots of built-in features. We can use those built-in functions for our common use of Web Application. Some of the functions are Permission and User Control, Signals, Templates, Django ORM, Access Control List, etc. Out of this Registration App, is a… Continue Reading »

Django Project Structure Best Practice 2019

Learn Django structure best practice for the Django project structure 2019. Django is a web framework that has lots of files and folders inside it. A proper project organizing can help in keeping the project DRY (Don’t Repeat Yourself) and clean. Organizing a project is a must for every developer. This also helps the administrators… Continue Reading »

How to Django Export to Excel File with Video Explain

In this tutorial, you will learn how to Export Excel Spreadsheet with Django. You will learn how to do read-write operations on excel sheets. Styling Excel spreadsheet with XLWT Library. And writing to Existing Excel Workbook using XLWT. From this tutorial, you will learn how to – export to excel, excel export, django download excel… Continue Reading »

How to Export CSV File With Django

Django export CSV – You’ll learn to write a django based web application and write the data to a CSV file. I will explain to you how to Create CSV (Comma Separated Value) file with Django. We are going to use Python in-built CSV library which comes by default with Python. With this tutorial, you… Continue Reading »

How to Django Send Email with Attachment

Learn to Django send an email with an attachment. Django Email Attachment comes with in-built, ready to use Email System. Sending Email using Django is a Really Simple Task. In Django, we just need to import django.core.mail. You will learn how to send an email with multiple attachments in Django. How to Send Email With… Continue Reading »

Django Ajax CRUD – Execute CRUD Operations

Let’s see the example of Python Django Ajax CRUD Operations. Ajax is a way of making web development more dynamic. Using Ajax we can load data from the server without reloading the web pages. AJAX stands for Asynchronous Javascript and XML. In this tutorial, you’ll learn how to do CRUD operations using Django, Ajax Form… Continue Reading »

Python Program to Swap Two Numbers

To understand this example, you should have knowledge of following Python programming topics: Python – Operators There are two ways to swap two numbers: Without Using Temporary Variable Using Temporary Variable Source Code: Swap Using a temporary variable # Python Program to Swap Two Variables Using Temporary Variable x = 5 y = 7 print(“Before Swapping:… Continue Reading »

Prime Number Program in Python

Python to Check Number is Prime Number Programor Not A number that is divisible only by itself and 1 (i.e. 2, 3, 5, 7, 11) is called Prime Number. Note: 0 and 1 are not Prime Number To understand this example, you should have knowledge of following Python programming topics: Python – If…Else Condition Python –… Continue Reading »