Fix dal_check integrity error when autocomplete not enabled
This commit is contained in:
parent
6f47f9d388
commit
575e2649ac
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ def dal_check(app_configs, **kwargs):
|
||||||
from todo.features import HAS_AUTOCOMPLETE
|
from todo.features import HAS_AUTOCOMPLETE
|
||||||
|
|
||||||
if not HAS_AUTOCOMPLETE:
|
if not HAS_AUTOCOMPLETE:
|
||||||
return
|
return []
|
||||||
|
|
||||||
errors = []
|
errors = []
|
||||||
missing_apps = {'dal', 'dal_select2'} - set(settings.INSTALLED_APPS)
|
missing_apps = {'dal', 'dal_select2'} - set(settings.INSTALLED_APPS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue