Is there a way to view incompatible version data using Django-Reversion or after making a change to the model? I understand I wouldn't be able to revert or reinstate a previous version before the model change, but is there a way to simply view the data?
Here's the model before the change:
class Product(models.Model): product_code = models.CharField(max_length=120, blank=True, null=True) #max_length=required related_category = models.ForeignKey(Category, on_delete=models.DO_NOTHING, blank = True, null=True)
Then I added a 'discount' field:
class Product(models.Model): product_code = models.CharField(max_length=120, blank=True, null=True) #max_length=required related_category = models.ForeignKey(Category, on_delete=models.DO_NOTHING, blank = True, null=True) discount = models.BooleanField()
when I try to access previous versions, I see an error - "Could not save XXXXX version - missing dependency."
I tried accessing previous versions via admin site and also by calling Version.objects.get_for_model(Product). I was expecting to be able to view the historical versions, but instead I get an error (missing dependency).