Files
edx-platform/cms/djangoapps/contentstore/management/commands/update_templates.py
2013-03-04 09:15:53 -05:00

9 lines
302 B
Python

from xmodule.templates import update_templates
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = \
'''Imports and updates the Studio component templates from the code pack and put in the DB'''
def handle(self, *args, **options):
update_templates()