id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 7403,dumpdata do not play friendly with inheritance,redalastor@…,nobody,"Let say I have the following classes: {{{ class Person(models.Model): first_name = models.CharField(max_length = 50) last_name = models.CharField(max_length = 50) def full_name(self): return ""%s %s"" % (self.first_name, self.last_name) class Pirate(Person): pastafarian = models.BooleanField(default = True) }}} Now I create a Pirate: {{{ >>> p = Pirate() >>> p.first_name = ""Jack"" >>> p.last_name = ""Sparrow"" >>> p.pastafarian = False >>> p.save() >>> p >>> Person.objects.all() [] >>> Pirate.objects.all() [] }}} So far so good. Lets get to the buggy part: {{{ $ ./manage.py dumpdata > yarrrr.json $ ./manage.py reset pirates $ ./manage.py loaddata yarrrr.json $ ./manage.py shell >>> from myproject.pirates.models import * >>> Person.objects.all() [, ] }}} A workaround for now is to manually edit the serialized file and remove all references to the base class (Person in this case). Import will then work as expected.",,closed,Core (Serialization),dev,,invalid,,,Unreviewed,0,0,0,0,0,0