per page, with , order by , clip by
Results of 1 - 10 of about 20 for sender (0.005 sec.)
シグナル — Django 6.1 ドキュメント 12031
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信 ... it may be garbage collected. To prevent this, pass weak=False when you call the signal's connect() . 注釈 モデルシグナルの sender モデルは、レシーバを接続する際にその完全なアプリケーションラベルを指定することで、遅延参照ができます。例えば、 polls アプリ ... びに、このシグナルはモデルの __init__() メソッドの開始時に送信されます。 このシグナルとともに送信される引数は以下の通りです: sender たった今インスタンスが作成されたモデルクラス。 args __init__() に渡される位置引数のリストです。 kwargs __init__() に渡され ... ( question_text = "What's new?" , pub_date = timezone . now ()) pre_init ハンドラーに送信される引数は次の通りです: 引数 値 sender Question (クラスそのもの) args [] (位置引数が __init__() に渡されなかったため、空のリスト) kwargs {'question_text': "W ...
https://man.mtool.work/django/6.1/ref/signals.html
シグナル — Django 6.1 ドキュメント 12031
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信 ... it may be garbage collected. To prevent this, pass weak=False when you call the signal's connect() . 注釈 モデルシグナルの sender モデルは、レシーバを接続する際にその完全なアプリケーションラベルを指定することで、遅延参照ができます。例えば、 polls アプリ ... びに、このシグナルはモデルの __init__() メソッドの開始時に送信されます。 このシグナルとともに送信される引数は以下の通りです: sender たった今インスタンスが作成されたモデルクラス。 args __init__() に渡される位置引数のリストです。 kwargs __init__() に渡され ... ( question_text = "What's new?" , pub_date = timezone . now ()) pre_init ハンドラーに送信される引数は次の通りです: 引数 値 sender Question (クラスそのもの) args [] (位置引数が __init__() に渡されなかったため、空のリスト) kwargs {'question_text': "W ...
https://man.mtool.work/django/6.1/ref/signals.html
シグナル — Django 6.1 ドキュメント 11555
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるの ... を受けることができます: from django.apps import AppConfig from django.core.signals import setting_changed def my_receiver ( sender , ** kwargs ): print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . con ... 関数が呼び出されます。シグナルのすべてのレシーバ関数は、登録された順番に1つずつ呼び出されます。 Signal. connect ( receiver , sender = None , weak = True , dispatch_uid = None ) [ソース] ¶ パラメータ : receiver -- このシグナルに接続されるコールバック関数で ... す。詳しくは レシーバ関数 を参照してください。 sender -- シグナルを受信する送信者を指定します。詳しくは 特定の送信者によって送られたシグナルに接続する を参照してください。 weak ...
https://man.mtool.work/django/6.1/topics/signals.html
シグナル — Django 6.1 ドキュメント 11504
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるの ... を受けることができます: from django.apps import AppConfig from django.core.signals import setting_changed def my_receiver ( sender , ** kwargs ): print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . con ... 関数が呼び出されます。シグナルのすべてのレシーバ関数は、登録された順番に1つずつ呼び出されます。 Signal. connect ( receiver , sender = None , weak = True , dispatch_uid = None ) [ソース] ¶ パラメータ : receiver -- このシグナルに接続されるコールバック関数で ... す。詳しくは レシーバ関数 を参照してください。 sender -- シグナルを受信する送信者を指定します。詳しくは 特定の送信者によって送られたシグナルに接続する を参照してください。 weak ...
https://man.mtool.work/django/6.1/topics/signals.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 8836
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... he Signal object instead of through module methods in django.dispatch.dispatcher . Remove any use of the Anonymous and Any sender options; they no longer exist. You can still receive signals sent by any sender by using sender=None Make any custom signa ... tead of anonymous objects. Here's quick summary of the code changes you'll need to make: Old (0.96) New (1.0) def callback(sender) def callback(sender, **kwargs) sig = object() sig = django.dispatch.Signal() dispatcher.connect(callback, sig) sig.connec ... t(callback) dispatcher.send(sig, sender) sig.send(sender) dispatcher.connect(callback, sig, sender=Any) sig.connect(callback, sender=None) コメント ¶ If you were ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 8836
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... he Signal object instead of through module methods in django.dispatch.dispatcher . Remove any use of the Anonymous and Any sender options; they no longer exist. You can still receive signals sent by any sender by using sender=None Make any custom signa ... tead of anonymous objects. Here's quick summary of the code changes you'll need to make: Old (0.96) New (1.0) def callback(sender) def callback(sender, **kwargs) sig = object() sig = django.dispatch.Signal() dispatcher.connect(callback, sig) sig.connec ... t(callback) dispatcher.send(sig, sender) sig.send(sender) dispatcher.connect(callback, sig, sender=Any) sig.connect(callback, sender=None) コメント ¶ If you were ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
django.contrib.auth — Django 6.1 ドキュメント 7698
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.contrib.auth ¶ このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの ... します。 user_logged_in ¶ ユーザがログインに成功したときに送信されます。 このシグナルとともに送信される引数は以下の通りです: sender たった今ログインしたユーザのクラスです。 request 現在の HttpRequest インスタンスです。 user たった今ログインしたユーザのイ ... ンスタンスです。 user_logged_out ¶ logout メソッドが呼ばれたときに送信されます。 sender 上記の通り: たった今ログアウトしたユーザのクラス、もしくはユーザが認証されなかった場合は None となります。 request 現在の ... ンスタンスか、ユーザが認証されなかった場合は None です。 user_login_failed ¶ ユーザがログインに失敗したときに送信されます。 sender 認証のために使われるモジュールの名前です。 credentials authenticate() か独自の認証バックエンドに渡されたユーザ資格情報を含 ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
django.contrib.auth — Django 6.1 ドキュメント 7698
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.contrib.auth ¶ このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの ... します。 user_logged_in ¶ ユーザがログインに成功したときに送信されます。 このシグナルとともに送信される引数は以下の通りです: sender たった今ログインしたユーザのクラスです。 request 現在の HttpRequest インスタンスです。 user たった今ログインしたユーザのイ ... ンスタンスです。 user_logged_out ¶ logout メソッドが呼ばれたときに送信されます。 sender 上記の通り: たった今ログアウトしたユーザのクラス、もしくはユーザが認証されなかった場合は None となります。 request 現在の ... ンスタンスか、ユーザが認証されなかった場合は None です。 user_login_failed ¶ ユーザがログインに失敗したときに送信されます。 sender 認証のために使われるモジュールの名前です。 credentials authenticate() か独自の認証バックエンドに渡されたユーザ資格情報を含 ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
メールを送信する — Django 6.1 ドキュメント 7596
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... d: subject : メールの件名の行。 body : 本文のテキスト。プレーンテキストのメッセージでなければなりません。 from_email : The sender's address. Both fred@example.com and "Fred" <fred@example.com> forms are supported (see Formatting email addresses ). If o ... f your site can send to unverified addresses. Features like newsletter sign-up, contact forms that cc or auto-reply to the sender, and "share this page" can be attractive targets. Formatting email addresses ¶ Email addresses allow a "friendly" display ... 止する ¶ Email header injection is a security exploit in which an attacker manipulates email headers to change the intended sender or recipients, subject, or potentially even the entire visible message body. One type of header injection exploits address ...
https://man.mtool.work/django/6.1/topics/email.html
メールを送信する — Django 6.1 ドキュメント 7596
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... d: subject : メールの件名の行。 body : 本文のテキスト。プレーンテキストのメッセージでなければなりません。 from_email : The sender's address. Both fred@example.com and "Fred" <fred@example.com> forms are supported (see Formatting email addresses ). If o ... f your site can send to unverified addresses. Features like newsletter sign-up, contact forms that cc or auto-reply to the sender, and "share this page" can be attractive targets. Formatting email addresses ¶ Email addresses allow a "friendly" display ... 止する ¶ Email header injection is a security exploit in which an attacker manipulates email headers to change the intended sender or recipients, subject, or potentially even the entire visible message body. One type of header injection exploits address ...
https://man.mtool.work/django/6.1/topics/email.html
PREV 1 2 NEXT