per page, with , order by , clip by
Results of 1 - 10 of about 38 for natural (0.007 sec.)
Django オブジェクトのシリアライズ — Django 6.1 ドキュメント 14198
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django オブジェクトのシリアライズ ¶ Django のシリアライズフレームワークは、Django のモデルを他のフォーマットに「翻訳」する仕組みを提供します。通常、 ... り自然な (ナチュラルな) 参照が助けになることがあります。 このような理由のために Django が提供しているのが、 ナチュラルキー (natural key) です。ナチュラルキーは、オブジェクトのインスタンスをプライマリーキーの値を使用せずに一意に識別するために使える値のタプ ... はもっとずっと人間によってわかりやすくなります。ナチュラルキーの処理を追加するには、Person のデフォルトの Manager を get_by_natural_key() を使用して定義します。Person の場合、よいナチュラルキーは、first name と last name のペアになるでしょう。 from djang ... o.db import models class PersonManager ( models . Manager ): def get_by_natural_key ( self , first_name , last_name ): return self . get ( first_name = first_name , last_name = last_name ) class Person ...
https://man.mtool.work/django/6.1/topics/serialization.html
Django オブジェクトのシリアライズ — Django 6.1 ドキュメント 14120
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django オブジェクトのシリアライズ ¶ Django のシリアライズフレームワークは、Django のモデルを他のフォーマットに「翻訳」する仕組みを提供します。通常、 ... り自然な (ナチュラルな) 参照が助けになることがあります。 このような理由のために Django が提供しているのが、 ナチュラルキー (natural key) です。ナチュラルキーは、オブジェクトのインスタンスをプライマリーキーの値を使用せずに一意に識別するために使える値のタプ ... はもっとずっと人間によってわかりやすくなります。ナチュラルキーの処理を追加するには、Person のデフォルトの Manager を get_by_natural_key() を使用して定義します。Person の場合、よいナチュラルキーは、first name と last name のペアになるでしょう。 from djang ... o.db import models class PersonManager ( models . Manager ): def get_by_natural_key ( self , first_name , last_name ): return self . get ( first_name = first_name , last_name = last_name ) class Person ...
https://man.mtool.work/django/6.1/topics/serialization.html
Django 0.95 リリースノート — Django 6.1 ドキュメント 9245
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 0.95 リリースノート ¶ Django 0.95 へようこそ! このリリースでは、2006年1月にリリースされた 0.91 から Django の開発が大幅に進んでいます。このリ ... nsequence of decisions made in the early days of Django, prior to its open-source release. It's now possible to write more natural, Pythonic code that works as expected, and there's less "black magic" happening behind the scenes. Aside from that, anothe ... evelopers' quality of life. The new features and changes introduced in 0.95 include: Django now uses a more consistent and natural filtering interface for retrieving objects from the database. User-defined models, functions and constants now appear in t ... e framework required that a database be configured, regardless of whether you actually used it. It's now more explicit and natural to override save() and delete() methods on models, rather than needing to hook into the pre_save() and post_save() method ...
https://man.mtool.work/django/6.1/releases/0.95.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8883
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... ンド ¶ The new --no-color option for django-admin disables the colorization of management command output. The new dumpdata --natural-foreign and dumpdata --natural-primary options, and the new use_natural_foreign_keys and use_natural_primary_keys argument ... s for serializers.serialize() , allow the use of natural primary keys when serializing. It is no longer necessary to provide the cache table name or the --database option for the ... method has been renamed to get_backend_timeout() . Despite being a private API, it will go through the normal deprecation. Natural key serialization options ¶ The --natural and -n options for dumpdata have been deprecated. Use dumpdata --natural-foreign ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8883
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... ンド ¶ The new --no-color option for django-admin disables the colorization of management command output. The new dumpdata --natural-foreign and dumpdata --natural-primary options, and the new use_natural_foreign_keys and use_natural_primary_keys argument ... s for serializers.serialize() , allow the use of natural primary keys when serializing. It is no longer necessary to provide the cache table name or the --database option for the ... method has been renamed to get_backend_timeout() . Despite being a private API, it will go through the normal deprecation. Natural key serialization options ¶ The --natural and -n options for dumpdata have been deprecated. Use dumpdata --natural-foreign ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 0.95 リリースノート — Django 6.1 ドキュメント 8522
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 0.95 リリースノート ¶ Django 0.95 へようこそ! このリリースでは、2006年1月にリリースされた 0.91 から Django の開発が大幅に進んでいます。このリ ... nsequence of decisions made in the early days of Django, prior to its open-source release. It's now possible to write more natural, Pythonic code that works as expected, and there's less "black magic" happening behind the scenes. Aside from that, anothe ... evelopers' quality of life. The new features and changes introduced in 0.95 include: Django now uses a more consistent and natural filtering interface for retrieving objects from the database. User-defined models, functions and constants now appear in t ... e framework required that a database be configured, regardless of whether you actually used it. It's now more explicit and natural to override save() and delete() methods on models, rather than needing to hook into the pre_save() and post_save() method ...
https://man.mtool.work/django/6.1/releases/0.95.html
django-admin と manage.py — Django 6.1 ドキュメント 7720
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... uth --exclude=contenttypes --database DATABASE ¶ データをダンプするデータベースを指定します。デフォルトは default です。 --natural-foreign ¶ natural_key() モデルメソッドを使用して、任意の外部キーと多対多リレーションを、メソッドを定義している種類のオブジ ... ラグを使う必要があります。このオプションと次のオプションの詳細については、 ナチュラルキー のドキュメントを参照しください。 --natural-primary ¶ このオブジェクトのシリアライズされたデータの主キーを省略します。これが省略できるのは、デシリアライズ時に計算でき ... 、以下の構文のいずれかを使って渡すことができます: # Similar to the command line management . call_command ( "dumpdata" , "--natural-foreign" ) # Named argument similar to the command line minus the initial dashes and # with internal dashes replaced by un ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 6.1 release notes — Django 6.1 ドキュメント 7720
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... ALLBACK to True to continue accepting legacy signed cookies. シリアライズ (シリアル化) ¶ Subclasses of models defining the natural_key() method can now opt out of natural key serialization by overriding the method to return an empty tuple: () . This ens ... ures primary keys are serialized when using dumpdata --natural-primary . The XML deserializer now raises SuspiciousOperation when it encounters unexpected nested tags. Tasks ¶ The task( ...
https://man.mtool.work/django/6.1/releases/6.1.html
django-admin と manage.py — Django 6.1 ドキュメント 7720
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... uth --exclude=contenttypes --database DATABASE ¶ データをダンプするデータベースを指定します。デフォルトは default です。 --natural-foreign ¶ natural_key() モデルメソッドを使用して、任意の外部キーと多対多リレーションを、メソッドを定義している種類のオブジ ... ラグを使う必要があります。このオプションと次のオプションの詳細については、 ナチュラルキー のドキュメントを参照しください。 --natural-primary ¶ このオブジェクトのシリアライズされたデータの主キーを省略します。これが省略できるのは、デシリアライズ時に計算でき ... 、以下の構文のいずれかを使って渡すことができます: # Similar to the command line management . call_command ( "dumpdata" , "--natural-foreign" ) # Named argument similar to the command line minus the initial dashes and # with internal dashes replaced by un ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 6.1 release notes — Django 6.1 ドキュメント 7720
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... ALLBACK to True to continue accepting legacy signed cookies. シリアライズ (シリアル化) ¶ Subclasses of models defining the natural_key() method can now opt out of natural key serialization by overriding the method to return an empty tuple: () . This ens ... ures primary keys are serialized when using dumpdata --natural-primary . The XML deserializer now raises SuspiciousOperation when it encounters unexpected nested tags. Tasks ¶ The task( ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 2 3 4 NEXT