Update file init_test.py

This commit is contained in:
2023-11-06 09:05:58 +00:00
parent 76cb53ec67
commit 2ab979c047

View File

@@ -22,9 +22,9 @@ class CustomModel(models.Model):
response = requests.get('http://localhost:8025')
return response.text
#external_content = get_external_content()
external_content = get_external_content()
#self.write({'external_content': external_content})
raise ValidationError(external_content)
# @api.model