Update file init_test.py

This commit is contained in:
2023-11-06 10:00:44 +00:00
parent c71ffa1b2e
commit b7e35e150b

View File

@@ -16,9 +16,7 @@ class CustomModel(models.Model):
_description = 'Mailcatcher'
html_field = fields.Html('HTML Field')
external_content = fields.Text('Externe Inhoud')
raise ValidationError(external_content)
external_content = fields.Char('Externe Inhoud')
def get_external_content():
response = requests.get('http://localhost:8025')