Commit 6bacbafb by Chris Dodge

move call to update_templates on service startup into a django-admin command

parent f543ad49
from xmodule.templates import update_templates
update_templates()
......@@ -441,6 +441,13 @@ namespace :cms do
end
namespace :cms do
desc "Imports all the templates from the code pack"
task :update_templates do
sh(django_admin(:cms, :dev, :update_templates))
end
end
namespace :cms do
desc "Import course data within the given DATA_DIR variable"
task :xlint do
if ENV['DATA_DIR'] and ENV['COURSE_DIR']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment