Update file init_test.py
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user