mirror of
https://github.com/django/django.git
synced 2025-06-03 10:39:12 +00:00
They are now called "makemessages", "compilemessages" and "cleanup". This is backwards incompatible for make-messages.py and compile-messages.py, although the old executables still exist for now and print an error pointing the caller to the right command to call. This reduces the number of binaries and man pages Django needs to install. Patch from Janis Leidel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
12 lines
323 B
Python
Executable File
12 lines
323 B
Python
Executable File
#!/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)
|
|
|