app/django/bin/compile-messages.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Tue, 11 Nov 2008 19:49:00 +0000
changeset 473 d01d5e3b0b5c
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Fix broken User link name (it was possible to change link name to one that was already used, validation was not working correctly). Patch by: Pawel Solyga

#!/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 compilemessages %s" instead.'% args
    print >> sys.stderr
    sys.exit(1)