From 46bd0ff3bfacfb588bc5219b0745c3765c7d890f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 29 May 2013 12:41:13 +0000 Subject: [PATCH] add ./update.py static --- update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.py b/update.py index c2cde7c6..1efe6a13 100755 --- a/update.py +++ b/update.py @@ -72,6 +72,9 @@ if __name__ == "__main__": print "\tcd %s" % os.path.abspath(os.curdir) print "\t./manage.py migrate --all --fake" 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: if len(sys.argv) == 1: