How to Customize The CSRF Failure View in Django

When working with Django and third party libraries, you may encounter a CSRF error on login or any other form submission. This is because Django requires a CSRF token to be sent with every form submission except GET requests or if the form has the csrf_exempt decorator. During my work with Django, I have encountered this error many times, sometimes due to my own mistakes and sometimes due to third party libraries or user behavior. ...

August 1, 2023 · 3 min · Gaëtan Grond

Secure Your Droplet With Cloud Firewall in 5 Minutes

I am a long time user of DigitalOcean and I have been using many of their services for more than 6 years, including their Cloud Firewall. I have been using it for a long time and I have been very happy with it. Most of the time when people create a new droplet they just leave their server open to the world, which is not a good idea, especially if you are running a production server. ...

July 31, 2023 · 5 min · Gaëtan Grond

Flutter Useful Commands

Introduction When developing a Flutter app, you will need to run a series of commands to build, test, and deploy your app. This article will cover some of the most useful Flutter commands that you will need to know and serve as a reference for my future self and anyone else who might find it useful. ...

July 30, 2023 · 2 min · Gaëtan Grond

Dj Checkup a Comprehensive Django Security Analysis Tool

Introduction Django is a powerful and widely-used web development framework for building secure and robust websites and web applications. However, even with the best coding practices, security vulnerabilities can still creep in. DJ Checkup offers a user-friendly security analysis tool that runs a series of checks on your Django site. Getting Started Securing your Django site is now easier than ever with DJ Checkup. Just submit the URL of your Django site in the input field and the tool will handle the rest. ...

July 30, 2023 · 2 min · Gaëtan Grond

Django 4.2.0 - What's New?

Django 4.2 has been released with a host of new features and fixes, including support for Psycopg3, a new way to create users with a ModelForm of the User model, and a new option to merge model changes into the latest migration. Here’s an overview of the most notable changes in Django 4.2: ...

April 3, 2023 · 2 min · Gaëtan Grond