This commit is contained in:
ismail 2025-05-05 14:52:54 +03:00
parent 32437a2ec0
commit 4dfc83057f

View File

@ -78,7 +78,7 @@ class Command(BaseCommand):
# pro_pricing = PlanPricing.objects.create(plan=pro_plan, pricing=pro, price=Decimal('29.99')) # pro_pricing = PlanPricing.objects.create(plan=pro_plan, pricing=pro, price=Decimal('29.99'))
# Create users # Create users
user = User.objects.first() # user = User.objects.first()
# # Create user plans # # Create user plans
# billing_info = BillingInfo.objects.create( # billing_info = BillingInfo.objects.create(
@ -99,9 +99,9 @@ class Command(BaseCommand):
# currency="SAR", # currency="SAR",
# ) # )
UserPlan.objects.create( # UserPlan.objects.create(
user=user, # user=user,
plan=pro_plan, # plan=pro_plan,
expire=timezone.now() + timedelta(days=2), # expire=timezone.now() + timedelta(days=2),
active=True, # active=True,
) # )