per page, with , order by , clip by
Results of 1 - 10 of about 54 for days (0.006 sec.)
条件式 — Django 6.1 ドキュメント 11985
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registered_on = date . today () - timedelta ( days = 36 ), ... ) >>> Client . objects . create ( ... name = "James Smith" , ... account_type = Client . GOLD , ... registered ... _on = date . today () - timedelta ( days = 5 ), ... ) >>> Client . objects . create ( ... name = "Jack Black" , ... account_type = Client . PLATINUM , ... register ... ed_on = date . today () - timedelta ( days = 10 * 365 ), ... ) >>> # Get the discount for each Client based on the account type >>> Client . objects . annotate ( ... ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
条件式 — Django 6.1 ドキュメント 11985
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registered_on = date . today () - timedelta ( days = 36 ), ... ) >>> Client . objects . create ( ... name = "James Smith" , ... account_type = Client . GOLD , ... registered ... _on = date . today () - timedelta ( days = 5 ), ... ) >>> Client . objects . create ( ... name = "Jack Black" , ... account_type = Client . PLATINUM , ... register ... ed_on = date . today () - timedelta ( days = 10 * 365 ), ... ) >>> # Get the discount for each Client based on the account type >>> Client . objects . annotate ( ... ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
はじめての Django アプリ作成、その 5 — Django 6.1 ドキュメント 11614
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 5 ¶ このチュートリアルは チュートリアル 4 の続きです。Web 投票アプリケーションが完成したので、今度は自動テストを作 ... anage.py shell >>> import datetime >>> from django.utils import timezone >>> # create a Question instance with pub_date 30 days in the future >>> future_question = Question ( pub_date = timezone . now () + datetime . timedelta ( days = 30 )) >>> # wa ... ently() returns False for questions whose pub_date is in the future. """ time = timezone . now () + datetime . timedelta ( days = 30 ) future_question = Question ( pub_date = time ) self . assertIs ( future_question . was_published_recently (), False ... しょう。 polls/models.py ¶ def was_published_recently ( self ): now = timezone . now () return now - datetime . timedelta ( days = 1 ) <= self . pub_date <= now そして、もう一度テストを実行します。 Creating test database for alias 'default'... System ...
https://man.mtool.work/django/6.1/intro/tutorial05.html
はじめての Django アプリ作成、その 5 — Django 6.1 ドキュメント 11614
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 5 ¶ このチュートリアルは チュートリアル 4 の続きです。Web 投票アプリケーションが完成したので、今度は自動テストを作 ... anage.py shell >>> import datetime >>> from django.utils import timezone >>> # create a Question instance with pub_date 30 days in the future >>> future_question = Question ( pub_date = timezone . now () + datetime . timedelta ( days = 30 )) >>> # wa ... ently() returns False for questions whose pub_date is in the future. """ time = timezone . now () + datetime . timedelta ( days = 30 ) future_question = Question ( pub_date = time ) self . assertIs ( future_question . was_published_recently (), False ... しょう。 polls/models.py ¶ def was_published_recently ( self ): now = timezone . now () return now - datetime . timedelta ( days = 1 ) <= self . pub_date <= now そして、もう一度テストを実行します。 Creating test database for alias 'default'... System ...
https://man.mtool.work/django/6.1/intro/tutorial05.html
How to release Django — Django 6.1 ドキュメント 9582
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... uff starts about a week before the release; most of it can be done any time leading up to the actual release. 10 (or more) days before a security release ¶ Reserve one CVE ID per security issue as follows. (Or, if you lack CNA credentials, email cna@ ... ted at * Confirmed at (usually date CVE reserved) * CWE Problem Type * CAPEC Impact Type * CVSS (4.0) Score & Vector A few days before any release ¶ As the release approaches, watch Trac to make sure no release blockers are left for the upcoming rele ... check the date of the most recent commit with wording similar to Updated translations from Transifex and use a date a few days prior. This command takes some time to run. When done, carefully inspect the output for potential errors and/or warnings. ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
How to release Django — Django 6.1 ドキュメント 9582
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up How to release Django ¶ このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでの ... uff starts about a week before the release; most of it can be done any time leading up to the actual release. 10 (or more) days before a security release ¶ Reserve one CVE ID per security issue as follows. (Or, if you lack CNA credentials, email cna@ ... ted at * Confirmed at (usually date CVE reserved) * CWE Problem Type * CAPEC Impact Type * CVSS (4.0) Score & Vector A few days before any release ¶ As the release approaches, watch Trac to make sure no release blockers are left for the upcoming rele ... check the date of the most recent commit with wording similar to Updated translations from Transifex and use a date a few days prior. This command takes some time to run. When done, carefully inspect the output for potential errors and/or warnings. ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Django 1.2.3 リリースノート — Django 6.1 ドキュメント 9582
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2.3 リリースノート ¶ Django 1.2.3 fixed a couple of release problems in the 1.2.2 release and was released two days after 1.2.2. This relea ... Django 1.2.2 リリースノート 関連キーワード release problems patch caused issues forms リリースノート fixed couple released days after corrects following applied security issue covered responses using tokens also most notably user クイック検索 Last up ...
https://man.mtool.work/django/6.1/releases/1.2.3.html
Django 1.2.3 リリースノート — Django 6.1 ドキュメント 9330
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2.3 リリースノート ¶ Django 1.2.3 fixed a couple of release problems in the 1.2.2 release and was released two days after 1.2.2. This relea ... 2 リリースノート 関連キーワード Django release problems patch caused issues forms リリースノート fixed couple released two days after corrects following applied security issue covered 関連するページ Django 1.3.7 リリースノート Django 1.4.5 リリースノ ...
https://man.mtool.work/django/6.1/releases/1.2.3.html
Coding style — Django 6.1 ドキュメント 8692
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... er . name } " f "hello { self . user . name } " # Disallowed f "hello { get_user () } " f "you are { user . age * 365.25 } days old" # Allowed with local variable assignment user = get_user () f "hello { user } " user_days_old = user . age * 365.25 f ... "you are { user_days_old } days old" f-strings should not be used for any string that may require translation, including error and logging mess ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Coding style — Django 6.1 ドキュメント 8558
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... er . name } " f "hello { self . user . name } " # Disallowed f "hello { get_user () } " f "you are { user . age * 365.25 } days old" # Allowed with local variable assignment user = get_user () f "hello { user } " user_days_old = user . age * 365.25 f ... "you are { user_days_old } days old" f-strings should not be used for any string that may require translation, including error and logging mess ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
PREV 1 2 3 4 5 6 NEXT