How does django admin save the current user to model when adding articles?

how does django admin save the current user to model when adding articles?
I want to use django to build a blog system with multiple users.
I added a foreign key User, to Article but I don"t know how to save the current user to the database when saving the article.

Mar.06,2021
Menu