Skip to content

Commit

Permalink
Revert "Skip app/vendors from compilemessages #763" (#768)
Browse files Browse the repository at this point in the history
This reverts commit 0af534c.

--ignore option for compilemessages is supported in greater than django 3.0.
https://docs.djangoproject.com/en/3.1/ref/django-admin/#cmdoption-compilemessages-ignore

makemessages support --ignore even on django 1.x
https://docs.djangoproject.com/en/3.1/ref/django-admin/#cmdoption-makemessages-ignore

Indeed, our django version is 1.11.29, which is the last version for Python 2.x
Django 1.11 is the last version to support Python 2.7. Support for Python 2.7 and Django 1.11 ends in 2020.
https://docs.djangoproject.com/en/3.1/faq/install/
  • Loading branch information
ryosuketc authored Nov 26, 2020
1 parent 471331f commit 68f08f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/update_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,4 @@ def django_admin(*args):

# Run compilemessages to generate all the .mo files.
sys.stderr = open('/dev/null', 'w') # suppress the listing of all files
django_admin('compilemessages',
'--ignore=vendors')
django_admin('compilemessages')

0 comments on commit 68f08f4

Please sign in to comment.