Found that loaddata also doesn't work when the DB has no records. Same error.
On Apr 28, 7:47 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote: > Hi all, > > Did a dumpdata of my project, then added that to my test and I get: > DoesNotExist: XXX matching query does not exist. > The strange thing is that manually loading it using loaddata works > perfectly. > Any clue? > > Note: Using django.test.TestCase > > -- > 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 > athttp://groups.google.com/group/django-users?hl=en. -- 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.