from django import Forms

class SearchForm(forms.Form):
    q = forms.CharField(label='Search files')

from django import forms

class SearchForm(forms.Form):
    q = forms.CharField(label='Search files')

Fix typo.