We have a model named Bike with several fields. Create a ModelForm, based on Bike model, which contains only "engine" and "color" fields.
Forms
ModelForm with several fields
Report a typo
Write a program in Python 3
class BikeModelForm(ModelForm):
...
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.