Use django-statici18n in production

This commit is contained in:
Raphael Michel
2016-11-09 19:08:51 +01:00
parent 67951f8984
commit 45b960b97c
7 changed files with 23 additions and 5 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
all: localecompile staticfiles
production: localecompile staticfiles compress
all: localecompile staticfiles jsi18n
production: localecompile staticfiles compress jsi18n
localecompile:
./manage.py compilemessages
@@ -14,6 +14,9 @@ staticfiles:
compress:
./manage.py compress
jsi18n: localecompile
./manage.py compilejsi18n
test:
py.test tests