Hi, I am using django 1.2.1. I dumped the auth data with natural keys (-- natural), but when I try to load them I get the following error:
Installing xml fixture 'auth' from absolute path. Problem installing fixture 'auth.xml': Traceback (most recent call last): File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/ core/management/commands/loaddata.py", line 165, in handle for obj in objects: File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/ core/serializers/xml_serializer.py", line 158, in next return self._handle_object(node) File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/ core/serializers/xml_serializer.py", line 198, in _handle_object data[field.attname] = self._handle_fk_field_node(field_node, field) File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/ core/serializers/xml_serializer.py", line 222, in _handle_fk_field_node obj = field.rel.to._default_manager.db_manager(self.db).get_by_natural_key(*field_value) File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/ contrib/contenttypes/models.py", line 15, in get_by_natural_key ct = self.get(app_label=app_label, model=model) File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/db/ models/manager.py", line 132, in get return self.get_query_set().get(*args, **kwargs) File "/var/peertv/peergw/.env/lib/python2.5/site-packages/django/db/ models/query.py", line 341, in get % self.model._meta.object_name) DoesNotExist: ContentType matching query does not exist. What am I doing wrong? Thanks, Alex A. -- 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.