def clean(self):
    myslug = slugify(self.cleaned_data['title'])
    try:
        Art.objects.get(slug=myslug)
    except Art.DoesNotExist:
        return self.cleaned_data
    raise forms.ValidationError('Ascii Art with that slug already exists, please pick another title')
def clean(self):
    myslug = slugify(self.cleaned_data['title'])
    try:
        Art.objects.get(slug=myslug)
    except Art.DoesNotExist:
        return self.cleaned_data
    raise forms.ValidationError('Ascii Art with that slug already exists, please pick another title')