core: wrap compilemessages to avoid compiling whole env and avoid crash at sphinx messages compilation

This commit is contained in:
2019-10-08 00:31:38 +02:00
parent 775413ac7e
commit 5c3c14ab37
2 changed files with 47 additions and 1 deletions

View File

@ -29,7 +29,9 @@ import sys
from http.server import test, CGIHTTPRequestHandler
from django.core.management.base import BaseCommand
from django.conf import settings
# TODO Django 2.2 : implement autoreload following
# https://stackoverflow.com/questions/42907285/django-autoreload-add-watched-file
class Command(BaseCommand):