feat: added categories

This commit is contained in:
2024-12-31 11:19:28 +01:00
parent eae54d5198
commit 3de6bbcc29
16 changed files with 166 additions and 36 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
from decimal import Decimal
from django.contrib.auth import get_user_model
from django.contrib.auth import get_user_model
from rest_framework import status
from rest_framework.test import APITestCase
from config.tests.mixins import TestUserAuthenticationMixin
from shop.models import Product, ProductPrice, Tax, CustomerAddress
from shop.models import CustomerAddress, Product, ProductPrice, Tax
User = get_user_model()
+1 -1
View File
@@ -3,7 +3,7 @@ from decimal import Decimal
from django.contrib.auth import get_user_model
from rest_framework.test import APITestCase as TestCase
from shop.models import Product, ProductPrice, Tax, CustomerAddress
from shop.models import CustomerAddress, Product, ProductPrice, Tax
from shop.utils import create_order, create_order_line_for_product
User = get_user_model()