Changes between Initial Version and Version 1 of Ticket #36129, comment 6


Ignore:
Timestamp:
Mar 20, 2025, 10:26:07 AM (6 months ago)
Author:
Paweł Kotiuk

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36129, comment 6

    initial v1  
    77> 2. Can you try to reproduce using PostGIS?
    88
    9 Yes.
     9EDIT
     10
     11No
     12
     13For PostGIS migration looks fine
     14
     15{{{#!div style="font-size: 80%"
     16model
     17  {{{#!python
     18class Migration(migrations.Migration):
     19    dependencies = [
     20        ("repro", "0001_initial"),
     21    ]
     22
     23    operations = [
     24        migrations.AlterField(
     25            model_name="multipointtester",
     26            name="multipoint",
     27            field=django.contrib.gis.db.models.fields.MultiPointField(
     28                blank=True,
     29                default="SRID=4326;MULTIPOINT EMPTY",
     30                dim=3,
     31                null=True,
     32                srid=4326,
     33            ),
     34        ),
     35    ]
     36  }}}
     37}}}
    1038
    1139
     40> So, I think that this specific report is about the default being incorrect for a 3-dimension multipoint (which would consitute an user error), and not so much about migration generation failure
    1241
     42I think you are right about that.
     43
     44
Back to Top