3 from django.core.management.base import BaseCommand
4 from forum.models import Node
8 class Command(BaseCommand):
10 def handle(self,*args, **options):
11 # Re-render node bodies
12 nodes = Node.objects.all()
15 node.body = node.rendered(node.body)