On Thu, Feb 25, 2010 at 8:43 PM, filias <filipa.andr...@gmail.com> wrote: > Hi, > > I am running several tests and created a fixture with the test data. > I have one model with a custom field which has a default value. > > I thought my test fixture should overwrite this field for some of the > objects but when run the test the value for the field is always the > default value. > > Is this the normal behavior or do I have some bug in my custom field?
Sounds like a bug in your custom field. As long as the fixture provides data, it will attempt to overwrite any field-based default. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.