This website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker. Thank you for your support.
How  to Customize the Validation of Forms in Django

How to Customize the Validation of Forms in Django

July 5 2021 Yacine Rouizi
Django Form

In a previous tutorial we saw how to create, render and validate forms. But we didn't talk too much about the validation process. In this tutorial we will see how to customize the form validation process using ...


Read more ...
Django blog tutorial part 7: Serving Media Files From Amazon S3

Django blog tutorial part 7: Serving Media Files From Amazon S3

June 28 2021 Yacine Rouizi
Blog Django AWS

It's been a long time since the last part in this series, so I am going to explain a bit what we did in this tutorial series and what we are going to do today ... So in this tutorial, we are going to set up Amazon S3 to handle our media files.


Read more ...
Django Pagination With Class Based View

Django Pagination With Class Based View

June 7 2021 Yacine Rouizi
Django Class Based View Pagination

In the previous post we talked about pagination with function based views, In this one we will see how to use pagination with class based views. We will be using the generic view ListView. Pagination with CBV is easier than with FBV, but it can ...


Read more ...
Django Pagination with Function Based View

Django Pagination with Function Based View

May 31 2021 Yacine Rouizi
Django Pagination Function Based View

Pagination is the fact of splitting data across several pages in order to speed up the loading of the page and improve the user experience. In this tutorial, we will see in detail how pagination works in the Django framework.


Read more ...
Django Forms with Django Crispy Forms

Django Forms with Django Crispy Forms

May 27 2021 Yacine Rouizi
Django Django Crispy Forms

In this tutorial we are going to see how to integrate django-crispy-forms on your application and how to use it. django-crispy-forms allows you to manage your Django forms and makes rendering them easy.


Read more ...
Django: Custom User Model Extending AbstractUser

Django: Custom User Model Extending AbstractUser

May 23 2021 Yacine Rouizi
Authentication Django

The authentication system that comes with Django works fine for the most cases, but it is recommended using a custom user model with every project you start as it just requires a bit of configuration, and you'll be able to customize it as you see fit.


Read more ...
How to Use Python Decouple with Django

How to Use Python Decouple with Django

May 18 2021 Yacine Rouizi
Python Decouple Settings

Did you ever ask yourself how to separate your sensitive information, like the secret key, from your project? Well Python Decouple is the right tool for that!


Read more ...
Django blog tutorial part 6: Setting Up an Email Service

Django blog tutorial part 6: Setting Up an Email Service

May 4 2021 Yacine Rouizi
Blog Django Email Service

This is the sixth part of our tutorial series! In this part, we are going to set up an email service provider in our Django application to send emails.


Read more ...