app/django/bin/make-messages.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 13 Mar 2009 13:26:03 +0000
changeset 1828 3db2a7be7239
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Changed the edit template to show a Submit button instead of Save Changes when "creating" an entity. This is because Save Changes confuses people, it has the tendency to imply a partial save. Patch by: Lennard de Rijk Reviewed 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)