18 lines
398 B
Python
18 lines
398 B
Python
# -*- 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
|
|
|
|
|
|
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()
|
|
|