okay, found the problem. It is not allowed that there are zero valued
foreign keys.

On 3 Jun., 22:36, bastir <bas...@gmail.com> wrote:
> thx 4 your answer. If there is a foreign user key that links to a user
> that does not exist is this the problem? Because I'm pretty sure that
> is not the case in my db. I only have one foreign user key in one
> table. And this table only has one entry at the moment.
> But i will look at my data again.  any other hints how to fix this.
> thx a lot
> Sebastian
>
> On 3 Jun., 21:41, Lee Hinde <leehi...@gmail.com> wrote:
>
> > On Thu, Jun 3, 2010 at 12:36 PM, bastir <bas...@gmail.com> wrote:
> > > Hey,
> > > i'm suddenly getting an error with dumpdata:
> > > django.contrib.auth.models.DoesNotExist: User matching query does not
> > > exist.
> > > What's wrong here. I did not change anything (especiallyin the User
> > > model)
> > > Thx,
> > > Sebastian
>
> > I just ran into that and, in my case, it was due to an orphaned
> > record.  Don't look at the user table, look at a table that links to
> > it.
>
>

-- 
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.

Reply via email to