def makeCardDue( dpid, in_minutes):
    dp = DelayablePractice.objects.get(id=dpid)
    dp.next_practice = datetime.utcnow().replace(tzinfo=utc) - timedelta(minutes=in_minutes)
    dp.save()
    return dp
dataset/ETHPy150Open DummyDivision/Tsune/deckglue/tests.py/makeCardDue/original