per page, with , order by , clip by
Results of 1 - 8 of about 8 for foobar (0.004 sec.)
テンプレートのバックエンドをカスタマイズする — Django 6.1 ドキュメント 12200
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テンプレートのバックエンドをカスタマイズする ¶ カスタムのバックエンド ¶ ここでは、他のテンプレートシステムを使用するために、カスタムテンプレートバッ ... ne を継承したクラスです。このクラスは get_template() と、オプションで from_string() を実装する必要があります。以下は架空の foobar テンプレートライブラリの例です: from django.template import TemplateDoesNotExist , TemplateSyntaxError from django.templat ... e.backends.base import BaseEngine from django.template.backends.utils import csrf_input_lazy , csrf_token_lazy import foobar class FooBar ( BaseEngine ): # Name of the subdirectory containing the templates for this engine # inside an installed app ... lication. app_dirname = "foobar" def __init__ ( self , params ): params = params . copy () options = params . pop ( "OPTIONS" ) . copy () super () . __ini ...
https://man.mtool.work/django/6.1/howto/custom-template-backend.html
テンプレートのバックエンドをカスタマイズする — Django 6.1 ドキュメント 12109
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テンプレートのバックエンドをカスタマイズする ¶ カスタムのバックエンド ¶ ここでは、他のテンプレートシステムを使用するために、カスタムテンプレートバッ ... ne を継承したクラスです。このクラスは get_template() と、オプションで from_string() を実装する必要があります。以下は架空の foobar テンプレートライブラリの例です: from django.template import TemplateDoesNotExist , TemplateSyntaxError from django.templat ... e.backends.base import BaseEngine from django.template.backends.utils import csrf_input_lazy , csrf_token_lazy import foobar class FooBar ( BaseEngine ): # Name of the subdirectory containing the templates for this engine # inside an installed app ... lication. app_dirname = "foobar" def __init__ ( self , params ): params = params . copy () options = params . pop ( "OPTIONS" ) . copy () super () . __ini ...
https://man.mtool.work/django/6.1/howto/custom-template-backend.html
Working with Git and GitHub — Django 6.1 ドキュメント 8079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Working with Git and GitHub ¶ This section explains how the community can contribute code to Django via pull requests. If you're interested in how m ... first. Write a commit message along the lines of: Made changes asked in review by <reviewer>. - Fixed whitespace errors in foobar. - Reworded the docstring of bar(). Finally, push your work back to your GitHub repository. Since you didn't touch the pub ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
モデル — Django 6.1 ドキュメント 8079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... のインスタンスは MyPerson を通じてもアクセス可能であり、その逆も同様です。 >>> p = Person . objects . create ( first_name = "foobar" ) >>> MyPerson . objects . get ( first_name = "foobar" ) <MyPerson: foobar> プロキシモデルを使用して、モデルに異なるデフォ ...
https://man.mtool.work/django/6.1/topics/db/models.html
Working with Git and GitHub — Django 6.1 ドキュメント 8079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Working with Git and GitHub ¶ This section explains how the community can contribute code to Django via pull requests. If you're interested in how m ... first. Write a commit message along the lines of: Made changes asked in review by <reviewer>. - Fixed whitespace errors in foobar. - Reworded the docstring of bar(). Finally, push your work back to your GitHub repository. Since you didn't touch the pub ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
モデル — Django 6.1 ドキュメント 8079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... のインスタンスは MyPerson を通じてもアクセス可能であり、その逆も同様です。 >>> p = Person . objects . create ( first_name = "foobar" ) >>> MyPerson . objects . get ( first_name = "foobar" ) <MyPerson: foobar> プロキシモデルを使用して、モデルに異なるデフォ ...
https://man.mtool.work/django/6.1/topics/db/models.html
マイグレーション — Django 6.1 ドキュメント 7808
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... endencies = [ ( "app1" , "0001_initial" ), # added dependency to enable using models from app2 in move_m1 ( "app2" , "0004_foobar" ), ] operations = [ migrations . RunPython ( move_m1 ), ] より高度なマイグレーション ¶ より高度なマイグレーション操作に興 ...
https://man.mtool.work/django/6.1/topics/migrations.html
マイグレーション — Django 6.1 ドキュメント 7808
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... endencies = [ ( "app1" , "0001_initial" ), # added dependency to enable using models from app2 in move_m1 ( "app2" , "0004_foobar" ), ] operations = [ migrations . RunPython ( move_m1 ), ] より高度なマイグレーション ¶ より高度なマイグレーション操作に興 ...
https://man.mtool.work/django/6.1/topics/migrations.html
PREV 1 NEXT