{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/88a95eab4fec0ea409b60ae3708b8f62?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"88a95eab4fec0ea409b60ae3708b8f62","url":"https://api.github.com/users/jakkana","login":"jakkana","id":1136130},"milestone":null,"updated_at":"2011-11-08T19:10:52Z","labels":[{"name":"worksforme","color":"02d7e1","url":"https://api.github.com/repos/etianen/django-reversion/labels/worksforme"}],"assignee":null,"comments":5,"closed_at":"2011-11-08T19:10:52Z","url":"https://api.github.com/repos/etianen/django-reversion/issues/104","body":"======================================================================\r\nERROR: testRecoverDeleted (reversion.tests.FollowModelsTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/tests.py\", line 466, in testRecoverDeleted\r\n    reversion.get_deleted(ReversionTestModel1)[0].revision.revert()\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/models.py\", line 90, in revert\r\n    do_revert([version for version in version_set if version.type != VERSION_DELETE])\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/models.py\", line 83, in do_revert\r\n    version.revert()\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/models.py\", line 286, in revert\r\n    self.object_version.save()\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/core/serializers/base.py\", line 165, in save\r\n    models.Model.save_base(self.object, using=using, raw=True)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/db/models/base.py\", line 570, in save_base\r\n    created=(not record_exists), raw=raw, using=using)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/dispatch/dispatcher.py\", line 172, in send\r\n    response = receiver(signal=self, sender=sender, **named)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/revisions.py\", line 566, in _post_save_receiver\r\n    version_data = adapter.get_version_data(instance, VERSION_ADD)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/revisions.py\", line 106, in get_version_data\r\n    \"serialized_data\": self.get_serialized_data(obj),\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/reversion/revisions.py\", line 90, in get_serialized_data\r\n    fields = self.get_fields_to_serialize(),\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/core/serializers/__init__.py\", line 91, in serialize\r\n    s.serialize(queryset, **options)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/core/serializers/base.py\", line 48, in serialize\r\n    self.handle_fk_field(obj, field)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/core/serializers/python.py\", line 48, in handle_fk_field\r\n    related = getattr(obj, field.name)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/db/models/fields/related.py\", line 315, in __get__\r\n    rel_obj = QuerySet(self.field.rel.to).using(db).get(**params)\r\n  File \"/Users/djangodeveloper/virtual_environments/ngc/lib/python2.7/site-packages/django/db/models/query.py\", line 349, in get\r\n    % self.model._meta.object_name)\r\nDoesNotExist: ReversionTestModel1 matching query does not exist.","html_url":"https://github.com/etianen/django-reversion/issues/104","number":104,"title":"Django-reversion tests are failing . Django1.3.1, python2.7","id":2176835,"created_at":"2011-11-08T17:22:12Z"},"action":"closed"}