<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def managepy(cmd, extra=None):
 """Run manage.py using this component's specific Django settings"""


    extra = extra.split() if extra else []
    run_django_cli(['invoke', cmd] + extra)