removing execptions.py
This commit is contained in:
+4
-13
@@ -1,5 +1,4 @@
|
||||
from django.shortcuts import render
|
||||
from .execptions import DiscountNotAvailableError
|
||||
from rest_framework.views import APIView, Response
|
||||
from django.shortcuts import get_object_or_404
|
||||
from product.models import ProductVariant
|
||||
@@ -14,19 +13,11 @@ from azbankgateways.exceptions import AZBankGatewaysException
|
||||
from drf_spectacular.utils import extend_schema, OpenApiParameter, OpenApiTypes
|
||||
from utils.pagination import StructurePagination
|
||||
from order.models import OrderModel
|
||||
try:
|
||||
pass
|
||||
except DiscountNotAvailableError:
|
||||
pass
|
||||
from django.urls import reverse
|
||||
"""
|
||||
|
||||
add post
|
||||
remove delete
|
||||
show get
|
||||
|
||||
pay
|
||||
"""
|
||||
# try:
|
||||
# pass
|
||||
# except DiscountNotAvailableError:
|
||||
# pass
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user