Audit Changes regarding audit_true field in scriptaudit models
This commit is contained in:
parent
71b25755c8
commit
353fd2ae83
|
@ -161,6 +161,7 @@ def run_audit(msg):
|
||||||
id = script_id
|
id = script_id
|
||||||
))
|
))
|
||||||
print("STATUS AUDIT",status)
|
print("STATUS AUDIT",status)
|
||||||
|
status.only_audit = True
|
||||||
# Blockchain
|
# Blockchain
|
||||||
# if UserCredentialsForBlockchain.objects.filter(user=request.user).exists():
|
# if UserCredentialsForBlockchain.objects.filter(user=request.user).exists():
|
||||||
blockchain_obj = UserCredentialsForBlockchain.objects.get(user=user)
|
blockchain_obj = UserCredentialsForBlockchain.objects.get(user=user)
|
||||||
|
|
|
@ -60,4 +60,4 @@ class ScriptAuditModel(models.Model):
|
||||||
dialogue_language = models.CharField(max_length=50, blank=False, null=True)
|
dialogue_language = models.CharField(max_length=50, blank=False, null=True)
|
||||||
transaction_hash = models.CharField(max_length=200, blank=False, null=True)
|
transaction_hash = models.CharField(max_length=200, blank=False, null=True)
|
||||||
bchain_privatekey = models.CharField(max_length=200, blank=False, null=True)
|
bchain_privatekey = models.CharField(max_length=200, blank=False, null=True)
|
||||||
isfdx = models.BooleanField(default=False)
|
only_audit = models.BooleanField(null=True, blank=True)
|
||||||
|
|
Loading…
Reference in New Issue