Thanks in advance.
Gijs
Thats nice to hear. They're a recent addition, so its good to know
that they are stable and fast under serious use.
> >From what I understand, it takes JSON or XML files, but is it also
> possible to do Rails-style dynamic fixtures?
Django's fixtures framework uses the built-in serialization tools, so
any supported serializer can be used as a fixture format.
Out-of-the-box, this means JSON, XML, YAML (if you have PyYAML
installed), and a Python-based syntax. However, you can also define
your own serializer for some other format, and use that format if you
want.
> Would be nice to generate a fixture with a few lines of Python instead
> of having to extract from an existing database etc.
At present, ERb-style dynamic fixtures are not possible. However, it
is an interesting idea.
I've submitted it as ticket #3735; I'll try to get a discussion
started in the developers forum.
Yours,
Russ Magee %-)