7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-01 13:50:47 +00:00

chore: resolve "deprecated django-admin.py is deprecated" warning

See: https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0
This commit is contained in:
Régis Behmo 2022-02-21 12:07:57 +01:00 committed by Régis Behmo
parent d63b9aced2
commit a8d60d753b

View File

@ -155,7 +155,7 @@ COPY --chown=app:app settings/cms/*.py ./cms/envs/tutor/
RUN mkdir /openedx/locale/user
COPY --chown=app:app ./locale/ /openedx/locale/user/locale/
RUN cd /openedx/locale/user && \
django-admin.py compilemessages -v1
django-admin compilemessages -v1
# Compile i18n strings: in some cases, js locales are not properly compiled out of the box
# and we need to do a pass ourselves. Also, we need to compile the djangojs.js files for