app/django/bin/compile-messages.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 21 Jan 2009 14:36:44 +0000
changeset 867 f4ea0da41915
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Edited the method used to clean link_id in params.py. Removed the clean_new_link_id from the logic/cleaning.py module because this is not used anymore. This method should be replaced by a method that is used after all the fields have been cleaned so that the actual key_name of an entity can be constructed. Patch by: Lennard de Rijk

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