bedrock/manage.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 строки
451 B
Python
Исходник Постоянная ссылка Обычный вид История

2010-12-16 02:31:13 +03:00
#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
2010-12-16 02:43:43 +03:00
import os
import sys
2010-12-16 02:31:13 +03:00
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bedrock.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)