Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 375 Bytes
from decimal import Decimal
from market.models import Price, PriceCurrency
def run():
tier = Price.objects.create(name='Tier 0', price=Decimal('0'),
active=True)
for currency in ['CAD', 'EUR', 'GBP', 'JPY']:
PriceCurrency.objects.create(tier=tier, price=Decimal('0'),
currency=currency)
Something went wrong with that request. Please try again.