Ticket #464 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Trying to alter column to None type

Reported by: tomwys@… Owned by: andrew
Priority: major Milestone: 0.7.2
Component: databaseapi Version: 0.7
Keywords: Cc:


If field.db_type() in south.db.generic._db_type_for_alter_column returns None south tries to alert column type to "None".

This problem occurs when trying to make any change to django.contrib.gis.db.models.fields.PointField? field.

Example code:

    self.gf('django.contrib.gis.db.models.fields.PointField')(null=True, blank=True)


<         sqls = []
<         if params["type"] is not None:
<             sqls.append((self.alter_string_set_type % params, []))
>         sqls = [(self.alter_string_set_type % params, [])]

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to assigned
  • Milestone set to 0.7.2

comment:2 Changed 5 years ago by andrew

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [1eba1b31fde0].

Note: See TracTickets for help on using tickets.