From 74848bd1962c23f19014a1a8e309e33834a1c510 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Wed, 8 Feb 2017 10:29:15 +0800 Subject: Add code framework of gvnfm-vnfres Change-Id: Id3ea54469a74cccc11105cb4a7de6d60b0ecef4f Issue-Id: GVNFM-23 Signed-off-by: fujinhua --- res/manage.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 res/manage.py (limited to 'res/manage.py') diff --git a/res/manage.py b/res/manage.py new file mode 100644 index 0000000..790d22b --- /dev/null +++ b/res/manage.py @@ -0,0 +1,22 @@ +# Copyright 2017 ZTE Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import os +import sys + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "res.settings") + +if __name__ == "__main__": + from django.core.management import execute_from_command_line + execute_from_command_line(sys.argv) -- cgit 1.2.3-korg