-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
when you execute a check_config, you get two kind of lines, some explaining what the check is about, some that you can copy and paste into the code.
what about making some visual distinction between the two?
obviously keeping that code lines can be copied and pasted verbatim.
look at the output:
lizard_map.adapter DEBUG No locale nl_NL.UTF8 on this os. Using default locale.
lizard_ui.management.commands.check_config INFO Running checker "Verify lizard_ui's demands on settings.py."
Setting LOGGING is missing a root ('') log handler.
Can't log other errors. Suggestion:
from lizard_ui.settingshelper import setup_logging
LOGGING = setup_logging(BUILDOUT_DIR)
lizard_ui.configchecker ERROR 'compressor.finders.CompressorFinder' is missing from STATICFILES_FINDERS. Suggestion:
from lizard_ui.settingshelper import STATICFILES_FINDERS
STATICFILES_FINDERS = STATICFILES_FINDERS
I think this other setup is easier to read (YMMV).
> lizard_map.adapter DEBUG No locale nl_NL.UTF8 on this os. Using default locale.
> lizard_ui.management.commands.check_config INFO Running checker "Verify lizard_ui's demands on settings.py."
> Setting LOGGING is missing a root ('') log handler.
> Can't log other errors. Suggestion:
from lizard_ui.settingshelper import setup_logging
LOGGING = setup_logging(BUILDOUT_DIR)
> lizard_ui.configchecker ERROR 'compressor.finders.CompressorFinder' is missing from STATICFILES_FINDERS. Suggestion:
from lizard_ui.settingshelper import STATICFILES_FINDERS
STATICFILES_FINDERS = STATICFILES_FINDERS
Metadata
Metadata
Assignees
Labels
No labels