Martin Mahner, Principal Architect at Lincoln Loop

Martin Mahner

Principal Architect

Martin is an active member and contributor to the Django community where he is mostly known as bartTC. It's likely that you have stumbled over one of his apps or snippets. Besides coding, Martin also has a passion for design and user interaction.

He is a board member of the German Django Association whose goal is to spread the usage of Django in german-speaking countries.

Martin's background includes over ten years of web development and design including several years addicted to Django.

Martin has no mustache.

Recent Posts by Martin

Thumbnail image for Locking uv Script Dependencies

Locking uv Script Dependencies

PEP 723 inline script dependencies

let you declare deps directly in a script comment block and run with

uv run

. No virtualenv, no requirements file.

# /// script

# requires-python = ">=3.12"

# dependencies = [

# "requests>=2.31",

# …

Thumbnail image for Gunicorn Keepalive and AWS ELB 502 Errors

Gunicorn Keepalive and AWS ELB 502 Errors

I ran into an issue on AWS recently. Intermittent 502 errors with Gunicorn behind an ELB. Page rendering worked fine, but HTMX calls would randomly fail. It would work for a couple of minutes, then break, then work again. The …