Commit c01733e87caa0290b600ae324dd9752eb74f203f
1 parent
0570a53d
Exists in
master
and in
3 other branches
Fix'd the error message in YouTube video resource
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
youtube_video/forms.py
@@ -59,7 +59,7 @@ class YTVideoForm(forms.ModelForm): | @@ -59,7 +59,7 @@ class YTVideoForm(forms.ModelForm): | ||
59 | same_name = topic.resource_topic.filter(name__unaccent__iexact = name).count() | 59 | same_name = topic.resource_topic.filter(name__unaccent__iexact = name).count() |
60 | 60 | ||
61 | if same_name > 0: | 61 | if same_name > 0: |
62 | - self._errors['name'] = [_('This subject already has a youtube video with this name')] | 62 | + self._errors['name'] = [_('This subject already has a resource with this name')] |
63 | 63 | ||
64 | return ValueError | 64 | return ValueError |
65 | 65 |