地理 Feed

    API 参考

    class Feed

    In addition to methods provided by the base class, GeoDjango’s class provides the following overrides. Note that these overrides may be done in multiple ways:

    • geometry(obj)

    Set this to return the geometry for each item in the feed. This can be a GEOSGeometry instance, or a tuple that represents a point coordinate or bounding box. For example:

    SyndicationFeed 子类

    The following subclasses are available:

    class

    class W3CGeoFeed

    W3C Geo formatted feeds only support geometries.