python 2.7 - Who generates the default page of django welcome page? -



python 2.7 - Who generates the default page of django welcome page? -

i set django environment , tutorial said. typed python manager.py runserver , told me open 127.0.0.1:8000. when open it, worked right welcome page.

but here question: generates default welcome page? since there no views.py , urls.py page empty.

take @ django/core/handlers/base.py , django/views/debug.py. in nutshell, if django gets 404, if don't have routes set up, in base.py

if settings.debug: django.views import debug response = debug.technical_404_response(request, e)

and in debug.py @ technical_404_response , empty_urlconf

django python-2.7

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -