order_item, created = OrderItem.objects.get_or_create(
item=item,
user = request.user,
ordered = False
)
now here I can't understand how it will work I tried searching the web but had no luck :(
order_item, created = OrderItem.objects.get_or_create(
item=item,
user = request.user,
ordered = False
)
now here I can't understand how it will work I tried searching the web but had no luck :(