Fix dal_check integrity error when autocomplete not enabled

This commit is contained in:
Scot Hacker 2019-03-11 00:34:55 -07:00
parent 6f47f9d388
commit 575e2649ac

View file

@ -8,7 +8,7 @@ def dal_check(app_configs, **kwargs):
from todo.features import HAS_AUTOCOMPLETE
if not HAS_AUTOCOMPLETE:
return
return []
errors = []
missing_apps = {'dal', 'dal_select2'} - set(settings.INSTALLED_APPS)