This commit is contained in:
Nico Schottelius 2020-08-08 19:30:25 +02:00
parent 9b00ef11fb
commit ff8fdb76b1

View file

@ -65,13 +65,17 @@ class Command(BaseCommand):
vm25206_ssd.create_order_at(timezone.make_aware(datetime.datetime(2020,3,3))) vm25206_ssd.create_order_at(timezone.make_aware(datetime.datetime(2020,3,3)))
vm25206_ssd.save() vm25206_ssd.save()
sys.exit(0)
# change 1
vm25206.cores = 2 vm25206.cores = 2
vm25206.ram_in_gb = 8 vm25206.ram_in_gb = 8
vm25206.save() vm25206.save()
vm25206.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,4,17))) vm25206.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,4,17)))
sys.exit(0)
vm25206_ssd.size_in_gb = 50 vm25206_ssd.size_in_gb = 50
vm25206_ssd.save() vm25206_ssd.save()
vm25206_ssd.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,8,5))) vm25206_ssd.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,8,5)))