See #890: freeze more data in reports, fixed some failing tests

This commit is contained in:
Eliot Berriot 2019-08-29 14:53:20 +02:00
parent ca7178d1d1
commit 2ad5b9e9f3
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 58 additions and 23 deletions

View file

@ -149,9 +149,7 @@ class Report(federation_models.FederationMixin):
target_state = JSONField(null=True)
notes = GenericRelation(
"Note",
content_type_field="target_content_type",
object_id_field="target_id",
"Note", content_type_field="target_content_type", object_id_field="target_id"
)
def get_federation_id(self):