Chris Cauley

Chris is a seasoned full-stack developer with over a decade of experience in crafting scalable and efficient web applications. His expertise lies in leveraging Django, React, and Vue to deliver rapid prototypes and complex solutions, with a focus on multi-tenancy and sophisticated user role management.
16 Posts

How a Tiny Django Droplet Turned 502 Bad Gateway into a Bullet Proof Stack

I run a small Django site on a DigitalOcean droplet. One morning every page started throwing 502 Bad Gateway. A quick peek at the...

How I Fix a Broken Project-Owner Relationship in Django

I was building a project management app in Django where users could own projects and collaborate with others. Simple enough, right? But when I...

How to Use The Deadlock Simulation Issue in Django Using Multiprocessing

As a Django developer, I recently tried to simulate a database deadlock for testing purposes. My goal was simple: create two processes that lock...

How to Fix Redirecting Correctly HTTP to HTTPS Using Django

If you’ve ever needed to exclude certain URLs from an HTTP-to-HTTPS redirect in Nginx especially when those URLs are dynamically generated by a backend...

How to Filter Combined Querysets in Django Rest Framework

If you’ve ever tried to combine querysets from multiple models in Django Rest Framework (DRF) and then apply filters, you’ve likely encountered cryptic errors...