oxdata/lookup/management/commands/cache_ids.py

20 lines
418 B
Python
Raw Normal View History

2009-07-17 21:59:24 +00:00
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
2009-08-20 17:03:14 +00:00
import lookup.cache
2009-07-17 21:59:24 +00:00
class Command(BaseCommand):
"""
load new ids into cache
"""
help = 'load ids from sites that dont support search.'
args = ''
def handle(self, **options):
import oxdata.lookup.cache
lookup.cache.getIds()