Re: Fixtures for built-in Django model

2007-09-20 Thread mdorn
Confirming that this worked--thanks Richard. On Sep 20, 12:56 pm, "Richard Dahl" <[EMAIL PROTECTED]> wrote: > Try > "auth.user" as the model > -richard > > On 9/20/07, mdorn <[EMAIL PROTECTED]> wrote: > > > > > I'd like to include a couple of example users in initial_data fixtures > > as part of

Re: Fixtures for built-in Django model

2007-09-20 Thread Richard Dahl
Try "auth.user" as the model -richard On 9/20/07, mdorn <[EMAIL PROTECTED]> wrote: > > > I'd like to include a couple of example users in initial_data fixtures > as part of my application. I thought that maybe something like this > would work in my JSON fixture file: > > [ > { > "pk"

Fixtures for built-in Django model

2007-09-20 Thread mdorn
I'd like to include a couple of example users in initial_data fixtures as part of my application. I thought that maybe something like this would work in my JSON fixture file: [ { "pk": "1", "model": "django.contrib.auth.models.user", "fields": { "username"