Managing Technical Debt in (Django) Projects @PyTexas
Managing Technical Debt in (Django) Projects  @PyTexas
Uploaded October 2015 | Updated December 2026, 3 hours ago
How did it come to this? How did we end up with an outdated Django project that no one wants to touch? If starting new projects is fun and maintaining them is a chore, then getting dropped into an existing project is hell. For all our sanity, we should get better at recognizing when we’re creating too much debt, and develop the skills for paying it off. We talk about testing, code quality, and coverage. But why? Because we want to spend less time dealing with technical debt and more time creating new technical debt (aka new features). Many times, we think we made the obvious smart decision only to regret it later; you discovered you’re damned if you do, damned if you don’t. Should you write a monolithic app or tangle of microservices? They’re all terrible worlds we’ve made for ourselves. Having maintained, inherited, and created several large Django projects, I hope to share my experience so you don’t have to go through the same pains I did.

We’ll start off with a few minutes covering basics like testing, coverage and how they relate to the long term health of a project. Now, everyone knowing the same terminology, we move on to learning to recognize the many early warning signs and smells of excessive technical debt. The most important thing, and most of the material is about setting up the organizational structure for dealing with technical debt: code review, continuous integration, rotating developers (no silos), tradeoffs, making sure you have processes for onboarding new developers, and strategies for documentation. It’s changes like these that end up keeping things moving, not writing “better” code.

Finally, we’ll wrap up with a few minutes talking about Django specific tips: don’t customize the admin, tricks for naming things, signals, organizing tests, and more. Much of this comes from things I wish I knew at my time at The Texas Tribune, where we needed Django projects launched the next day, all while maintaining a 6 year old Django project, and my current time at TabbedOut where I was dropped into maintaining several long lived software projects.
Managing Technical Debt in (Django) ProjectsRamalingam Saravanan - Slidoc: A Pythonic Learning Management System (PyTexas 2017)Why Installing Python Packages Is Still a Security Risk (Christopher Ariza) - PyTexas 2026Hello PyBot - Python Chat Bots for SlackEmbeddings of PythonIts Saturday Morning—Sleep in, or, Dont Use This KeynoteTrends in Deep LearningHoloViz: Visualization and Interactive Dashboards in Python (Sophia Yang) - PyTexas 2023Securing Django-Powered WebsitesDemocratizing Data: Python-Powered Dashboards for Transparent Governance in Austin (Tanvi Sharma)xfail and skip: What to do with tests you know will fail (Paul Ganssle)Alec Deason - Small Potatoes: Microsimulation With Vivarium (PyTexas 2017)
PyTexas |

Managing Technical Debt in (Django) Projects

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER