use new python-ox api
This commit is contained in:
parent
f6cb05b5fb
commit
e267ba48df
11 changed files with 61 additions and 62 deletions
|
|
@ -18,7 +18,7 @@ class Command(BaseCommand):
|
|||
def handle(self, **options):
|
||||
import poster.models
|
||||
before_import = datetime.now()
|
||||
lookup.cache.getIds()
|
||||
lookup.cache.get_ids()
|
||||
for p in poster.models.PosterCache.objects.filter(image='', failed=False, created__gt=before_import):
|
||||
print p.url.encode('utf-8')
|
||||
p.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue