Loading django/apps/registry.py +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ class Apps(object): for model in self.get_models(include_auto_created=True): model._meta._expire_cache() ### DEPRECATED METHODS GO BELOW THIS LINE ### # ### DEPRECATED METHODS GO BELOW THIS LINE ### def load_app(self, app_name): """ Loading django/contrib/gis/db/models/fields.py +2 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ class GeometryField(GeoSelectFormatMixin, Field): self._get_srid_info(connection) return self._units_name ### Routines specific to GeometryField ### # ### Routines specific to GeometryField ### def geodetic(self, connection): """ Returns true if this field's SRID corresponds with a coordinate Loading Loading @@ -236,7 +236,7 @@ class GeometryField(GeoSelectFormatMixin, Field): else: return gsrid ### Routines overloaded from Field ### # ### Routines overloaded from Field ### def contribute_to_class(self, cls, name, **kwargs): super(GeometryField, self).contribute_to_class(cls, name, **kwargs) Loading django/contrib/gis/db/models/query.py +2 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ from django.utils.deprecation import RemovedInDjango20Warning class GeoQuerySet(QuerySet): "The Geographic QuerySet." ### GeoQuerySet Methods ### # ### GeoQuerySet Methods ### def area(self, tolerance=0.05, **kwargs): """ Returns the area of the geographic field in an `area` attribute on Loading Loading @@ -428,7 +428,7 @@ class GeoQuerySet(QuerySet): ) return self._spatial_aggregate(aggregates.Union, **kwargs) ### Private API -- Abstracted DRY routines. ### # ### Private API -- Abstracted DRY routines. ### def _spatial_setup(self, att, desc=None, field_name=None, geo_field_type=None): """ Performs set up for executing the spatial function. Loading django/contrib/gis/feeds.py +2 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ class GeoFeedMixin(object): raise ValueError('Geometry type "%s" not supported.' % geom.geom_type) ### SyndicationFeed subclasses ### # ### SyndicationFeed subclasses ### class GeoRSSFeed(Rss201rev2Feed, GeoFeedMixin): def rss_attributes(self): attrs = super(GeoRSSFeed, self).rss_attributes() Loading Loading @@ -127,7 +127,7 @@ class W3CGeoFeed(Rss201rev2Feed, GeoFeedMixin): self.add_georss_element(handler, self.feed, w3c_geo=True) ### Feed subclass ### # ### Feed subclass ### class Feed(BaseFeed): """ This is a subclass of the `Feed` from `django.contrib.syndication`. Loading django/contrib/gis/gdal/datasource.py +0 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,6 @@ from django.utils.six.moves import range class DataSource(GDALBase): "Wraps an OGR Data Source object." #### Python 'magic' routines #### def __init__(self, ds_input, ds_driver=False, write=False, encoding='utf-8'): # The write flag. if write: Loading Loading
django/apps/registry.py +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ class Apps(object): for model in self.get_models(include_auto_created=True): model._meta._expire_cache() ### DEPRECATED METHODS GO BELOW THIS LINE ### # ### DEPRECATED METHODS GO BELOW THIS LINE ### def load_app(self, app_name): """ Loading
django/contrib/gis/db/models/fields.py +2 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ class GeometryField(GeoSelectFormatMixin, Field): self._get_srid_info(connection) return self._units_name ### Routines specific to GeometryField ### # ### Routines specific to GeometryField ### def geodetic(self, connection): """ Returns true if this field's SRID corresponds with a coordinate Loading Loading @@ -236,7 +236,7 @@ class GeometryField(GeoSelectFormatMixin, Field): else: return gsrid ### Routines overloaded from Field ### # ### Routines overloaded from Field ### def contribute_to_class(self, cls, name, **kwargs): super(GeometryField, self).contribute_to_class(cls, name, **kwargs) Loading
django/contrib/gis/db/models/query.py +2 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ from django.utils.deprecation import RemovedInDjango20Warning class GeoQuerySet(QuerySet): "The Geographic QuerySet." ### GeoQuerySet Methods ### # ### GeoQuerySet Methods ### def area(self, tolerance=0.05, **kwargs): """ Returns the area of the geographic field in an `area` attribute on Loading Loading @@ -428,7 +428,7 @@ class GeoQuerySet(QuerySet): ) return self._spatial_aggregate(aggregates.Union, **kwargs) ### Private API -- Abstracted DRY routines. ### # ### Private API -- Abstracted DRY routines. ### def _spatial_setup(self, att, desc=None, field_name=None, geo_field_type=None): """ Performs set up for executing the spatial function. Loading
django/contrib/gis/feeds.py +2 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ class GeoFeedMixin(object): raise ValueError('Geometry type "%s" not supported.' % geom.geom_type) ### SyndicationFeed subclasses ### # ### SyndicationFeed subclasses ### class GeoRSSFeed(Rss201rev2Feed, GeoFeedMixin): def rss_attributes(self): attrs = super(GeoRSSFeed, self).rss_attributes() Loading Loading @@ -127,7 +127,7 @@ class W3CGeoFeed(Rss201rev2Feed, GeoFeedMixin): self.add_georss_element(handler, self.feed, w3c_geo=True) ### Feed subclass ### # ### Feed subclass ### class Feed(BaseFeed): """ This is a subclass of the `Feed` from `django.contrib.syndication`. Loading
django/contrib/gis/gdal/datasource.py +0 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,6 @@ from django.utils.six.moves import range class DataSource(GDALBase): "Wraps an OGR Data Source object." #### Python 'magic' routines #### def __init__(self, ds_input, ds_driver=False, write=False, encoding='utf-8'): # The write flag. if write: Loading