Hi there 👋

Welcome to my blog. My name is Gaëtan Grond and I write about software development, security, tech and my journey as a entrepreneur and CTO.

Htmx: The Perfect Match for Django Developers

Why HTMX Might Be the Perfect Match for Django Developers Django excels at leveraging its Object-Relational Mapper (ORM), forms, routing and templating system to build robust web applications. However, when it comes to the frontend, things can get a bit clunky and outdated. Unlike Ruby on Rails’ Turbolinks or Laravel’s Livewire, Django lacks a built-in solution for dynamic frontend interactions....

April 16, 2024 · 9 min · Gaëtan Grond

How to Add MFA to Django Allauth in Under 5mn

As of 0.56.0 release of django-allauth (2023-09-07) the support for Multi-Factor Authentication (MFA) has been added. This is great news for the Django developer as it allows to easily add MFA to your applications, but the documentation is still a bit sparse, and it appears that the feature is not widely known yet....

March 13, 2024 · 4 min · Gaëtan Grond

Reflections on the First Two Years as a Tech Founder

Two years ago, on the 15th of January 2022, I decided to launch my startup with my co-founder, a SaaS service built for hospitality professionals to help them with their day-to-day tasks that I was building for the past year. In those two years, I have travelled to 7 different countries, built a website and two mobile apps from scratch and a lot more....

January 16, 2024 · 11 min · Gaëtan Grond

Picking the Right Flutter Packages

Choosing the right packages for your Flutter project is a crucial part of the development process, failing to pick the right packages can lead to a lot of headaches down the road. Most frameworks and languages have a package manager, Python has pip, JavaScript has npm, and Dart has pub....

December 15, 2023 · 3 min · Gaëtan Grond

The 3-2-1 Backup Strategy

As good of a developer you are, you are not immune to data loss, mistake happen either by you or an outside force, so it is important to have a backup strategy in place and this need to be done before you need it. One of the most popular backup strategy is the 3-2-1 backup strategy, but what does it mean and how can you implement it for almost no cost and effort?...

November 13, 2023 · 5 min · Gaëtan Grond

Better Uptime: Ensuring Service and Website Reliability

Achieving Peace of Mind with BetterUptime: Keeping Your Services and Websites Running Smoothly As a C.T.O. and entrepreneur, ensuring the seamless operation of all the services and websites under your management is crucial. More importantly, having a service that constantly monitors and check that everything is working as expected provides invaluable peace of mind....

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

Beware of Fake Vulnerabilities Reports and Fear Mongering Tactics

Few days ago I started receiving concerning email directly to my work email address, the email was from a so-called bug bounty hunter that was claiming to have found a vulnerability in one of our products, the email was very generic and it was not clear what was the vulnerability, the only thing that was clear was that the person was asking for money to disclose the vulnerability....

October 14, 2023 · 3 min · Gaëtan Grond

Darknet Diaries Exploring Unfiltered Internet Stories of Cybersecurity and Hacking

One topic I am fascinated by is cybersecurity, hacking and the work of penetration testers, if you are like me, read on this article is for you. What is Darknet Diaries? Darknet Diaries is a podcast about hackers, breaches, shadow government activity, hacktivism, cybercrime but also about security professionals and researchers....

September 15, 2023 · 5 min · Gaëtan Grond

Keep Your App Updated on Users Device

One of the most frustrating thing I found when I started developing mobile apps is that update are often not installed by users, web app in comparison are always up to date and does not require any action from the user. This is a problem especially when you have a new app and are pushing a lot of bug fixes and new features, fortunately there is a solution....

September 3, 2023 · 4 min · Gaëtan Grond

When to Use Flutter for the Web

One of the biggest advantages of Flutter is that it allows you to build apps for multiple platforms from a single codebase and the web is one of them. A lot of beginners seem to be confused about when to use Flutter for the web and if they can use it to build a website, landing page or blog, although Flutter for the web is production-ready since version 2....

August 27, 2023 · 5 min · Gaëtan Grond

Common Problem and useful tips in Flutter

Introduction After working for more than a year with Flutter, I have encountered a lot of problems and errors that I had to solve either by myself or by searching for solutions online, here is a list of the most common problems and useful tips that I have encountered while working with Flutter....

August 19, 2023 · 10 min · Gaëtan Grond

Understanding IDOR Vulnerability in Django and how to fix it

Django is by design very secure, most of the commons vulnerabilies such as XSS, CSRF, SQL injection, clickjacking are fixed by the simple use of the framework, but there is one that is not fixed by default, and it is the Idor vulnerability. In this article we will see what it is and how to fix it....

August 15, 2023 · 4 min · Gaëtan Grond

How to Get in the Zone With Brain.fm as a Developer

When working as a developer, the best thing that can happen to us is getting in the zone. Getting in the zone means that we are so focused on our work that we forget about everything else, but to achieve such state of mind is not easy and in a world full of distractions it is even harder....

August 10, 2023 · 5 min · Gaëtan Grond

Using Your Django Local Server for Flutter

When working with Flutter and Django you will often need to test your app with a local server before shipping it to production, this seems like a simple task but it can be tricky to make it work with simulators. In this article, I will show you how to use your Django local server for Flutter and how to make it work with simulators in IOS and Android....

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

Remove the form in the Browsable API of Django Rest Framework

When you use Django Rest Framework, one of the great features that make DRF so powerful is the Browsable API. It allows you to navigate through your API and test it directly from your browser with a powerful form, queryset filter and much more. Even better, when enabled, you can use Django Debug Toolbar to optimize your API and see how many queries are generated like you would do with a normal Django view....

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

Create a Circular List Tile Progress Indicator in Flutter

I was working on a checklist screen app for my startup and wanted to make a visual representation of the percentage of tasks done for each checklist with the least amount of code possible and external dependencies. I came up with this solution that uses a Stack widget and a CircularProgressIndicator widget....

August 5, 2023 · 2 min · Gaëtan Grond

Create a Simple Maintenance Feature in Django

When working with Django for my startup I performed in several occasions very complex migrations and maintenance tasks that required the site not to be accessible for a few minutes and sometimes even hours. Even if the end user is not able to access the site, our team of superusers and admins should be able to access the site and perform the maintenance tasks....

August 5, 2023 · 5 min · Gaëtan Grond

Secure Your Django Administration with 6 simple steps

One of the most loved features of Django is the built-in administration interface. It allows for an easy way to manage your data and is highly customizable. However, it is also a very common target for attackers. In this article, we will look at some of the most common attacks against the Django administration interface and how to protect against them....

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

Create an Ubuntu Server for Free and Secure It in DigitalOcean - 2023 Edition Part 1

My go to setup for a new server is using DigitalOcean, with their generous $200 credit for new users you can run a server for free. This guide will show you how to create a new server, secure it and some best practices and tips when using DigitalOcean. Trust me, it’s easier than you think and it’s a lot of fun....

August 2, 2023 · 8 min · Gaëtan Grond

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