remove expensive cover_image query
parent
50ee282f29
commit
03e71be2df
|
@ -231,9 +231,5 @@ def feature_new_work():
|
|||
@task
|
||||
def make_cover_thumbnail(url, geom_string, **options):
|
||||
success = covers.make_cover_thumbnail(url, geom_string, **options)
|
||||
if not success and url != '':
|
||||
for ed in models.Edition.objects.filter(cover_image=url):
|
||||
logger.error('bad cover image %s for edition: %s', url, ed.id)
|
||||
#ed.cover_image = ''
|
||||
#ed.save()
|
||||
logger.error('bad cover image %s: %s', url)
|
||||
|
Loading…
Reference in New Issue