From b7e35e150b8ca0f0656bfc3ecc8f7e97d9c85f98 Mon Sep 17 00:00:00 2001 From: Manuel Reul Date: Mon, 6 Nov 2023 10:00:44 +0000 Subject: [PATCH] Update file init_test.py --- testserver_o2b/models/init_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index c4d1890..7a63979 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -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')