10 lines
317 B
Python
10 lines
317 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from podcasts.discover import index_new
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = 'Put the episodes not yet in the full-text index into it (podcasts/discover.py)'
|
|
|
|
def handle(self, *args, **options):
|
|
self.stdout.write(f'{index_new()} episodes indexed')
|