]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/management/commands/reindex.py
update reindex command to also create interlinks
[chloro.git] / chloro / phyll / management / commands / reindex.py
index bd304e34501cd1dbab6fdee8eb427ef83da44b27..964fefce99dec09af112b0ce0046d0fbca9d3626 100644 (file)
@@ -22,5 +22,6 @@ from chloro.phyll.models import Note
 
 class Command(BaseCommand):
     def handle(self, verbosity, **options):
+        # recreate plain text version and interlinks
         for note in Note.objects.all():
-            note.save(update_fields=['plain_text'])
+            note.save()