class Serializer(base.Serializer):
Known subclasses: django.core.serializers.json.Serializer
, django.core.serializers.jsonl.Serializer
, django.core.serializers.pyyaml.Serializer
Method | _value_from_field |
Undocumented |
Method | end_object |
Called when serializing of an object ends. |
Method | end_serialization |
Called when serializing of the queryset ends. |
Method | get_dump_object |
Undocumented |
Method | getvalue |
Return the fully serialized queryset (or None if the output stream is not seekable). |
Method | handle_field |
Called to handle each individual (non-relational) field on an object. |
Method | handle_fk_field |
Called to handle a ForeignKey field. |
Method | handle_m2m_field |
Called to handle a ManyToManyField. |
Method | start_object |
Called when serializing of an object starts. |
Method | start_serialization |
Called when serializing of the queryset starts. |
Class Variable | internal_use_only |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | objects |
Undocumented |
Inherited from Serializer
:
Method | serialize |
Serialize a queryset. |
Instance Variable | first |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | selected_fields |
Undocumented |
Instance Variable | stream |
Undocumented |
Instance Variable | use_natural_foreign_keys |
Undocumented |
Instance Variable | use_natural_primary_keys |
Undocumented |
django.contrib.gis.serializers.geojson.Serializer
Undocumented
django.core.serializers.json.Serializer
, django.core.serializers.jsonl.Serializer
, django.core.serializers.pyyaml.Serializer
django.contrib.gis.serializers.geojson.Serializer
, django.core.serializers.pyyaml.Serializer
django.contrib.gis.serializers.geojson.Serializer