diable apple enable piratecinema

This commit is contained in:
j 2011-10-14 21:10:37 +02:00
commit d8c7f34f7c
2 changed files with 16 additions and 2 deletions

View file

@ -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()