diora-web/podcasts/management/commands/index_episodes.py
mrwnslz 3fa16b9653
Some checks failed
Test / e2e (push) Waiting to run
Build and push Docker image / build (push) Successful in 16s
Test / test (push) Has been cancelled
Podcasts stöbern: Volltextsuche (FTS5), ähnliche Folgen, Personen, Themen, Vergessenes, Personen anderswo (Apple/fyyd), Empfehlungen (fyyd); Abo-Favoriten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 18:50:35 +02:00

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')