2016-04-07 15:03:22 +02:00
|
|
|
#!/usr/bin/env python
|
2013-10-24 01:51:06 +02:00
|
|
|
from __future__ import absolute_import
|
2016-03-10 17:15:34 +01:00
|
|
|
from __future__ import print_function
|
2013-10-24 01:51:06 +02:00
|
|
|
|
|
|
|
import os
|
2016-06-25 17:07:13 +02:00
|
|
|
from os.path import dirname, abspath
|
2013-10-24 01:51:06 +02:00
|
|
|
import sys
|
|
|
|
|
2016-06-25 17:07:13 +02:00
|
|
|
BASE_DIR = dirname(dirname(abspath(__file__)))
|
|
|
|
sys.path.append(BASE_DIR)
|
|
|
|
import scripts.lib.setup_path_on_import
|
|
|
|
|
2013-10-24 01:51:06 +02:00
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'zproject.settings'
|
|
|
|
from django.conf import settings
|
|
|
|
|
2016-03-10 17:15:34 +01:00
|
|
|
print(getattr(settings, sys.argv[1]))
|