35👍
✅
As mentioned in the comment, you need to do:
from django.conf import settings
print(settings.DEBUG)
Source:stackexchange.com
35👍
As mentioned in the comment, you need to do:
from django.conf import settings
print(settings.DEBUG)