Optimal data types

Report a typo

Create a model called Bike for an online shop. Add fields name, description, price, quantity, is_in_stock, video_presentation and date_of_manufacture with the most suitable data types.

Please do not delete the Meta class from your model
Write a program in Python 3
class Bike(models.Model):
...

class Meta:
app_label = 'Shop'
___

Create a free account to access the full topic