Bin Yang | b1b0386 | 2017-02-22 11:15:28 +0800 | [diff] [blame] | 1 | # Copyright (c) 2017 Wind River Systems, Inc. |
Ethan Lynn | 2906f88 | 2018-01-15 10:32:43 +0800 | [diff] [blame] | 2 | # Copyright (c) 2017-2018 VMware, Inc. |
Bin Yang | b1b0386 | 2017-02-22 11:15:28 +0800 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at: |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | |
| 13 | import os |
| 14 | import sys |
| 15 | |
| 16 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "multivimbroker.settings") |
| 17 | |
| 18 | if __name__ == "__main__": |
| 19 | from django.core.management import execute_from_command_line |
| 20 | execute_from_command_line(sys.argv) |