Remove obsolete Document property. Use resolved_object in documents links to avoid context variable clashes with signatures.

This commit is contained in:
Roberto Rosario
2016-03-25 04:10:20 -04:00
parent 7e801ef02e
commit ffb29e0f54
4 changed files with 52 additions and 29 deletions

View File

@@ -322,10 +322,6 @@ class Document(models.Model):
# Document has no version yet
return 0
@property
def signature_state(self):
return self.latest_version.signature_state
class DeletedDocument(Document):
objects = TrashCanManager()