Commit 68b6f269 by Xavier Antoviaque

Merge branch 'master' into freetext-mrq

parents 7686e722 adcb490a
...@@ -31,7 +31,6 @@ import unicodecsv ...@@ -31,7 +31,6 @@ import unicodecsv
from cStringIO import StringIO from cStringIO import StringIO
from django.template import Context, Template from django.template import Context, Template
from xblock.fragment import Fragment from xblock.fragment import Fragment
from workbench.scenarios import add_xml_scenario
# Globals ########################################################### # Globals ###########################################################
...@@ -93,10 +92,7 @@ def load_scenarios_from_path(scenarios_path): ...@@ -93,10 +92,7 @@ def load_scenarios_from_path(scenarios_path):
""" """
Load all xml files contained in a specified directory, as workbench scenarios Load all xml files contained in a specified directory, as workbench scenarios
""" """
scenarios = get_scenarios_from_path(scenarios_path, include_identifier=True) return get_scenarios_from_path(scenarios_path, include_identifier=True)
for identifier, title, xml_template in scenarios:
add_xml_scenario(identifier, title, xml_template)
return scenarios
# Classes ########################################################### # Classes ###########################################################
......
...@@ -73,5 +73,5 @@ setup( ...@@ -73,5 +73,5 @@ setup(
'xblock.v1': BLOCKS, 'xblock.v1': BLOCKS,
'xblock.light_children': BLOCKS_CHILDREN, 'xblock.light_children': BLOCKS_CHILDREN,
}, },
package_data=package_data("mentoring", ["static", "templates", "public"]), package_data=package_data("mentoring", ["static", "templates", "public", "migrations"]),
) )
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