Loading django/contrib/gis/gdal/geometries.py +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ class OGRGeometry(GDALBase): str_instance = isinstance(geom_input, six.string_types) # If HEX, unpack input to to a binary buffer. # If HEX, unpack input to a binary buffer. if str_instance and hex_regex.match(geom_input): geom_input = memoryview(a2b_hex(geom_input.upper().encode())) str_instance = False Loading django/contrib/gis/geos/prototypes/geom.py +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ def bin_constructor(func): # HEX & WKB output def bin_output(func): "Generates a prototype for the routines that return a a sized string." "Generates a prototype for the routines that return a sized string." func.argtypes = [GEOM_PTR, POINTER(c_size_t)] func.errcheck = check_sized_string func.restype = c_uchar_p Loading django/contrib/gis/utils/srs.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, Defaults to the SRID determined by GDAL. ref_sys_name: For SpatiaLite users only, sets the value of the the `ref_sys_name` field. For SpatiaLite users only, sets the value of the `ref_sys_name` field. Defaults to the name determined by GDAL. database: Loading django/contrib/staticfiles/views.py +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ def serve(request, path, document_root=None, insecure=False, **kwargs): """ if not settings.DEBUG and not insecure: raise ImproperlyConfigured("The staticfiles view can only be used in " "debug mode or if the the --insecure " "debug mode or if the --insecure " "option of 'runserver' is used") normalized_path = posixpath.normpath(unquote(path)).lstrip('/') absolute_path = finders.find(normalized_path) Loading django/db/models/query.py +1 −1 Original line number Diff line number Diff line Loading @@ -1689,7 +1689,7 @@ def prefetch_related_objects(result_cache, related_lookups): continue done_lookups.add(lookup) # Top level, the list of objects to decorate is the the result cache # Top level, the list of objects to decorate is the result cache # from the primary QuerySet. It won't be for deeper levels. obj_list = result_cache Loading Loading
django/contrib/gis/gdal/geometries.py +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ class OGRGeometry(GDALBase): str_instance = isinstance(geom_input, six.string_types) # If HEX, unpack input to to a binary buffer. # If HEX, unpack input to a binary buffer. if str_instance and hex_regex.match(geom_input): geom_input = memoryview(a2b_hex(geom_input.upper().encode())) str_instance = False Loading
django/contrib/gis/geos/prototypes/geom.py +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ def bin_constructor(func): # HEX & WKB output def bin_output(func): "Generates a prototype for the routines that return a a sized string." "Generates a prototype for the routines that return a sized string." func.argtypes = [GEOM_PTR, POINTER(c_size_t)] func.errcheck = check_sized_string func.restype = c_uchar_p Loading
django/contrib/gis/utils/srs.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, Defaults to the SRID determined by GDAL. ref_sys_name: For SpatiaLite users only, sets the value of the the `ref_sys_name` field. For SpatiaLite users only, sets the value of the `ref_sys_name` field. Defaults to the name determined by GDAL. database: Loading
django/contrib/staticfiles/views.py +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ def serve(request, path, document_root=None, insecure=False, **kwargs): """ if not settings.DEBUG and not insecure: raise ImproperlyConfigured("The staticfiles view can only be used in " "debug mode or if the the --insecure " "debug mode or if the --insecure " "option of 'runserver' is used") normalized_path = posixpath.normpath(unquote(path)).lstrip('/') absolute_path = finders.find(normalized_path) Loading
django/db/models/query.py +1 −1 Original line number Diff line number Diff line Loading @@ -1689,7 +1689,7 @@ def prefetch_related_objects(result_cache, related_lookups): continue done_lookups.add(lookup) # Top level, the list of objects to decorate is the the result cache # Top level, the list of objects to decorate is the result cache # from the primary QuerySet. It won't be for deeper levels. obj_list = result_cache Loading