diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 3c2f825cf8..d2369067ab 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -134,6 +134,7 @@ def inotify_code_changed(): """ class EventHandler(pyinotify.ProcessEvent): modified_code = None + def process_default(self, event): if event.path.endswith('.mo'): EventHandler.modified_code = I18N_MODIFIED