def run(ctx, bind='localhost', port=8000):
"""
Starts the development server for local testing.
"""
tail = ''
if bind and port:
tail = '%s:%s' % (bind, port)
elif bind:
tail = str(bind)
elif port:
tail = str(port)
django_manage('runserver' + tail)
评论列表
文章目录