Django Chat cover image

Being a Productive Developer - Nick Janetakis

Django Chat

00:00

Deprecation Flags in Django

In Django's settings file, there is a templates dictionary or maybe it's an array of dictionaries. And inside the dictionary you've got this loaders property. There I just dropped in a one line if condition, that said, if debug use the default loaders else use the cache loaders. So there was no new environment variables that had to even be created. But for example, like with forms, there's changes coming and they're going to be made permanent.

Play episode from 45:14
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app