app/django/bin/make-messages.py
author Sverre Rabbelier <srabbelier@gmail.com>
Tue, 25 Nov 2008 23:16:32 +0000
changeset 587 7504504209a3
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Fixed some access related bugs These were not obvious previously, but with the sidebar not showing up when one does not have access, they stood out.

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