运行项目

  • 默认启动,端口为8000,地址为127.0.0.1

    python manage.py runserver

  • 指定端口

    python manage.py runserver 8090

  • 指定host和端口

    python manage.py runserver 0.0.0.0:8090

results matching ""

    No results matching ""