PageView

Stories about Python, Django and Web Development

How to Use Django's Built-in Login System

Django comes with a lot of built-in resources for the most common use cases of a Web application. The registration app is a very good example and a good thing about it is that the features can be used out-of-the-box.

Read more



Date Template Filter

List of the most used Django date template filters to format date according to a given format, semantically ordered.

Read more



Django Tips #5 How to Merge QuerySets

This tip is particularly useful when you want to merge two or more querysets into a single queryset without losing the capabilities of performing filter, count, distinct, etc. operations.

Read more



How to Send Email in a Django App

Sending emails with Django is a really easy task. In this short tutorial I will guide you through the necessary steps to set up your Django Application to start sending emails right away.

Read more



Django Tips #4 Automatic DateTime Fields

Both Django’s DateTimeField and DateField have two very useful arguments for automatically managing date and time. If you want keep track on when a specific instance was created or updated you don’t need to do it manually: just set the auto_now and auto_now_add arguments to True like in the following example:

Read more