我在环境变量中隐藏了调试值和安全密钥。但在访问了我网站上的一个未知页面后。它显示调试信息。我做错了什么?SECRET_KEY = os.getenv("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in productionDEBUG = (os.getenv("DEBUG_VALUE&quo
当我尝试在我的设备上运行应用程序时,我收到以下错误。error: failed to launch '/Users/michael/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos当我尝试在设备上调试时,它似乎复制了应用程序(我可以看到图标),但随后显示上述消息而停止。Xc
每当我想要访问它的时候,我总是在管理中得到一个错误,当我在uWSGI中部署它的时候,它就崩溃了。下面是错误:
DEBUG:django.template:Exception while resolving variable 'is_popup' in template 'admin/login.htmldjango.template.base.VariableDoesNotExist: Failed lookup for key [is_popup] in "[{'False