per page, with , order by , clip by
Results of 1 - 10 of about 12 for serves (0.005 sec.)
一対一 (one-to-one) 関係 — Django 6.1 ドキュメント 12452
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 一対一 (one-to-one) 関係 ¶ 一対一の関係を定義するには、 OneToOneField を使用します。 この例では、 Place は任意で Restaurant になることができます: fr ... taurant ( models . Model ): place = models . OneToOneField ( Place , on_delete = models . CASCADE , primary_key = True , ) serves_hot_dogs = models . BooleanField ( default = False ) serves_pizza = models . BooleanField ( default = False ) def __str__ ... ave () レストランを作成する。オブジェクトの主キーとして "parent" オブジェクトを渡します: >>> r = Restaurant ( place = p1 , serves_hot_dogs = True , serves_pizza = False ) >>> r . save () Restaurant は自身の place にアクセスできます: >>> r . place <Plac ... ます: >>> p3 = Place ( name = "Demon Dogs" , address = "944 W. Fullerton" ) >>> Restaurant . objects . create ( place = p3 , serves_hot_dogs = True , serves_pizza = False ) Traceback (most recent call last): ... ValueError : save() prohibited to prevent ...
https://man.mtool.work/django/6.1/topics/db/examples/one_to_one.html
一対一 (one-to-one) 関係 — Django 6.1 ドキュメント 12328
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 一対一 (one-to-one) 関係 ¶ 一対一の関係を定義するには、 OneToOneField を使用します。 この例では、 Place は任意で Restaurant になることができます: fr ... taurant ( models . Model ): place = models . OneToOneField ( Place , on_delete = models . CASCADE , primary_key = True , ) serves_hot_dogs = models . BooleanField ( default = False ) serves_pizza = models . BooleanField ( default = False ) def __str__ ... ave () レストランを作成する。オブジェクトの主キーとして "parent" オブジェクトを渡します: >>> r = Restaurant ( place = p1 , serves_hot_dogs = True , serves_pizza = False ) >>> r . save () Restaurant は自身の place にアクセスできます: >>> r . place <Plac ... ます: >>> p3 = Place ( name = "Demon Dogs" , address = "944 W. Fullerton" ) >>> Restaurant . objects . create ( place = p3 , serves_hot_dogs = True , serves_pizza = False ) Traceback (most recent call last): ... ValueError : save() prohibited to prevent ...
https://man.mtool.work/django/6.1/topics/db/examples/one_to_one.html
Django 1.4.19 リリースノート — Django 6.1 ドキュメント 10453
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.19 リリースノート ¶ January 27, 2015 Django 1.4.19 fixes a regression in the 1.4.18 security release. バグ修正 ¶ GZipMiddleware now suppo ... onses. As part of the 1.4.18 security release, the django.views.static.serve() function was altered to stream the files it serves. Unfortunately, the GZipMiddleware consumed the stream prematurely and prevented files from being served properly ( #24158 ... tream files リリースノート January fixes regression バグ 修正 supports streaming responses part views static serve altered serves Unfortunately consumed prematurely prevented served クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.4.19.html
Django 1.4.19 リリースノート — Django 6.1 ドキュメント 8808
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.19 リリースノート ¶ January 27, 2015 Django 1.4.19 fixes a regression in the 1.4.18 security release. バグ修正 ¶ GZipMiddleware now suppo ... onses. As part of the 1.4.18 security release, the django.views.static.serve() function was altered to stream the files it serves. Unfortunately, the GZipMiddleware consumed the stream prematurely and prevented files from being served properly ( #24158 ...
https://man.mtool.work/django/6.1/releases/1.4.19.html
Django オブジェクトのシリアライズ — Django 6.1 ドキュメント 7977
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django オブジェクトのシリアライズ ¶ Django のシリアライズフレームワークは、Django のモデルを他のフォーマットに「翻訳」する仕組みを提供します。通常、 ... えてみてください。 class Place ( models . Model ): name = models . CharField ( max_length = 50 ) class Restaurant ( Place ): serves_hot_dogs = models . BooleanField ( default = False ) もし次のように Reastaurant モデルだけをシリアライズした場合、 data = ... serializers . serialize ( "json" , Restaurant . objects . all ()) シリアライズされた出力のフィールドには、 serves_hot_dogs 属性だけが含まれます。ベースクラスの name 属性は無視されます。 Restaurant インスタンスを完全にシリアライズするため ...
https://man.mtool.work/django/6.1/topics/serialization.html
Django オブジェクトのシリアライズ — Django 6.1 ドキュメント 7977
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django オブジェクトのシリアライズ ¶ Django のシリアライズフレームワークは、Django のモデルを他のフォーマットに「翻訳」する仕組みを提供します。通常、 ... えてみてください。 class Place ( models . Model ): name = models . CharField ( max_length = 50 ) class Restaurant ( Place ): serves_hot_dogs = models . BooleanField ( default = False ) もし次のように Reastaurant モデルだけをシリアライズした場合、 data = ... serializers . serialize ( "json" , Restaurant . objects . all ()) シリアライズされた出力のフィールドには、 serves_hot_dogs 属性だけが含まれます。ベースクラスの name 属性は無視されます。 Restaurant インスタンスを完全にシリアライズするため ...
https://man.mtool.work/django/6.1/topics/serialization.html
モデル — Django 6.1 ドキュメント 7747
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... name = models . CharField ( max_length = 50 ) address = models . CharField ( max_length = 80 ) class Restaurant ( Place ): serves_hot_dogs = models . BooleanField ( default = False ) serves_pizza = models . BooleanField ( default = False ) データはデー ...
https://man.mtool.work/django/6.1/topics/db/models.html
モデル — Django 6.1 ドキュメント 7747
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... name = models . CharField ( max_length = 50 ) address = models . CharField ( max_length = 80 ) class Restaurant ( Place ): serves_hot_dogs = models . BooleanField ( default = False ) serves_pizza = models . BooleanField ( default = False ) データはデー ...
https://man.mtool.work/django/6.1/topics/db/models.html
Django 1.4 リリースノート — Django 6.1 ドキュメント 7623
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4 リリースノート ¶ March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatibl ... path for ADMIN_MEDIA_PREFIX (e.g. /media/ ) simply make sure STATIC_URL and STATIC_ROOT are configured and your web server serves those files correctly. The development server continues to serve the admin files just like before. Read the static files h ... d for potential thread-sharing (by passing the check_same_thread=False attribute to pysqlite ). DatabaseWrapper however preserves the previous behavior by disabling thread-sharing by default, so this does not affect any existing code that purely relies ...
https://man.mtool.work/django/6.1/releases/1.4.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 7623
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... ews urlpatterns = patterns ( "" , url ( "^$" , views . myview ), url ( "^other/$" , views . otherview ), ) Thus patterns() serves little purpose and is a burden when teaching new users (answering the newbie's question "why do I need this empty string a ...
https://man.mtool.work/django/6.1/releases/1.8.html
PREV 1 2 NEXT