from os.path import join, isfile
from django.core.urlresolvers import reverse
from django.db import models
from os.path import join, isfile
from django.core.urlresolvers import reverse
from django.db import models
return False
if self.task.status not in (u'PENDING', u'STARTED', u'SUCCESS', u'RETRY'):
return True
return False
if self.task.status not in (u'PENDING', u'STARTED', u'SUCCESS', u'RETRY'):
return True