I can't run/debug my project, all the settings is set correctly for debugging mode, but I get an error "You must set settings.ALLOWED_HOSTS if DEBUG is False." I found the similar error and solution, but it's not help me. Probably issue is in PyCharm. Doesn't matter, I set debug true or false, set environment variables, it's still doesn't work.
My config/settings:
DEBUG = True
ALLOWED_HOSTS = [*]