feat: added users app

This commit is contained in:
Pablo Moreno
2024-05-13 00:26:49 +02:00
parent d148cc9c61
commit 6e987cd035
31 changed files with 521 additions and 17 deletions
-3
View File
@@ -16,17 +16,14 @@ class ShopModelsTest(TestCase):
self.potatoes = Product.objects.create(
name="Patatas",
stock=Decimal("100.00"),
unit=Product.UnitChoices.WEIGHT_KG,
)
self.gasoline = Product.objects.create(
name="Gasolina",
stock=Decimal("800.00"),
unit=Product.UnitChoices.VOLUME_LITER,
)
self.usb_c = Product.objects.create(
name="Cable USB-C",
stock=Decimal("5.00"),
unit=Product.UnitChoices.UNIT,
)
ProductPrice.objects.create(