You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the example below, editing with the admin app the class Person works fine but not with MyPerson.
class Person(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
history = HistoricalRecords()
class MyPerson(Person):
class Meta:
proxy = True
Do i miss something ?
The text was updated successfully, but these errors were encountered:
Hi,
When using the admin app to make modification on a entity, the historical records are not created if the model is a proxy (https://docs.djangoproject.com/en/1.8/topics/db/models/#proxy-models) of a model with historical record activated.
With the example below, editing with the admin app the class Person works fine but not with MyPerson.
Do i miss something ?
The text was updated successfully, but these errors were encountered: