Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは簡単に理解できると思いましたが、例を見つけることができませんでした。
ユーザーが Django Admin にログインするたびに関数を実行したいだけです。
信号がありdjango.contrib.auth.signals.user_logged_inます。管理者ログイン用の関数のみを呼び出したい場合は、管理者の urlconf に対して要求を確認してください。
django.contrib.auth.signals.user_logged_in