diff --git a/backend/TraineerbookApp/management/commands/populate_db.py b/backend/TraineerbookApp/management/commands/populate_db.py index c894393..3dcb1ff 100644 --- a/backend/TraineerbookApp/management/commands/populate_db.py +++ b/backend/TraineerbookApp/management/commands/populate_db.py @@ -139,6 +139,13 @@ def handle(self, *args, **kwargs): price=30, activity=activity_7 ) + product_8 = Product.objects.create( + product_hour_init=timezone.now()+ timedelta(hours=1), + product_hour_fin=timezone.now() + timedelta(hours=2), + quantity=5, + price=30, + activity=activity_1 + ) # Create Users (if not already created) user_model = get_user_model()