... arField: username> # A field from another model that has a relation with the current model >>> User . _meta . get_field ( "logentry" ) <ManyToOneRel: admin.logentry> # A non existent field >>> User . _meta . get_field ( "does_not_exist" ) Traceback (most ... with hidden=True . >>> from django.contrib.auth.models import User >>> User . _meta . get_fields () (<ManyToOneRel: admin.logentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTim ... nclude_hidden = True ) (<ManyToOneRel: auth.user_groups>, <ManyToOneRel: auth.user_user_permissions>, <ManyToOneRel: admin.logentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTim ... ... arField: username> # A field from another model that has a relation with the current model >>> User . _meta . get_field ( "logentry" ) <ManyToOneRel: admin.logentry> # A non existent field >>> User . _meta . get_field ( "does_not_exist" ) Traceback (most ... with hidden=True . >>> from django.contrib.auth.models import User >>> User . _meta . get_fields () (<ManyToOneRel: admin.logentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTim ... nclude_hidden = True ) (<ManyToOneRel: auth.user_groups>, <ManyToOneRel: auth.user_user_permissions>, <ManyToOneRel: admin.logentry>, <django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: password>, <django.db.models.fields.DateTim ... ... els.UserManager のメソッド) Action (django.contrib.admin のクラス) action() (django.contrib.admin モジュール) action_flag (LogEntry の属性) action_time (LogEntry の属性) ActionLocation (django.contrib.admin のクラス) actions (ModelAdmin の属性) actions_o ... _template (ModelAdmin の属性) CHANGE_LIST (ActionLocation の属性) change_list_template (ModelAdmin の属性) change_message (LogEntry の属性) change_view() (ModelAdmin のメソッド) changed_data (Form の属性) changed_objects (models.BaseModelFormSet の属性) ... nt_params (HttpRequest の属性) content_type (django.views.generic.base.TemplateResponseMixin の属性) (HttpRequest の属性) (LogEntry の属性) (models.Permission の属性) (UploadedFile の属性) content_type_extra (UploadedFile の属性) ContentFile (django.core ... ... els.UserManager のメソッド) Action (django.contrib.admin のクラス) action() (django.contrib.admin モジュール) action_flag (LogEntry の属性) action_time (LogEntry の属性) ActionLocation (django.contrib.admin のクラス) actions (ModelAdmin の属性) actions_o ... _template (ModelAdmin の属性) CHANGE_LIST (ActionLocation の属性) change_list_template (ModelAdmin の属性) change_message (LogEntry の属性) change_view() (ModelAdmin のメソッド) changed_data (Form の属性) changed_objects (models.BaseModelFormSet の属性) ... nt_params (HttpRequest の属性) content_type (django.views.generic.base.TemplateResponseMixin の属性) (HttpRequest の属性) (LogEntry の属性) (models.Permission の属性) (UploadedFile の属性) content_type_extra (UploadedFile の属性) ContentFile (django.core ... ... #22426 ). Restored the ability to reverse() views created using functools.partial() ( #22486 ). Fixed the object_id of the LogEntry that's created after a user password change in the admin ( #22515 ). 目次 Django 1.6.4 リリースノート バグ修正 前のトピック ... ... #22426 ). Restored the ability to reverse() views created using functools.partial() ( #22486 ). Fixed the object_id of the LogEntry that's created after a user password change in the admin ( #22515 ). 目次 Django 1.6.4 リリースノート バグ修正 前のトピック ... ... gistered を発生させます。 AdminSite. get_log_entries ( request ) [ソース] ¶ サイトインデックスページに表示される、関連する LogEntry インスタンスのクエリセットを返します。このメソッドは、他の条件でログエントリをフィルタするためにオーバーライドできます。 U ... Lがあると、デフォルトの admin ログインページのパスワードボックスの下に "forgot your password? "というリンクが表示されます。 LogEntry オブジェクト ¶ class models. LogEntry ¶ LogEntry クラスは管理画面を通して行われたオブジェクトの追加、変更、削除を記録します ... 。 LogEntry の属性 ¶ LogEntry. action_time ¶ アクションの日時。 LogEntry. user ¶ アクションを実行したユーザー( AUTH_USER_MODEL インス ... ... gistered を発生させます。 AdminSite. get_log_entries ( request ) [ソース] ¶ サイトインデックスページに表示される、関連する LogEntry インスタンスのクエリセットを返します。このメソッドは、他の条件でログエントリをフィルタするためにオーバーライドできます。 U ... Lがあると、デフォルトの admin ログインページのパスワードボックスの下に "forgot your password? "というリンクが表示されます。 LogEntry オブジェクト ¶ class models. LogEntry ¶ LogEntry クラスは管理画面を通して行われたオブジェクトの追加、変更、削除を記録します ... 。 LogEntry の属性 ¶ LogEntry. action_time ¶ アクションの日時。 LogEntry. user ¶ アクションを実行したユーザー( AUTH_USER_MODEL インス ... ... el back references used to_field ( #36197 ). Fixed a regression in Django 5.1 where the pre_save and post_save signals for LogEntry were not sent when deleting a single object in the admin ( #36217 ). 目次 Django 5.1.7 リリースノート CVE-2025-26699: djan ... ... del's changelist will now be rendered (without the add button). This makes it easier to add custom tools in this case. The LogEntry model now stores change messages in a JSON structure so that the message can be dynamically translated using the current a ... ctive language. A new LogEntry.get_change_message() method is now the preferred way of retrieving the change message. Selected objects for fields in Mode ... CommandError instead of showing a warning when the specified fixture file is not found. Instead of directly accessing the LogEntry.change_message attribute, it's now better to call the LogEntry.get_change_message() method which will provide the message ... 2026年10月08日