summaryrefslogtreecommitdiffstats
path: root/webapp/django/bin/compile-messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/django/bin/compile-messages.py')
-rwxr-xr-xwebapp/django/bin/compile-messages.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/webapp/django/bin/compile-messages.py b/webapp/django/bin/compile-messages.py
new file mode 100755
index 0000000000..0deaf6a178
--- /dev/null
+++ b/webapp/django/bin/compile-messages.py
@@ -0,0 +1,11 @@
+#!/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)
+