diff options
author | 2019-01-20 09:52:57 +0100 | |
---|---|---|
committer | 2019-01-20 09:52:57 +0100 | |
commit | bdc337d70a386cae954399e55bb128119f601128 (patch) | |
tree | f1b90e9a2c028478e1b82325704ffdd943c4b3b6 /api/validators.py | |
parent | Merge branch 'django' into django+add-logs-api. (diff) | |
parent | Add an example `docker-compose.yml`. (diff) |
Merge branch 'django' into django+add-logs-api
Diffstat (limited to 'api/validators.py')
-rw-r--r-- | api/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/validators.py b/api/validators.py index 2c4ffe4b..7673c3fe 100644 --- a/api/validators.py +++ b/api/validators.py @@ -115,7 +115,7 @@ def validate_tag_embed(embed): 'color', 'footer', 'image', 'thumbnail', 'video', 'provider', 'author', 'fields' } - one_required_of = {'content', 'fields', 'image', 'title', 'video'} + one_required_of = {'description', 'fields', 'image', 'title', 'video'} field_validators = { 'title': ( MinLengthValidator( |