A cleaned up version of my patch can be found at
http://paste.pocoo.org/show/474838/.
Test fixes aren't included in the paste, so modeltests/fixtures test
will not pass due to different ordering of the results. Github
contains the latest version including some test-fixing:
https://github.com/akaar
On Sep 12, 3:38 pm, "Jonas H." wrote:
> On 09/12/2011 12:15 AM, Anssi Kääriäinen wrote:
>
> > The feature could be useful if there are users loading big fixture
> > files regularly. Otherwise it complicates fixture loading for little
> > gain.
>
> Maybe we could simply add an option to the loadd
On 09/12/2011 12:15 AM, Anssi Kääriäinen wrote:
The feature could be useful if there are users loading big fixture
files regularly. Otherwise it complicates fixture loading for little
gain.
Maybe we could simply add an option to the loaddata command -- so that
if someone really needs tons of f
I created a POC patch that does bulk loading of fixtures. The work can
be found from github: https://github.com/akaariai/django/tree/fixture_loading.
Be warned, it really is POC :)
The results are somewhat depressing for Django tests. The reason is
that there just isn't that much fixture loading g
On Sat, Sep 10, 2011 at 8:19 AM, Anssi Kääriäinen
wrote:
>
>
> On Sep 10, 1:55 pm, "Jonas H." wrote:
> > I started hacking the loaddata command to make use of the shiny new
> > `bulk_create` code -- however, it seems that fixture loading (at least
> > in its current incarnation) is incompatible t
On Sep 10, 1:55 pm, "Jonas H." wrote:
> I started hacking the loaddata command to make use of the shiny new
> `bulk_create` code -- however, it seems that fixture loading (at least
> in its current incarnation) is incompatible to bulk inserts, for this
> reasons:
>
> 1. It's possible to have mod
I started hacking the loaddata command to make use of the shiny new
`bulk_create` code -- however, it seems that fixture loading (at least
in its current incarnation) is incompatible to bulk inserts, for this
reasons:
1. It's possible to have model objects overridden by fixtures.
e.g. in mo