browniebroke.com

All posts

Making Celery work nicely with Django transactions

June 25, 20194 min read

I’ve been using Celery in my Django projects for about 5 years now. Along the way, I made some mistakes, learned from them and picked up a…

Static vs. Media files in Django

June 18, 20194 min read

Django is a great Web framework for building Web applications in Python. It comes with a lot of batteries included that you’ll most likely…

Add cache-control header to an entire S3 Bucket using Boto3

May 01, 20191 min read

I recently came across a task which seem pretty generic, but for which I couldn’t find an existing solution online: update the header for…

How I made 1000's of websites more secure with one line of code

April 24, 20194 min read

Or at least a lot of them… Learning about a new security header Last week, I attended the London Django meetup. Among a very interesting…

Gatsby is awesome

January 06, 20193 min read

Before I get down to the title of this post, I need to rewind to a few years ago to tell a story. A bit of history My mother is the owner of…

New year, new laptop

January 14, 20182 min read

A couple of days ago, I accidentally dropped my old laptop on the floor. It was an old Macbook Pro from mid 2010, which I’ve upgraded a…

Hello World!

November 29, 20171 min read

Setting up my blog using the Jekyll static site generator and Github pages. This is using the remote theme feature and is I’m trying to get…