Report this

What is the reason for this report?

your settings.py is set to True, (but it is not! it clearly reads: Debug = False)

Posted on November 2, 2019

I have my django installed properly with all the gunicorn, nginx and systemd collaborating with each other, I can see the Congratulations page you have successfully installed django etc. Yet, it says that my debug at settings.py file is set to True, which is not.

Also I have created a hello world page at views.py and urls.py and it says page not found. when I go mywebsite.com/home I am inside my virtualenvironment because it is there where I installed everything, of course.

from django.http import HttpResponse

def home(request): return HttpResponse(‘hello’)

and the urls.py

from django.contrib import admin from django.urls import path from myapp import views

urlpatterns = [ path(‘admin/’, admin.site.urls), path(‘home/’,views.home, name=‘home’), ]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.