Skip to content

Instantly share code, notes, and snippets.

@pinnokio
Created February 6, 2014 13:49
Show Gist options
  • Select an option

  • Save pinnokio/8844510 to your computer and use it in GitHub Desktop.

Select an option

Save pinnokio/8844510 to your computer and use it in GitHub Desktop.
(env)webmaster@textr:~/text/apps$ django-admin.py compilemessages
CommandError: This script should be run from the Django Git checkout or your project or app tree, or with the settings module specified.
(env)webmaster@textr:~/text/apps$ cd ../
(env)webmaster@textr:~/text$ django-admin.py compilemessages
CommandError: This script should be run from the Django Git checkout or your project or app tree, or with the settings module specified.
(env)webmaster@textr:~/text$ cd apps/
(env)webmaster@textr:~/text/apps$ django-admin.py makemessages -l en
CommandError: This script should be run from the Django Git tree or your project or app tree. If you did indeed run it from the Git checkout or your project or application, maybe you are just missing the conf/locale (in the django tree) or locale (for project and application) directory? It is not created automatically, you have to create it by hand if you want to enable i18n for your project or application.
(env)webmaster@textr:~/text/apps$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment