Django form. How hidden colon from initial_text?
<p>I'm try do this:</p>

<pre>

class NoClearableFileInput(ClearableFileInput):
    initial_text = ''
    input_text = ''

class ImageUploadForm(forms.ModelForm):
    title = forms.CharField(label="TITLE",  required=False,widget=forms.TextInput(attrs={'placeholder': 'name'}),  label_suffix="")
    image = forms.ImageField(label='NEW FILE',widget=NoClearableFileInput,  label_suffix="")

    class Meta:
        model = Image
        fields = ('title','image')

</pre>

<p>There in class NoClearableFileInput cleaned value initial_text.
In fields 'title' and 'image' use label_suffix, but from initial_text symbol ":" remained.</p>

<p><a href="http://i.stack.imgur.com/Hdxmq.png" rel="nofollow">result</a></p>

<p>How get rid of them?</p>

<p>You have to override the <code>label_suffix</code> on initialization. Try making the following changes:</p>

<pre><code>class ImageUploadForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        kwargs.setdefault('label_suffix', '')
        super(ImageUploadForm, self).__init__(*args, **kwargs)

    # ... (the rest of your code) ...
</code></pre>

python django forms