Skip to content

Instantly share code, notes, and snippets.

View thibaudcolas's full-sized avatar
😀

Thibaud Colas thibaudcolas

😀
View GitHub Profile
@thibaudcolas
thibaudcolas / help-us-sustain-django.md
Created August 1, 2025 03:48
Help us sustain Django

👋 DSF Members, we need your help! We’re more than halfway into 2025 and only at about 32% of our fundraising for the year. The situation isn’t dire by any means, we have some reserves, but it’s not particularly rosy either. We want to take the financial sustainability of Django more seriously, we have exciting plans for the future (new hires, more new hires, then feature grants), and we could use extra help to make things happen.

How you can help

If your time is limited, the single best thing you can do today is to get someone you know to contribute to our fundraising campaign for Django’s 20th birthday. I’m sure there are lots of people in your networks that have used Django for years, or a decade, or two! That have built their careers in this space. And yet might not even be aware that this is all a non-profit operation run by volunteers. Get them to donate $20+ to Django if they can afford it! It only takes about 45 se

@thibaudcolas
thibaudcolas / README.md
Last active July 25, 2025 15:23
Package ecosystem statistics - Django
@thibaudcolas
thibaudcolas / vpat-2.4-to-2.5.md
Created May 9, 2025 12:59
OpenACR VPAT 2.4 WCAG 2.1 to VPAT 2.5 WCAG 2.2

Here is what I had noted on the work needed:

For what it’s worth – I tried updating my report based on 2.4-edition-wcag-2.1-508-eu-en.yaml to the new 2.5 edition WCAG 2.2 here, it worked great 🌈. All I had to do was manually add the data for the additional SCs in my YAML report, then use the CLI with this PR to output Markdown and HTML. Thank you!

Diff between the 2.4 and 2.5 reports:

diff --git a/audits/acr/acr_wagtail_5.2_2.4-edition-wcag-2.1-508-en.yaml b/audits/acr/acr_wagtail_5.2_2.5-edition-wcag-2.2-508-en.yaml
index 7d634f6..d35843f 100644
--- a/audits/acr/acr_wagtail_5.2_2.4-edition-wcag-2.1-508-en.yaml
@thibaudcolas
thibaudcolas / dor-and-dod.md
Last active March 18, 2025 20:46
Agile project definitions

Agile project definitions

Definition of Ready (DoR)

  • Have we written acceptance criteria written in Given, When, Then Format (Gherkin)?
  • Have UX designs been added and signed off as required?
  • Is the technical design agreed?
  • Has the story been estimated by the development team?
  • Is the ticket [user story] broken down into its smallest deliverable component that still delivers value to the user?
  • Are any Dependencies (internal or external) identified that would block the user story from being completed in the sprint?
@thibaudcolas
thibaudcolas / carbon-ratings-swdm-v4-co2.js
Created January 23, 2025 13:07
Digital Carbon Rating Scale of SWD v4, re-calculated with CO2.js
import { co2 } from "@tgwf/co2";
const swdmV4 = new co2({ model: "swd", version: 4 });
// Figures as of 2025-01-23
// https://sustainablewebdesign.org/digital-carbon-ratings/
const ratings = {
"A+": 272.51,
A: 531.15,
B: 975.85,
@thibaudcolas
thibaudcolas / president-role.md
Created December 20, 2024 22:57
DSF President role

DSF President role

This is a copy of the DSF’s internal documentation on the DSF President officer role


🚧 Super rough notes, this needs filling out 🚧

Formally the President leads the Board, though that responsibility is vague.

@thibaudcolas
thibaudcolas / multi-tenancy.md
Created November 28, 2024 09:58
Multi-tenancy in Wagtail - by Andy Babic

Wagtail feature spec: Multi-tenancy

  • By Andy Babic, Senior Developer and Wagtail Consultant, Torchbox
  • 23 Aug 2022

What do we mean by Multi-tenancy?

It’s a way to split up large multi-site Wagtail instances in a way that makes it easier for editors to find and manage the things that are relevant to them.

@thibaudcolas
thibaudcolas / dsf-elections-turnout.md
Last active December 18, 2024 20:07
Django Software Foundation elections voter turnout

Over recent elections the data is readily available for

Elections Total voters Votes over first 7 days Total votes % 7 days % total
6.x Steering Council 400 215 215 20% 54%
2025 DSF Board 374 76 204 20% 55%
2024 DSF Board 287 93 132 32% 46%
5.x Steering Council 268 74 74 28% 28%
2023 DSF Board 244 58 91 24% 37%
@thibaudcolas
thibaudcolas / models.py
Last active October 30, 2024 13:40
Wagtail snippet to have fields that are only required as part of publishing, rather than when saving drafts.
# Example code to demonstrate how this works in practice
@publish_requires("date_published", block_schedule=True)
class BlogPage(Page):
# […]
date_published = models.DateField("Date article published", blank=True, null=True)
@thibaudcolas
thibaudcolas / proposed-alt-flow.md
Last active July 16, 2024 06:39
Alt text generation flow chart in Wagtail

Alt text generation flow chart in Wagtail

As-is alt flow

Top-down

flowchart TD
    Start[🖼️ Image in the CMS] --> B{Vanilla image model\n alt text\n implementation?}
    B -- Yes --> G