diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-01-21 18:20:35 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-01-21 18:20:35 +0000 |
commit | b38693089b66e2e688290a7ef7033a1791feff0c (patch) | |
tree | eab2502f0c40d14948e0d97579c6e20d13f179e0 /doc | |
parent | a38b72813674e02bfe91c6338917f144c924b11b (diff) | |
parent | 6d487250692de7fc5e0e2e4ca398559dc0726467 (diff) | |
download | horizon-b38693089b66e2e688290a7ef7033a1791feff0c.tar.gz |
Merge "Fix PEP8 issues in the panel template"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/topics/tutorial.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/topics/tutorial.rst b/doc/source/topics/tutorial.rst index f38bfb636..b0b65bc75 100644 --- a/doc/source/topics/tutorial.rst +++ b/doc/source/topics/tutorial.rst @@ -399,10 +399,12 @@ The auto-generated ``urls.py`` file is like:: from django.conf.urls import patterns from django.conf.urls import url - from .views import IndexView + from openstack_dashboard.dashboards.mydashboard.mypanel.views \ + import IndexView - urlpatterns = patterns('', + urlpatterns = patterns( + '', url(r'^$', IndexView.as_view(), name='index'), ) |