2013-09-28 10:44:29 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2013-10-03 19:26:39 +02:00
|
|
|
|
2013-09-28 10:44:29 +02:00
|
|
|
if __name__ == "__main__":
|
2023-01-15 12:47:06 +01:00
|
|
|
PROJECT_ROOT = os.path.dirname(__file__)
|
|
|
|
sys.path.insert(0, os.path.join(PROJECT_ROOT, 'src'))
|
|
|
|
|
2013-12-15 17:16:04 +01:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nsupdate.settings.dev")
|
2013-09-28 10:44:29 +02:00
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|