horizon--登录流程

来源:互联网 发布:网络家教平台有哪些 编辑:程序博客网 时间:2024/06/10 03:07

登录页面:

horizon\views\auth_forms.py


加载菜单:

horizon\templatetags\horizon.py



菜单url认证:

horizon\decorators.py





openstack_dashboard.urls, Django tried these URL patterns, in this order:

  1. ^$ [name='splash']
  2. ^qunit/$ [name='qunit_tests']
  3. home/$ [name='user_home']
  4. auth/login/$ [name='auth_login']
  5. auth/logout/$ [name='auth_logout']
  6. auth/switch/(?P<tenant_id>[^/]+)/$ [name='auth_switch']
  7. ^i18n/setlang/$ [name='set_language']
  8. ^i18n/
  9. ^syspanel/
  10. ^/
  11. ^nova/
  12. ^static\/(?P<path>.*)$
  13. ^media\/(?P<path>.*)$

The current URL, settings/, didn't match any of these.


原创粉丝点击