Creating test database for alias 'default'...
E
======================================================================
ERROR: test_animal (animals.tests.AnimalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matt/projects/ddf-bug/animals/tests.py", line 8, in test_animal
instance = G(Animal)
File "/home/matt/...trimed.../django_dynamic_fixture/__init__.py", line 106, in get
return d.get(model, shelve=shelve, **kwargs)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 528, in get
instance = self.new(model_class, shelve=shelve, named_shelve=named_shelve, **kwargs)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 455, in new
self.set_data_for_a_field(model_class, instance, field, persist_dependencies=persist_dependencies, **configuration)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 366, in set_data_for_a_field
data = self._process_field_with_default_fixture(__field, model_class, persist_dependencies)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 351, in _process_field_with_default_fixture
data = self._process_foreign_key(model_class, field, persist_dependencies)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 334, in _process_foreign_key
data = fixture.get(next_model)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 528, in get
instance = self.new(model_class, shelve=shelve, named_shelve=named_shelve, **kwargs)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 455, in new
self.set_data_for_a_field(model_class, instance, field, persist_dependencies=persist_dependencies, **configuration)
File "/home/matt/...trimed.../django_dynamic_fixture/ddf.py", line 383, in set_data_for_a_field
setattr(__instance, __field.name, data) # Model.field = data
AttributeError: can't set attribute
----------------------------------------------------------------------
Ran 1 test in 0.014s
FAILED (errors=1)
Destroying test database for alias 'default'...
As a short term fix until I get a chance to look into this more I've added all of the FilerImageField fields I have to DDF_IGNORE_FIELDS
in my Django settings, i.e.