Replace rake functions with python paver functions
Deprecated rake functions issue a warning and then call paver replacements Bring Paver commands up to date with master for servers, assets, and docs. Revert deprecation of quality, tests, and i18n for a future pull request. Deprecate workspace migration
This commit is contained in:
@@ -6,9 +6,6 @@ from .prompt import query_yes_no
|
||||
from contentstore.utils import delete_course_and_groups
|
||||
|
||||
|
||||
#
|
||||
# To run from command line: rake cms:delete_course LOC=edX/111/Foo1
|
||||
#
|
||||
class Command(BaseCommand):
|
||||
help = '''Delete a MongoDB backed course'''
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#
|
||||
# Run it this way:
|
||||
# ./manage.py cms --settings dev edit_course_tabs --course Stanford/CS99/2013_spring
|
||||
# Or via rake:
|
||||
# rake django-admin[edit_course_tabs,cms,dev,"--course Stanford/CS99/2013_spring --delete 4"]
|
||||
#
|
||||
from optparse import make_option
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""
|
||||
Verify the structure of courseware as to it's suitability for import
|
||||
To run test: rake cms:xlint DATA_DIR=../data [COURSE_DIR=content-edx-101 (optional parameter)]
|
||||
"""
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
from xmodule.modulestore.xml_importer import perform_xlint
|
||||
|
||||
@@ -21,7 +21,7 @@ from xmodule.x_module import prefer_xmodules
|
||||
|
||||
######################### Testing overrides ####################################
|
||||
|
||||
# Needed for the `reset_db` management command
|
||||
# Needed for the reset database management command
|
||||
INSTALLED_APPS += ('django_extensions',)
|
||||
|
||||
# Redirect to the test_root folder within the repo
|
||||
|
||||
Reference in New Issue
Block a user