forked from 0x2620/pandora
add ./update.py static
This commit is contained in:
parent
7f606fd9f1
commit
46bd0ff3bf
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ if __name__ == "__main__":
|
||||||
print "\tcd %s" % os.path.abspath(os.curdir)
|
print "\tcd %s" % os.path.abspath(os.curdir)
|
||||||
print "\t./manage.py migrate --all --fake"
|
print "\t./manage.py migrate --all --fake"
|
||||||
print "Check http://wiki.0x2620.org/wiki/pandora/DatabaseUpdate for more information"
|
print "Check http://wiki.0x2620.org/wiki/pandora/DatabaseUpdate for more information"
|
||||||
|
elif len(sys.argv) == 2 and sys.argv[1] == 'static':
|
||||||
|
os.chdir(join(base, 'pandora'))
|
||||||
|
run('./manage.py', 'update_static')
|
||||||
else:
|
else:
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
|
|
Loading…
Reference in a new issue