diff options
author | 2017-02-08 10:29:15 +0800 | |
---|---|---|
committer | 2017-02-08 10:29:15 +0800 | |
commit | 74848bd1962c23f19014a1a8e309e33834a1c510 (patch) | |
tree | b776e70cd373f0c2e515626f049b067b4562b491 /res/manage.py | |
parent | c3448f18f49cd2bbc9acc53be8569f76276a9a44 (diff) |
Add code framework of gvnfm-vnfres
Change-Id: Id3ea54469a74cccc11105cb4a7de6d60b0ecef4f
Issue-Id: GVNFM-23
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'res/manage.py')
-rw-r--r-- | res/manage.py | 22 |
1 files changed, 22 insertions, 0 deletions
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) |