Add attrs automaticlly through ModelForm field max_length
1. Define a subclass extends forms.ModelForm 2. Add the __init__ method 3. Define your ModelForm extends this class 4. Define the CSS for "large","xlarge" and "xxlarge",or define yourself.
- ModelForm
- Model
- CSS