per page, with , order by , clip by
Results of 1 - 10 of about 39 for callable (0.002 sec.)
Django 1.0.1 リリースノート 12592
Django 1.0.1 リリースノート Django 1.0.1 へようこそ! This is the first "bugfix" release in the Django 1.0 series, improving the stability and performance of the Django 1.0 codebase. As such, Django 1.0.1 contains no new features (and, pursu ... Multiple fixes for unique and unique_together model constraints in automatically-generated forms. Fixed support for custom callable upload_to declarations when handling file uploads through automatically-generated forms. Fixed support for sorting an admi ... n change list based on a callable attributes in list_display . A fix to the application of autoescaping for literal strings passed to the join template filt ...
https://man.mtool.work/django/6.1/releases/1.0.1.html
Django 1.11.7 リリースノート 10869
Django 1.11.7 リリースノート November 1, 2017 Django 1.11.7 fixes several bugs in 1.11.6. バグ修正 Prevented cache.get_or_set() from caching None if the default argument is a callable that returns None ( #28601 ). Fixed the Basque DATE_FORM ...
https://man.mtool.work/django/6.1/releases/1.11.7.html
Django 1.11.13 リリースノート 10196
Django 1.11.13 リリースノート 2018年5月1日 Django 1.11.13 では、1.11.12 にあったいくつかのバグを修正しました。 バグ修正 Fixed a regression in Django 1.11.8 where altering a field with a unique constraint may drop and rebuild more foreign ke ... ys than necessary ( #29193 ). Fixed crashes in django.contrib.admindocs when a view is a callable object, such as django.contrib.syndication.views.Feed ( #29296 ). Fixed a regression in Django 1.11.12 where QuerySet.valu ...
https://man.mtool.work/django/6.1/releases/1.11.13.html
Django 2.0.5 リリースノート 10196
Django 2.0.5 リリースノート 2018年5月1日 Django 2.0.5 では、2.0.4 にあったいくつかのバグを修正しました。 バグ修正 Corrected the import paths that inspectdb generates for django.contrib.postgres fields ( #29307 ). Fixed a regression in Djang ... y drop and rebuild more foreign keys than necessary ( #29193 ). Fixed crashes in django.contrib.admindocs when a view is a callable object, such as django.contrib.syndication.views.Feed ( #29296 ). Fixed a regression in Django 2.0.4 where QuerySet.values ...
https://man.mtool.work/django/6.1/releases/2.0.5.html
Django 3.1.2 リリースノート 9851
Django 3.1.2 リリースノート October 1, 2020 Django 3.1.2 では、3.1.1 におけるいくつかのバグを修正しました。 バグ修正 Fixed a bug in Django 3.1 where FileField instances with a callable storage were not correctly deconstructed ( #31941 ). Fi ...
https://man.mtool.work/django/6.1/releases/3.1.2.html
データベースの計測 9851
データベースの計測 コードから発行されたクエリを理解して制御するために、Django は、データベースクエリの実行周辺にラッパー関数をインストールするためのフックを提供しています。たとえば、ラッパーは、クエリのカウント、クエリの実行時間の測定、クエ ... 能オブジェクトを引数の1つとして受け取ります。ラッパーはデータベースクエリ(ラップされている可能性があります)を呼び出すために callable を呼び出します。しかし、これらはユーザーコードによって作成され、インストールされるため、ミドルウェアのように個別のファクト ... コンテキストマネージャを返します。ラッパーはスレッドローカルのコネクションオブジェクトにインストールされます。 wrapper is a callable taking five arguments. It is called for every query execution in the scope of the context manager, with arguments execute ...
https://man.mtool.work/django/6.1/topics/db/instrumentation.html
ファイルの管理 9851
ファイルの管理 この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十分一般的なので、他の目的にも使えます。"静的ファイル" (JS や CSS など) を扱いたい場合は、 静的 ... のストレージシステム も同じように動作します。 FileField の storage 引数として渡すことができます。 呼び出し可能オブジェクト (callable) を使う 呼び出し可能オブジェクトは FileField や ImageField の storage パラメータとして使用できます。これにより、実行時に使 ... 用するストレージを変更し、例えば環境ごとに異なるストレージを選択できます。 Your callable will be evaluated when your model classes are loaded, and must return an instance of Storage . 例: from django.conf import ... ges [ "mystorage" ] class MyModel ( models . Model ): upload = models . FileField ( storage = select_storage ) Because the callable is evaluated when your model classes are loaded, if you need to override the STORAGES setting in tests, you should use a L ...
https://man.mtool.work/django/6.1/topics/files.html
Python プログラマーのための Django テンプレート言語 9162
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... てはいけません: I will now delete this valuable data. {{ data.delete }} To prevent this, set an alters_data attribute on the callable variable. The template system won't call a variable if it has alters_data=True set, and will instead replace the variable ... the template system to leave a variable uncalled no matter what. To do so, set a do_not_call_in_templates attribute on the callable with the value True . The template system then will act as if your variable is not callable (allowing you to access attrib ... utes of the callable, for example). 無効な変数の扱い 通常、変数が存在しない場合、テンプレートシステムはエンジンの string_if_invalid 設定オプショ ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Django 1.9 リリースノート 9162
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... ces の実装には次のような相違点があります。 raise_exception 属性は True または False のいずれかのみであり、カスタムの例外や callable はサポートしない。 handle_no_permission() メソッドは request 引数を取らない。現在の request は self.request でアクセス可能 ... から使用できるようになりました。後方互換性を確保するため、古い名前もそのまま使用できます。 ファイルストレージ upload_to が callable の場合に Storage.get_valid_name() が呼ばれるようになりました。 Python 3 を使用している場合に File が seekable() メソッドを ... _object() . django.template.loaders.eggs.Loader is deprecated as distributing applications as eggs is not recommended. The callable_obj keyword argument to SimpleTestCase.assertRaisesMessage() is deprecated. Pass the callable as a positional argument ins ...
https://man.mtool.work/django/6.1/releases/1.9.html
Coding style 8473
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... d). So, if there is a module containing some code as follows: from django.conf import settings from django.urls import get_callable default_foo_view = get_callable ( settings . FOO_VIEW ) ...then importing this module will cause the settings object to be ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
PREV 1 2 3 4 NEXT