per page, with , order by , clip by
Results of 1 - 10 of about 10 for NotImplementedError (0.004 sec.)
ファイルストレージ API 14105
ファイルストレージ API デフォルトのストレージクラスの取得 Djangoでは、デフォルトストレージクラスにアクセスするための便利な方法を提供しています。 storages STORAGES で定義されたエイリアスを使用してストレージインスタンスを取得できる、辞書ライク ... ame ) [ソース] name で参照されるファイルを削除します。対象のストレージシステムで削除がサポートされていない場合は、代わりに NotImplementedError を発生させます。 exists ( name ) [ソース] 指定された名前のファイルがストレージシステム内ですでに存在する場合、 True を返し ... [ソース] ファイルの最終アクセス時刻を datetime で返します。最終アクセス時刻を返すことができないストレージシステムの場合は NotImplementedError を発生させます。 USE_TZ が True の場合、意識的(aware)な datetime を返します。それ以外の場合、ローカルタイムゾーンのナイー ... ed_time ( name ) [ソース] ファイルの作成時間を datetime で返します。作成時間を返すことができないストレージシステムの場合、 NotImplementedError を発生させます。 USE_TZ が True の場合、意識的(aware)な datetime を返します。それ以外の場合、ローカルタイムゾーンのナイー ...
https://man.mtool.work/django/6.1/ref/files/storage.html
Tasks 9600
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... ult is not the same type as the current Task, TaskResultMismatch is raised. If the backend does not support get_result() , NotImplementedError is raised. aget_result ( * args , ** kwargs ) The async variant of get_result . Task context class TaskContext [ソース] Co ... by its id. If the result does not exist, TaskResultDoesNotExist is raised. If the backend does not support get_result() , NotImplementedError is raised. aget_result ( result_id ) The async variant of BaseTaskBackend.get_result() . validate_task ( task ) [ソース] V ...
https://man.mtool.work/django/6.1/ref/tasks.html
カスタムのストレージクラスを書く 8473
カスタムのストレージクラスを書く たとえばリモートシステム上にファイルを保存する場合、カスタムストレージクラスを定義することで、カスタムファイルストレージを作成することが可能です。使用するには以下の手順に従ってください。 カスタムストレージシ ... コレータを使うことができます (それが FileSystemStorage で Django が使うものです)。 デフォルトにおいて、以下に示すメソッドは NotImplementedError を発生させます。したがって一般的にオーバーライドする必要があります。 Storage.delete() Storage.exists() Storage.listdir() S ...
https://man.mtool.work/django/6.1/howto/custom-file-storage.html
Django 2.0 リリースノート 8473
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... ctBaseUser are no longer required to implement get_short_name() and get_full_name() . (The base implementations that raise NotImplementedError are removed.) django.contrib.admin uses these methods if implemented but doesn't require them. Third-party apps that use t ... o-generated migration for fields that use it. Performing queries that require automatic spatial transformations now raises NotImplementedError on MySQL instead of silently using non-transformed geometries. django.core.exceptions.DjangoRuntimeWarning is removed. It ...
https://man.mtool.work/django/6.1/releases/2.0.html
Django 2.1 リリースノート 8295
Django 2.1 リリースノート 2018年8月1日 Django 2.1 へようこそ! このリリースノートでは、 バージョン 2.1 の新機能 と、Django 2.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能を ... のある変更について説明します。 To adhere to PEP 249 , exceptions where a database doesn't support a feature are changed from NotImplementedError to django.db.NotSupportedError . Renamed the allow_sliced_subqueries database feature flag to allow_sliced_subqueries_with ...
https://man.mtool.work/django/6.1/releases/2.1.html
Django's Tasks framework 8295
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 often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... nds, such as the built-in ImmediateBackend do not support get_result() . Calling get_result() on these backends will raise NotImplementedError . Updating results A TaskResult contains the status of a Task's execution at the point it was retrieved. If the Task finis ...
https://man.mtool.work/django/6.1/topics/tasks.html
地理情報データベース関数 8098
地理情報データベース関数 このページで説明する関数を使えば、Django のアノテーションや集約、フィルタで使う地理情報データベース関数にアクセスできます。 例: >>> from django.contrib.gis.db.models.functions import Length >>> Track . objects . ann ... して、使用したい関数をサポートしているかどうかを確認してください。サポートしていないバックエンドで地理情報関数を呼び出すと、 NotImplementedError 例外が発生します。 寸法 Area class Area ( expression , ** extra ) [ソース] Availability : MariaDB, MySQL , Oracle, PostGIS ...
https://man.mtool.work/django/6.1/ref/contrib/gis/functions.html
"sites" フレームワーク 8098
"sites" フレームワーク Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるためのフックで、 Django で動くサイトのドメイン名や "冗長な" 名前を保持する場所です。 1 つの Djan ... looking at the request's domain. It has save() and delete() methods to match the interface of Site , but the methods raise NotImplementedError . get_current_site ショートカット 最後に、繰り返しのフォールバックコードを避けるために、フレームワークは django.contrib.si ...
https://man.mtool.work/django/6.1/ref/contrib/sites.html
django.contrib.auth 7919
django.contrib.auth このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの使い方や、認証と認可をカスタマイズする方法の詳細は、 認証トピックガイド を参照してください。 U ... が常に False です。 groups と user_permissions が常に空です。 set_password() 、 check_password() 、 save() 、 delete() が NotImplementedError を投げます。 実際には AnonymousUser オブジェクトを使う必要はないでしょうが、次のセクションで説明するように、Web リクエスト ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
クエリ式 (Query Expression) 7919
クエリ式 (Query Expression) クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値または計算を記述します。式が真偽値を出力する場合、フィルタで直接使用できます。クエリの記述に使用 ... nt = Count ( "actors" ), ... ) . filter ( Q ( category_rank__lte = 3 ) | Q ( title__contains = "Batman" )) >>> list ( qs ) NotImplementedError: Heterogeneous disjunctive predicates against window functions are not implemented when performing conditional aggregation ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
PREV 1 NEXT