Closed learner010 closed 9 years ago
That is a problem to use random values. The purpose of the "SequentialDataFixture" is to avoid errors like that.
I think you can try something like that:
def genericipaddressfield_config(self, field, key):
return self.ipaddressfield_config(field, key)
But in the new version of DDF I will add native support for it.
I added support for the GenericIPAddressField field in the master branch (https://github.com/paulocheque/django-dynamic-fixture/commit/c0254e388e6daafdd9b95f1cc27892eb6f2f09d4). It will be include in the new version of DDF. Thanks for reporting!!
Ref #54
I have a data fixture which extends
SequentialDataFixture
. The fixture is given below:I have following test code.
Which generates following error.