mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-05-08 20:54:44 +00:00
commit
73c4628366
1 changed files with 2 additions and 2 deletions
|
|
@ -47,6 +47,6 @@ class EmbedVideoFormField(forms.URLField):
|
|||
except UnknownBackendException:
|
||||
raise forms.ValidationError(_(u'URL could not be recognized.'))
|
||||
except UnknownIdException:
|
||||
raise forms.ValidationError(_(u'ID of this video could not be \
|
||||
recognized.'))
|
||||
raise forms.ValidationError(_(u'ID of this video could not be '
|
||||
u'recognized.'))
|
||||
return url
|
||||
|
|
|
|||
Loading…
Reference in a new issue