def initial_security_hash(self, timestamp):

        initial_security_dict = {
            'content_type' : str(self.target_object._meta),
            'object_pk' : str(self.target_object._get_pk_val()),
            'timestamp' : str(timestamp),
          }
        return self.generate_security_hash(**initial_security_dict)
Generate the initial security hash from self.content_object
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/comments/forms.py/CommentSecurityForm.initial_security_hash