Update file init_test.py
This commit is contained in:
@@ -18,7 +18,7 @@ class CustomModel(models.Model):
|
||||
html_field = fields.Html('HTML Field')
|
||||
external_content = fields.Text('Externe Inhoud')
|
||||
|
||||
raise UserError(external_content)
|
||||
raise ValidationError(external_content)
|
||||
|
||||
def get_external_content():
|
||||
response = requests.get('http://localhost:8025')
|
||||
|
||||
Reference in New Issue
Block a user