[Openstack] [horizon][urls rule]what and how
sylecn
sylecn at gmail.com
Wed Jan 22 04:57:53 UTC 2014
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, 王飞 <lawlietwf at hotmail.com> 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 : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140122/6497159e/attachment.html>
More information about the Openstack
mailing list