root / manage.py @ master
History | View | Annotate | Download (925 Bytes)
1 | 62d361a3 | Leonidas Poulopoulos | #!/usr/bin/env python
|
---|---|---|---|
2 | 3ff6f95b | Leonidas Poulopoulos | # Copyright (C) 2010-2014 GRNET S.A.
|
3 | 3ff6f95b | Leonidas Poulopoulos | #
|
4 | 3ff6f95b | Leonidas Poulopoulos | # This program is free software: you can redistribute it and/or modify
|
5 | 3ff6f95b | Leonidas Poulopoulos | # it under the terms of the GNU General Public License as published by
|
6 | 3ff6f95b | Leonidas Poulopoulos | # the Free Software Foundation, either version 3 of the License, or
|
7 | 3ff6f95b | Leonidas Poulopoulos | # (at your option) any later version.
|
8 | 3ff6f95b | Leonidas Poulopoulos | #
|
9 | 3ff6f95b | Leonidas Poulopoulos | # This program is distributed in the hope that it will be useful,
|
10 | 3ff6f95b | Leonidas Poulopoulos | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 | 3ff6f95b | Leonidas Poulopoulos | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 | 3ff6f95b | Leonidas Poulopoulos | # GNU General Public License for more details.
|
13 | 3ff6f95b | Leonidas Poulopoulos | #
|
14 | 3ff6f95b | Leonidas Poulopoulos | # You should have received a copy of the GNU General Public License
|
15 | 3ff6f95b | Leonidas Poulopoulos | # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16 | 3ff6f95b | Leonidas Poulopoulos | #
|
17 | 62d361a3 | Leonidas Poulopoulos | import os |
18 | 62d361a3 | Leonidas Poulopoulos | import sys |
19 | a3af8464 | Leonidas Poulopoulos | |
20 | a3af8464 | Leonidas Poulopoulos | if __name__ == "__main__": |
21 | 62d361a3 | Leonidas Poulopoulos | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flowspy.settings") |
22 | 62d361a3 | Leonidas Poulopoulos | |
23 | 62d361a3 | Leonidas Poulopoulos | from django.core.management import execute_from_command_line |
24 | 62d361a3 | Leonidas Poulopoulos | |
25 | 62d361a3 | Leonidas Poulopoulos | execute_from_command_line(sys.argv) |