We have a model named Bike with several fields. Create a ModelForm based on this model with all model's fields except "engine" and "color"
Forms
Exclude method
Report a typo
Write a program in Python 3
class BikeModelForm(ModelForm):
...
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.