app/django/bin/make-messages.py
author Todd Larsen <tlarsen@google.com>
Sun, 23 Nov 2008 06:34:22 +0000
changeset 577 e7cb5819f7e9
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Provide a simple method in the Role Model class that aliases the existing 'display_name' Property to 'name'. Patch by: Todd Larsen

#!/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)