Will Thompson
0c98cd080e
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
|
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
admin.py | ||
managers.py | ||
models.py | ||
tasks.py | ||
views.py |