lets say here that if the hash is missing, we defined it with `hashlib.sha1(self.document_url).hexdigest()`