wagtail-longclaw/longclaw/longclawbasket
Sidney F. Guaro 5db44a30c3 [FIX] RE: quantity in api.BasketViewSet.destroy gets unicode instead of int (#170)
* [FIX] quantity in api.BasketViewSet.destroy gets unicode instead of int

* from rest_framework.decorators import detail_route, list_route
from rest_framework import permissions, status, viewsets
from rest_framework.response import Response
from longclaw.longclawbasket.models import BasketItem
from longclaw.longclawbasket.serializers import BasketItemSerializer
from longclaw.longclawbasket import utils
from longclaw.utils import ProductVariant

class BasketViewSet(viewsets.ModelViewSet):

* [FIX] RE: quantity in api.BasketViewSet.destroy gets unicode instead of int
2018-05-30 18:59:31 +02:00
..
management
migrations
templates/longclawbasket
templatetags
__init__.py
api.py [FIX] RE: quantity in api.BasketViewSet.destroy gets unicode instead of int (#170) 2018-05-30 18:59:31 +02:00
apps.py
context_processors.py
forms.py
models.py
serializers.py
tests.py
urls.py
utils.py
views.py