Horizon is just a django app. For urlconf, check django's document:

https://docs.djangoproject.com/en/1.6/topics/http/urls/

Thanks,
Yuanle


On Wed, Jan 22, 2014 at 12:23 PM, 王飞 <[email protected]> wrote:

> Hi,all:
>         My study at horizon src has been going on for some time.Now I
> could create a penal on it and present something.
>
>         Anyway,a question has been boring me at the same time. What
> exactly the url rule is and how it works .
>         src eg:
> urlpatterns = patterns('horizon.dashboards.syspanel.test.views',
>     url(r'^$', IndexView.as_view(), name='index'),
> )
>
>         Only a "r'^$'" could know where the page direct?
>
>         Who knows the detail about it,please tell me. I greatly appreciate
> it!
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to