app/django/bin/make-messages.py
author Todd Larsen <tlarsen@google.com>
Sat, 22 Nov 2008 10:29:13 +0000
changeset 551 2ee7ad5266a8
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Define a default for rights['public'] in views/models/base.py. Alter rights in views/models/site.py to allow anyone, even signed-out users, to view the site home page. 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)