per page, with , order by , clip by
Results of 1 - 10 of about 23 for serializers (0.004 sec.)
Django オブジェクトのシリアライズ 15851
Django オブジェクトのシリアライズ Django のシリアライズフレームワークは、Django のモデルを他のフォーマットに「翻訳」する仕組みを提供します。通常、このような他のフォーマットはテキストベースや Django データをネットワーク越しに送信するために使 ... ドが使用できます。 データのシリアライズ 最も高いレベルでは、次のようにデータをシリアライズできます。 from django.core import serializers data = serializers . serialize ( "json" , SomeModel . objects . all ()) serialize 関数の引数は、データをシリアライズするフ ... Django モデルのインスタンスを yield するどんなイテレータでも渡せますが、ほとんど場合は QuerySet になります。) django.core.serializers. get_serializer ( format ) シリアライザーオブジェクトを次のように直接使用することもできます。 JSONSerializer = serializers ... lize ( SomeModel . objects . all (), stream = out ) 注釈 get_serializer() を未知の フォーマット で呼び出すと、 django.core.serializers.SerializerDoesNotExist 例外が発生します。 フィールドのサブセット フィールドのサブセットのみをシリアライズしたい場合は、次の ...
https://man.mtool.work/django/6.1/topics/serialization.html
GeoJSON シリアライザ 9450
GeoJSON シリアライザ GeoDjango は GeoJSON フォーマット専用のシリアライザを提供します。シリアライズの詳細については Django オブジェクトのシリアライズ を参照してください。 geojson シリアライザーはデシリアライザーに相当するものがないため、デー ... は、代わりにプレーンな json シリアライザ を使用してください。 json シリアライザのオプションに加えて、 geojson シリアライザは serializers.serialize() によって呼び出されたときに、以下の追加オプションを受け付けます: geometry_field : GeoJSON フィーチャの geometry ... てのシリアライザと同様に機能し、 properties キーに存在するフィールドを制限するために使用できます。 実装例: from django.core.serializers import serialize from my_app.models import City serialize ( "geojson" , City . objects . all (), geometry_field = "point" ...
https://man.mtool.work/django/6.1/ref/contrib/gis/serializers.html
Django 4.2.27 リリースノート 8964
Django 4.2.27 リリースノート 2025年12月2日 Django 4.2.27 fixes one security issue with severity "high", one security issue with severity "moderate", and one bug in 4.2.26. CVE-2025-13372: Potential SQL injection in FilteredRelation column a ... e complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently during recursion. It now collects text per e ...
https://man.mtool.work/django/6.1/releases/4.2.27.html
Django 5.1.15 リリースノート 8964
Django 5.1.15 リリースノート 2025年12月2日 Django 5.1.15 fixes one security issue with severity "high", one security issue with severity "moderate", and one bug in 5.1.14. CVE-2025-13372: Potential SQL injection in FilteredRelation column a ... e complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently during recursion. It now collects text per e ...
https://man.mtool.work/django/6.1/releases/5.1.15.html
Django 5.2.9 リリースノート 8713
Django 5.2.9 リリースノート 2025年12月2日 Django 5.2.9 fixes one security issue with severity "high", one security issue with severity "moderate", and several bugs in 5.2.8. CVE-2025-13372: Potential SQL injection in FilteredRelation column ... e complexity when deserializing crafted documents containing many nested invalid elements. The internal helper django.core.serializers.xml_serializer.getInnerText() previously accumulated inner text inefficiently during recursion. It now collects text per e ...
https://man.mtool.work/django/6.1/releases/5.2.9.html
Django 2.2 リリースノート 8361
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... of migration operations that will be performed. NoneType can now be serialized in migrations. You can now register custom serializers for migrations. モデル Added support for PostgreSQL operator classes ( Index.opclasses ). Added support for partial indexe ... You can now deserialize data using natural keys containing forward references by passing handle_forward_references=True to serializers.deserialize() . Additionally, loaddata handles forward references automatically. テスト The new SimpleTestCase.assertURLEq ...
https://man.mtool.work/django/6.1/releases/2.2.html
索引 8110
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... ettings.configure() django.core.cache.utils.make_template_fragment_key() django.core.management.call_command() django.core.serializers.get_serializer() django.views.decorators.cache.cache_page() bulk_create() (django.db.models.query.QuerySet モジュール) bul ... odule django.contrib.gis.geoip2 module django.contrib.gis.geos module django.contrib.gis.measure module django.contrib.gis.serializers.geojson module django.contrib.gis.utils module django.contrib.gis.utils.layermapping module django.contrib.gis.utils.ogrin ... go.core.management module django.core.management.call_command() built-in function django.core.paginator module django.core.serializers.get_serializer() built-in function django.core.serializers.json.DjangoJSONEncoder (組み込みクラス) django.core.signals mod ...
https://man.mtool.work/django/6.1/genindex.html
Pythonモジュール索引 8110
Pythonモジュール索引 a | c | d | f | h | m | s | t | u | v a django.apps c django.conf django.conf.urls django.conf.urls.i18n django.contrib django.contrib.admin Django's admin site. django.contrib.admindocs Django's admin documentation gen ... face to the GEOS library. django.contrib.gis.measure GeoDjango's distance and area measurement objects. django.contrib.gis.serializers.geojson Serialization of GeoDjango models in the GeoJSON format. django.contrib.gis.utils GeoDjango's collection of utilit ...
https://man.mtool.work/django/6.1/py-modindex.html
管理アクション 8110
管理アクション Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当てはまります。しかし、一度に多くのオブジェクトに同じ変更を適用する必要がある場合、この仕事は退 ... ブジェクトを JSON としてダンプするエクスポート関数を書くには、Django の シリアライズ関数 を使います: from django.core import serializers from django.http import HttpResponse def export_as_json ( modeladmin , request , queryset ): response = HttpResponse ( con ... tent_type = "application/json" ) serializers . serialize ( "json" , queryset , stream = response ) return response 通常、上記のようなことはあまり良いアイデアとはみなさ ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
Django 1.11 リリースノート 7993
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... rity header. ConditionalGetMiddleware now adds the ETag header to responses. シリアライズ (シリアル化) The new django.core.serializers.base.Serializer.stream_class attribute allows subclasses to customize the default stream. The encoder used by the JSON ser ... ializer can now be customized by passing a cls keyword argument to the serializers.serialize() function. DjangoJSONEncoder now serializes timedelta objects (used by DurationField ). テンプレート mark_safe( ...
https://man.mtool.work/django/6.1/releases/1.11.html
PREV 1 2 3 NEXT