python manage.py runserver【預設8000】
python manage.py runserver 8080【更改埠】
python manage.py runserver 0.0.0.0:8080【更改IP地址】
(r'^aaa/bbb/\d+/$',ccc) #/aaa/bbb/1/ /aaa/bbb/2/ ...
(r'^aaa/bbb/(\d{1,2})+/$',ccc) #允許一個或2個數字
python manage.py runserver【預設8000】
python manage.py runserver 8080【更改埠】
python manage.py runserver 0.0.0.0:8080【更改IP地址】
(r'^aaa/bbb/\d+/$',ccc) #/aaa/bbb/1/ /aaa/bbb/2/ ...
(r'^aaa/bbb/(\d{1,2})+/$',ccc) #允許一個或2個數字
轉載於:https://www.cnblogs.com/yuluhuang/p/3378271.html