class documentation

class Serializer(JSONSerializer):

View In Hierarchy

Convert a queryset to GeoJSON, http://geojson.org/
Method ​_init​_options Undocumented
Method end​_serialization Called when serializing of the queryset ends.
Method get​_dump​_object Undocumented
Method handle​_field Called to handle each individual (non-relational) field on an object.
Method start​_object Called when serializing of an object starts.
Method start​_serialization Called when serializing of the queryset starts.
Instance Variable ​_cts Undocumented
Instance Variable ​_geometry Undocumented
Instance Variable geometry​_field Undocumented
Instance Variable selected​_fields Undocumented
Instance Variable srid Undocumented

Inherited from Serializer:

Method end​_object Called when serializing of an object ends.
Method getvalue Return the fully serialized queryset (or None if the output stream is not seekable).
Class Variable internal​_use​_only Undocumented
Instance Variable ​_current Undocumented
Instance Variable json​_kwargs Undocumented

Inherited from Serializer (via Serializer):

Method ​_value​_from​_field Undocumented
Method handle​_fk​_field Called to handle a ForeignKey field.
Method handle​_m2m​_field Called to handle a ManyToManyField.
Instance Variable objects Undocumented

Inherited from Serializer (via Serializer, Serializer):

Method serialize Serialize a queryset.
Instance Variable first Undocumented
Instance Variable options Undocumented
Instance Variable stream Undocumented
Instance Variable use​_natural​_foreign​_keys Undocumented
Instance Variable use​_natural​_primary​_keys Undocumented
def _init_options(self):
def end_serialization(self):
Called when serializing of the queryset ends.
def get_dump_object(self, obj):
def handle_field(self, obj, field):
Called to handle each individual (non-relational) field on an object.
def start_object(self, obj):
Called when serializing of an object starts.
def start_serialization(self):
Called when serializing of the queryset starts.
_cts: dict =

Undocumented

_geometry =

Undocumented

geometry_field =

Undocumented

selected_fields =
srid =

Undocumented