one cent price, for app preview only (bug 698490)
This commit is contained in:
Родитель
d3e88af395
Коммит
8342607eca
|
@ -0,0 +1,11 @@
|
||||||
|
from decimal import Decimal
|
||||||
|
from django.conf import settings
|
||||||
|
from market.models import Price
|
||||||
|
|
||||||
|
|
||||||
|
def run():
|
||||||
|
if not settings.APP_PREVIEW:
|
||||||
|
return
|
||||||
|
|
||||||
|
Price.objects.all().delete()
|
||||||
|
Price.objects.create(price=Decimal('0.01'), name='Tier 1')
|
Загрузка…
Ссылка в новой задаче