defdjango_cmd(sys,settings,*args):""" Construct a Django management command. `sys` is either 'lms' or 'studio'. `settings` is the Django settings module (such as "dev" or "test") `args` are concatenated to form the rest of the command. """# Maintain backwards compatibility with manage.py,# which calls "studio" "cms"sys='cms'ifsys=='studio'elsesysreturncmd("python manage.py",sys,"--settings={}".format(settings),*args)