Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMPANY_IDS = [79178, 49840, 49876, 75942]
- for cid in COMPANY_IDS:
- company = cpk(cid)
- for month in AcaEmployeeMonth.objects.filter(employee__company=company):
- month.isPartOfAnyCycle = True
- month.save()
- print 'fix for company: ' + str(cid)
- print 'done fixing'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement