Yes, it worked, but I also tried local_settings.DEBUG instead settings.DEBUG, and couldn't work. Why was that?