-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from cid-harvard/beta
v1.0.4 - Pre Ideasphere
- Loading branch information
Showing
28 changed files
with
15,467 additions
and
2,749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,7 @@ | |
}, | ||
} | ||
|
||
VERSION = '1.0.3' | ||
VERSION = '1.0.4' | ||
|
||
try: | ||
from settings_local import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
#!/usr/bin/env python | ||
import os, sys | ||
#Importing optparse | ||
import optparse | ||
|
||
|
||
if __name__ == "__main__": | ||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "atlas.settings") | ||
|
||
parser = optparse.OptionParser("usage: %prog [options] arg1 arg2") | ||
parser.add_option("-F", "--data-file", dest="filename", | ||
default="None", type="string", | ||
help="specify filename to run on") | ||
|
||
(options, args) = parser.parse_args() | ||
filename = options.filename | ||
|
||
if filename != "None": | ||
sys.argv[2] = filename | ||
|
||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "atlas.settings") | ||
|
||
from django.core.management import execute_from_command_line | ||
from django.core.management import execute_from_command_line | ||
|
||
execute_from_command_line(sys.argv) | ||
execute_from_command_line(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.