e18b725096
note: in production, you will usually have to specify an OWN module (like local_settings) that imports from nsupdate.settings.prod and then overrides whatever you need to be different
10 lines
254 B
Python
Executable File
10 lines
254 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nsupdate.settings.dev")
|
|
from django.core.management import execute_from_command_line
|
|
execute_from_command_line(sys.argv)
|