Ticket #24750: 24750.diff

File 24750.diff, 1.1 KB (added by Nicolas Noé, 9 years ago)

Patch to fix those URLs

  • django/contrib/gis/geos/__init__.py

    diff --git a/django/contrib/gis/geos/__init__.py b/django/contrib/gis/geos/__init__.py
    index 48b321c..65e31e0 100644
    a b  
    22The GeoDjango GEOS module.  Please consult the GeoDjango documentation
    33for more details:
    4   http://geodjango.org/docs/geos.html
     4  https://docs.djangoproject.com/en/dev/ref/contrib/gis/
    66from .collections import GeometryCollection, MultiPoint, MultiLineString, MultiPolygon  # NOQA
    77from .error import GEOSException, GEOSIndexError  # NOQA
  • django/contrib/gis/utils/layermapping.py

    diff --git a/django/contrib/gis/utils/layermapping.py b/django/contrib/gis/utils/layermapping.py
    index 1f7de82..fcc4537 100644
    a b  
    44 vector files (e.g. SHP files) to Geographic-enabled Django models.
    66 For more information, please consult the GeoDjango documentation:
    7    http://geodjango.org/docs/layermapping.html
     7   https://docs.djangoproject.com/en/dev/ref/contrib/gis/layermapping/
    99import sys
    1010from decimal import Decimal, InvalidOperation as DecimalInvalidOperation
Back to Top