Django

db_default

Django 5.0 field option applying a default at the database level rather than in Python.

Why interviewers ask about it

It covers inserts that never touch the ORM, and lets you use database functions such as Now(). A Python-side default cannot do either.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.