9 lines
302 B
Python
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() |