aboutsummaryrefslogtreecommitdiffstats
path: root/genericparser/urls.py
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-30 15:59:45 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-30 08:25:47 +0000
commit52a969dcc2a935930a559b1780d7c95e1cc45d73 (patch)
treeb95f60a4c719a0a24b5343f09fe17cb6fe060666 /genericparser/urls.py
parent63c392e9cca3c6654e8383f49e5136fa86d1c72a (diff)
code refactor for genericparser1.0.0
Change-Id: I68a128944cde015d767576fc4e159d67db2d6b5d Issue-ID: VFC-1372 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'genericparser/urls.py')
-rw-r--r--genericparser/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/genericparser/urls.py b/genericparser/urls.py
index 8e9b0aa..a3cf4ff 100644
--- a/genericparser/urls.py
+++ b/genericparser/urls.py
@@ -13,10 +13,13 @@
# limitations under the License.
from django.conf.urls import include, url
+from django.contrib import admin
+
from genericparser.pub.config.config import REG_TO_MSB_WHEN_START, REG_TO_MSB_REG_URL, REG_TO_MSB_REG_PARAM
urlpatterns = [
+ url(r'^api/genericparser/v1/admin', admin.site.urls),
url(r'^', include('genericparser.samples.urls')),
url(r'^', include('genericparser.packages.urls')),
url(r'^', include('genericparser.jobs.urls')),