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.
List of the most used Django date template filters to format date according to a given format, semantically ordered.
This tip is particularly useful when you want to merge two or more querysets into a single queryset without losing
the capabilities of performing
distinct, etc. operations.
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.
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
auto_now_add arguments to
True like in the following example: