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": "1", > "model": "django.contrib.auth.models.user", > "fields": { > "username": "testuser" > } > } > ] > > But I get "Invalid model identifier: > 'django.contrib.auth.models.user'" > > Is what I'm trying to do possible using fixtures? If not, can someone > recommend a similarly straightforward alternative? > > Thanks, > > Matt > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---