niwibe/django-orm-extensions — pull request #17 by vad (2012-07-03 09:23:12+00:00)
Title: ArrayField.get_db_prep_value(): if value is a string, do not convert it ...

...to list

When i use south, with the default value set to the empty list [], in the get_db_prep_value() method i get a string '[]'. As a workaround, i prevent the call to map(force_unicode, value), returning before that call if the value is already a string (in this case, we don't neet to convert it to a list of strings).