diff options
author | 2016-08-22 14:13:06 +0000 | |
---|---|---|
committer | 2016-08-22 14:13:06 +0000 | |
commit | c121ae90322dac5cf72e98450c89ff7e5131b20c (patch) | |
tree | 51b6c58e102777649940686915da48aab5971fac /tools/pharos-dashboard/pharos_dashboard/urls.py | |
parent | e4649cce49068942ef754746fdd5bc75636075de (diff) | |
parent | 3b5ef3b0a88247eeafeee878de528aad71f9fd4b (diff) |
Merge "Split the dashboard into different apps, add tests"
Diffstat (limited to 'tools/pharos-dashboard/pharos_dashboard/urls.py')
-rw-r--r-- | tools/pharos-dashboard/pharos_dashboard/urls.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/pharos-dashboard/pharos_dashboard/urls.py b/tools/pharos-dashboard/pharos_dashboard/urls.py index 03b9c256..41aa4093 100644 --- a/tools/pharos-dashboard/pharos_dashboard/urls.py +++ b/tools/pharos-dashboard/pharos_dashboard/urls.py @@ -1,7 +1,7 @@ -"""opnfvdashboard URL Configuration +"""pharos_dashboard URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: - https://docs.djangoproject.com/en/1.9/topics/http/urls/ + https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views @@ -13,11 +13,12 @@ Including another URLconf 1. Import the include() function: from django.conf.urls import url, include 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) """ - -from django.conf.urls import include, url +from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^', include('dashboard.urls', namespace='dashboard')), - url(r'^admin/', include(admin.site.urls)), + url(r'^booking/', include('booking.urls', namespace='booking')), + url(r'^account/', include('account.urls', namespace='account')), + url(r'^admin/', admin.site.urls), ]
\ No newline at end of file |