per page, with , order by , clip by
Results of 1 - 10 of about 184 for call (0.006 sec.)
システムチェックフレームワーク — Django 6.1 ドキュメント 9224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » システムチェックフレームワーク ¶ システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し ... None , ** kwargs ): super () . __init__ ( ** kwargs ) self . min = min self . max = max def check ( self , ** kwargs ): # Call the superclass errors = super () . check ( ** kwargs ) # Do some custom checks and add messages to `errors`: errors . exte ... み込み時には特定のチェックを登録する必要があるため、システムチェックフレームワーク内での統合をテストするのが便利です。これは call_command() 関数を使うことで実現できます。 例えば、このテストは SITE_ID の設定が整数でなければならないことを示しています。こ ... れは組み込みの サイト フレームワークからのチェック のものです: from django.core.management import call_command from django.core.management.base import SystemCheckError from django.test import SimpleTestCase , modify_settings ...
https://man.mtool.work/django/6.1/topics/checks.html
Django's Tasks framework — Django 6.1 ドキュメント 8882
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... ers . using ( priority = 10 ) . priority 10 Enqueueing Tasks ¶ To add the Task to the queue store, so it will be executed, call the enqueue() method on it. If the Task takes arguments, these can be passed as-is. For example: result = email_users . en ... serialized to JSON, they must be JSON-serializable: >>> process_data . enqueue ( datetime . now ()) Traceback (most recent call last): ... TypeError : Object of type datetime is not JSON serializable Arguments must also be able to round-trip through ... ctionary . enqueue (( 1 , 2 , 3 )) >>> result . status FAILED >>> result . errors [ 0 ] . traceback Traceback (most recent call last): ... TypeError : unhashable type: 'list' The double_dictionary Task fails because after the JSON round-trip the tupl ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 8882
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... ers . using ( priority = 10 ) . priority 10 Enqueueing Tasks ¶ To add the Task to the queue store, so it will be executed, call the enqueue() method on it. If the Task takes arguments, these can be passed as-is. For example: result = email_users . en ... serialized to JSON, they must be JSON-serializable: >>> process_data . enqueue ( datetime . now ()) Traceback (most recent call last): ... TypeError : Object of type datetime is not JSON serializable Arguments must also be able to round-trip through ... ctionary . enqueue (( 1 , 2 , 3 )) >>> result . status FAILED >>> result . errors [ 0 ] . traceback Traceback (most recent call last): ... TypeError : unhashable type: 'list' The double_dictionary Task fails because after the JSON round-trip the tupl ...
https://man.mtool.work/django/6.1/topics/tasks.html
システムチェックフレームワーク — Django 6.1 ドキュメント 8364
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » システムチェックフレームワーク ¶ システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し ... None , ** kwargs ): super () . __init__ ( ** kwargs ) self . min = min self . max = max def check ( self , ** kwargs ): # Call the superclass errors = super () . check ( ** kwargs ) # Do some custom checks and add messages to `errors`: errors . exte ... み込み時には特定のチェックを登録する必要があるため、システムチェックフレームワーク内での統合をテストするのが便利です。これは call_command() 関数を使うことで実現できます。 例えば、このテストは SITE_ID の設定が整数でなければならないことを示しています。こ ... れは組み込みの サイト フレームワークからのチェック のものです: from django.core.management import call_command from django.core.management.base import SystemCheckError from django.test import SimpleTestCase , modify_settings ...
https://man.mtool.work/django/6.1/topics/checks.html
ページ分割 (Pagination) — Django 6.1 ドキュメント 8364
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ページ分割 (Pagination) ¶ Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前 ... >> page2 . has_previous () True >>> page2 . has_other_pages () True >>> page2 . next_page_number () Traceback (most recent call last): ... EmptyPage : That page contains no results >>> page2 . previous_page_number () 1 >>> page2 . start_index () # Th ... e 3 >>> page2 . end_index () # The 1-based index of the last item on this page 4 >>> p . page ( 0 ) Traceback (most recent call last): ... EmptyPage : That page number is less than 1 >>> p . page ( 3 ) Traceback (most recent call last): ... EmptyPage ... mport count next previous last ListView Contact contact pages range index span href QuerySet objects Traceback most recent call EmptyPage クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/topics/pagination.html
django-admin と manage.py — Django 6.1 ドキュメント 8188
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... ¶ django-admin shell ¶ Python のインタラクティブ・インタープリタを開始します。 All models from installed apps are automatically imported into the shell environment. Models from apps listed earlier in INSTALLED_APPS take precedence. The following com ... , models from django.conf import settings from django.utils import timezone For a --verbosity of 2 or higher, the automatically imported objects will be listed. To disable automatic importing entirely, use the --no-imports flag. See the guide on cus ... uffer オプション と同じように、テストに合格した出力 ( stdout と stderr ) を破棄します。 --no-faulthandler ¶ Django automatically calls faulthandler.enable() when starting the tests, which allows it to print a traceback if the interpreter crashes. Pas ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 8188
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 以前からアップグレー ... e PostGIS 2 CREATE EXTENSION postgis and the SpatiaLite SELECT InitSpatialMetaData initialization commands are now automatically run by migrate . The GDAL interface now supports retrieving properties of raster (image) data file . Compatibility shims ... compatibility but should not be used any longer. django.contrib.sessions ¶ Session cookie is now deleted after flush() is called. django.contrib.sitemaps ¶ The new Sitemap.i18n attribute allows you to generate a sitemap based on the LANGUAGES settin ... nger creates explicit indexes for foreign keys when using the InnoDB storage engine, as MySQL already creates them automatically. The Oracle backend no longer defines the connection_persists_old_columns feature as True . Instead, Oracle will now incl ...
https://man.mtool.work/django/6.1/releases/1.8.html
django-admin と manage.py — Django 6.1 ドキュメント 8188
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... ¶ django-admin shell ¶ Python のインタラクティブ・インタープリタを開始します。 All models from installed apps are automatically imported into the shell environment. Models from apps listed earlier in INSTALLED_APPS take precedence. The following com ... , models from django.conf import settings from django.utils import timezone For a --verbosity of 2 or higher, the automatically imported objects will be listed. To disable automatic importing entirely, use the --no-imports flag. See the guide on cus ... uffer オプション と同じように、テストに合格した出力 ( stdout と stderr ) を破棄します。 --no-faulthandler ¶ Django automatically calls faulthandler.enable() when starting the tests, which allows it to print a traceback if the interpreter crashes. Pas ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 8188
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 以前からアップグレー ... e PostGIS 2 CREATE EXTENSION postgis and the SpatiaLite SELECT InitSpatialMetaData initialization commands are now automatically run by migrate . The GDAL interface now supports retrieving properties of raster (image) data file . Compatibility shims ... compatibility but should not be used any longer. django.contrib.sessions ¶ Session cookie is now deleted after flush() is called. django.contrib.sitemaps ¶ The new Sitemap.i18n attribute allows you to generate a sitemap based on the LANGUAGES settin ... nger creates explicit indexes for foreign keys when using the InnoDB storage engine, as MySQL already creates them automatically. The Oracle backend no longer defines the connection_persists_old_columns feature as True . Instead, Oracle will now incl ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 7846
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... l.save() now accepts an update_fields argument, letting you specify which fields are written back to the database when you call save() . This can help in high-concurrency operations, and can improve performance. Better support for streaming responses ... upport, and Django 1.5 supports that alpha release. Python 3 support ¶ Django 1.5 introduces support for Python 3 - specifically, Python 3.2 and above. This comes in the form of a single codebase; you don't need to install a different version of Djan ... hen trying to avoid overwriting concurrent changes. Deferred instances (those loaded by .only() or .defer() ) will automatically save just the loaded fields. If any field is set manually after load, that field will also get updated on save. See the M ...
https://man.mtool.work/django/6.1/releases/1.5.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT