Ticket #8702: setlang.diff

File setlang.diff, 550 bytes (added by kmtracey, 7 years ago)

Patch, in case it's of use to anyone

  • django/core/management/commands/runserver.py

     
    7474            from django.utils import autoreload
    7575            autoreload.main(inner_run)
    7676        else:
     77            from django.conf import settings
     78            from django.utils import translation
     79            translation.activate(settings.LANGUAGE_CODE)
    7780            inner_run()
Back to Top