forked from uncloud/uncloud
Initial product activation implementation
This commit is contained in:
parent
839bd5f8a9
commit
5d5bf486b5
3 changed files with 43 additions and 24 deletions
|
|
@ -116,7 +116,7 @@ class VMProductViewSet(ProductViewSet):
|
|||
order_recurring_period = serializer.validated_data.pop("recurring_period")
|
||||
|
||||
# Create base order.
|
||||
order = Order.objects.create(
|
||||
order = Order(
|
||||
recurring_period=order_recurring_period,
|
||||
owner=request.user,
|
||||
starting_date=timezone.now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue