Changes between Version 2 and Version 3 of Ticket #37289
- Timestamp:
- Aug 19, 2026, 8:46:14 AM (62 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37289 – Description
v2 v3 24 24 Thanks "garden_" for the informative report. 25 25 ---- 26 `GDALRaster` defaults the `write` parameter to ` 0`. Paths are one of the input classes where that parameter is respected instead of overwritten to `1`. As an implementation hint, I would expect something like:26 `GDALRaster` defaults the `write` parameter to `False`. Paths are one of the input classes where that parameter is respected instead of overwritten later via `self._write = 1`. As an implementation hint, I would expect something like: 27 27 {{{#!diff 28 28 diff --git a/django/contrib/gis/gdal/raster/source.py b/django/contrib/gis/gdal/raster/source.py … … 73 73 self.assertIsNone(rst.vsi_buffer) 74 74 + # assert the virtual file is still there, needs release note... 75 + # retry with GDALRaster(..., write= False)75 + # retry with GDALRaster(..., write=True) 76 76 + # assert the virtual file is gone... 77 77