Python Tutorial

How To Show Custom Model Columns Using Django Admin

In the previous article How To Add Models To Django Admin Site, we have learned how to manage your Django app’s model data in the Django project admin website. But even we implement the model class’s __str__(self) function, we can only display one model class column in the project admin site like the below picture. […]

How To Show Custom Model Columns Using Django Admin Read More »

Python Send Plain Text, Html Content, Attached Files, Embedded Images Email Example

The python modulesmtplib provides functions to send emails to an SMTP server. This article will show you how to send plain text, Html content emails using the smtplib module, it also shows how to send emails with attached files and how to embedded images in your email.

Python Send Plain Text, Html Content, Attached Files, Embedded Images Email Example Read More »

How To Make A Website With Python And Django

Django web project consists of applications, and each Django web project can contain multiple applications. This article will tell you how to create and add a Django application to a web project. All the operation is implemented in a virtual environment. Please read How To Install Python Django In Virtual Environment first if you do not

How To Make A Website With Python And Django Read More »