diff --git a/todo/__init__.py b/todo/__init__.py index af2f1f4..a3a05df 100644 --- a/todo/__init__.py +++ b/todo/__init__.py @@ -9,4 +9,8 @@ __url__ = "https://github.com/shacker/django-todo" __license__ = "BSD License" -from . import check +try: + from . import check +except ModuleNotFoundError: + # this can happen during install time, if django is not installed yet! + pass