It is something in django<br>you could dig it into django source <img src="https://res.mail.qq.com/zh_CN/images/mo/DEFAULT2/0.gif"> <br>more you could debug a simplehttpserver (basehttpserver) , then you may get what you want .<br><br>good Luck<br><div> </div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style='font-size:14px;font-family:Verdana;color:#000;'><div>止语</div></div></sign></div><div> </div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "王飞"<lawlietwf@hotmail.com>; </div><div><b>Date:</b> 2014年1月22日(星期三) 中午12:23</div><div><b>To:</b> "Openstack Milis"<openstack@lists.openstack.org>; </div><div><b>Subject:</b> [Openstack]  [horizon][urls rule]what and how</div></div><div><br></div><style>.qmbox <!--
.hmmessage P
{
margin:0px;
padding:0px}
.qmbox body.hmmessage
{
font-size: 12pt;
font-family:微软雅黑
}
.qmbox -->}
</style>
<div dir="ltr">Hi,all:<div>        My study at horizon src has been going on for some time.Now I could create a penal on it and present something.</div><div><br></div><div>        Anyway,a question has been boring me at the same time. What exactly the url rule is and how it works . </div><div>        src eg:</div><div><span style="font-size: 12pt;">urlpatterns = patterns('horizon.dashboards.syspanel.test.views',</span></div><div>    url(r'^$', IndexView.as_view(), name='index'),</div><div>)</div><div><br></div><div>        Only a "<span style="font-size: 12pt;">r'^$'" could know where the page direct?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">        Who knows the detail about it,please tell me. I greatly appreciate it!</span></div>                                           </div>