@task
@cmdopts([BOKCHOY_DEFAULT_STORE, BOKCHOY_DEFAULT_STORE_DEPR])
@timed
def load_bok_choy_data(options):
 print 'Loading data from json fixtures in db_fixtures directory'
 sh('DEFAULT_STORE={default_store} ./manage.py lms --settings bok_choy loaddata --traceback common/test/db_fixtures/*.json'.format(default_store=options.default_store))

@ task @ cmdopts ( [ BOKCHOY_DEFAULT_STORE , BOKCHOY_DEFAULT_STORE_DEPR ] ) @ timed def load_bok_choy_data ( options ) : print 'Loading data from json fixtures in db_fixtures directory' sh ( 'DEFAULT_STORE={default_store} ./manage.py lms --settings bok_choy loaddata --traceback common/test/db_fixtures/*.json' . format ( default_store = options . default_store ) )
loads data into database from db_fixtures .