Skip to content
Logo Theodo

Articles for Django/Flask

Solve N+1 performance issues forever on Django with Pytest

Clément Marcilhacy3 min read

django-n-plus-one

Have you ever improved the performance of your Django apps by tackling N+1 performance issues, but after some time developing new features on your project, the performance problems came back? Solving N+1 queries problem in Django is often quite straightforward using…

Continue reading →

Spice up Your Website with a DocuSign Electronic Signature Embedded Tool

Alexandre Lac8 min read

Embed DocuSign electronic signature tool

Introduction Integrating electronic signing in a website is not always so easy. If you ever get tired of spamming users who already have an overflowing mailbox with DocuSign emails, then you have landed on the right article. Let me show you…

Continue reading →

How to easily handle admin authentication and permissions in Django with Okta

Marine du Mesnil8 min read

Handle permissions for sharing sensitive information

In my project, we are developing an admin interface to create and share documents to users who can see them and download them from the website we are creating. However, the administration platform is dedicated to multiple teams from various countries.

Continue reading →

Get started with Django and Jupyter Notebooks on VSCode in minutes

Arohan Subramonia12 min read

Doors with stickers on them in Columbus Circle, New York

This is a guide primarily for developers familiar with Django, looking to add a data analytics or data science element to their web development project. Don't have much time and comfortable with Jupyter? Click here to see the initializer file you…

Continue reading →

Flask Debugging in VS Code with Hot-Reload 🔥

Adrien Cacciaguerra8 min read

Flask Debugging in VS Code with Hot-Reload 🔥

I love using a debugger when I code. It allows me to quickly understand why something does not work as intended, but also to get a faster and deeper understanding of code I did not write. Since I am so fond of…

Continue reading →

Stop losing data when writing Django migrations !

François Farge7 min read

Django

Saying that database structure is important is sort of an obvious statement. That is of course if you decided to use a structured database technology. But in that case, you want your database structure to be the closest to your…

Continue reading →

A Guide to Syncing Django and Stripe with Webhooks

Arohan Subramonia7 min read

This guide is for developers who have basic familiarity with Django, and Stripe Subscriptions with Elements (not Stripe Checkout). If you're unfamiliar with these, do check the links. Subscriptions with ElementsSubscription objects flowchart as shown on the Stripe website Stripe has a…

Continue reading →

How To Set Up Your Django Models For Stripe Subscriptions

Arohan Subramonia8 min read

Laptop with Code

Stripe is a third party API that specialises in providing a quick and easy to scale payments infrastructure for the internet. As of December 2020, Stripe lets you implement payment processing on your platform in the form of one time…

Continue reading →

Scraping with Scrapy and Django Integration

Henriette Brand7 min read

If you already know what scraping is, you can directly jump to how I did it What is scraping? Scraping is the process of data mining. Also known as web data extraction, web harvesting, spying.. It is software that simulates human interaction…

Continue reading →