app/django/bin/make-messages.py
author Todd Larsen <tlarsen@google.com>
Thu, 19 Feb 2009 20:30:47 +0000
changeset 1399 5b154edd94ac
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Make it easier to support other extensions per-Model (such as .csv, etc.). Patch by: Todd Larsen Review by: to-be-reviewed

#!/usr/bin/env python

if __name__ == "__main__":
    import sys
    name = sys.argv[0]
    args = ' '.join(sys.argv[1:])
    print >> sys.stderr, "%s has been moved into django-admin.py" % name
    print >> sys.stderr, 'Please run "django-admin.py makemessages %s" instead.'% args
    print >> sys.stderr
    sys.exit(1)