Also, I think argparse can't be used (v2.7 , not 2.6... I think).  Check out update.py for doing things as a Django command, and to do arg parsing using optparse.