pandora/pandora/event/migrations
Will Thompson 0c98cd080e Entity.alternativeNames: default to () not [] (fixes #2896)
Otherwise this:

    self.name_find = '||' + '||'.join((self.name,) + self.alternativeNames) + '||'
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

fails because () + [] is an error. I guess this must have been
introduced by the DictField/TupleField rewrite.

Without this fix, it is impossible to create a new entity.

Basically the same logic is used for Event and Place too so I've made
the same change to those, and, in passing, fix another copy of the bug
fixed for Entity.name_find in fe7f961.
2016-03-04 17:11:36 +00:00
..
0001_initial.py inline django 1.9 version of ox.django 2016-02-20 10:41:23 +00:00
0002_auto_20160219_1537.py db migration 2016-02-20 15:15:01 +05:30
0003_auto_20160304_1644.py Entity.alternativeNames: default to () not [] (fixes #2896) 2016-03-04 17:11:36 +00:00
__init__.py add south migrations, convert update to python 2012-11-02 13:41:41 +01:00