The Real Python Podcast cover image

Discussing Mojo & Improving Python Object-Oriented Programming

The Real Python Podcast

00:00

How to Have Python Show Warnings When Running Django

Python supports a command line flag, which is dash capital W, and that controls the warning level. You can also set Python dev mode as an environment variable that's all caps one word. So these are just different ways of controlling what Python complains about. And there you go, you've got your deprecation warnings coming out when we're running Django.

Play episode from 45:26
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