app/django/bin/compile-messages.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 29 Nov 2008 21:58:34 +0000
changeset 617 9cc42981d40a
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Now invited users can create a new Host profile Before the invited user had to be a developer for this to work. Now, instead the default checkIsDeveloper check for the 'edit Host', a custom checkIsInvite check is used. Patch by: Sverre Rabbelier

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