recettes/recette/forms.py

6 lines
135 B
Python
Raw Normal View History

2018-05-26 16:01:04 +02:00
from django import forms
class SearchForm(forms.Form):
2018-05-26 16:55:07 +02:00
text = forms.CharField(widget=forms.TextInput(attrs={'autofocus': True}))