one cent price, for app preview only (bug 698490)

This commit is contained in:
Andy McKay 2011-11-04 11:44:08 -07:00
Родитель d3e88af395
Коммит 8342607eca
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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')