I am using django 3.2.8. I set DEBUG = True and ALLOWED_HOSTS = ['*'] in my project settings.py file. When I try to "python3 manage.py runserver" it gives below error.
CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False
It is strange, because DEBUG is set to True in settings.py. But it says debug is false. Also I have this setting in my other project and it is working with Debug=True.