diable apple enable piratecinema
This commit is contained in:
parent
896af63b5f
commit
d8c7f34f7c
2 changed files with 16 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ from django.core.management.base import BaseCommand, CommandError
|
|||
from django.conf import settings
|
||||
|
||||
import lookup.cache
|
||||
import poster.models
|
||||
from datetime import datetime
|
||||
|
||||
class Command(BaseCommand):
|
||||
"""
|
||||
|
|
@ -14,6 +16,11 @@ class Command(BaseCommand):
|
|||
args = ''
|
||||
|
||||
def handle(self, **options):
|
||||
import oxdata.lookup.cache
|
||||
import poster.models
|
||||
before_import = datetime.now()
|
||||
lookup.cache.getIds()
|
||||
for p in poster.models.PosterCache.objects.filter(image='', failed=False, created__gt=before_import):
|
||||
print p.url
|
||||
p.get()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue