Django View & URL (1)
View
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world")Url
app
├── __init__.py
├── admin.py
├── apps.py
├── migrations
│ └── __init__.py
├── models.py
├── tests.py
├── urls.py
└── views.pyapp/urls.py
project/urls.py
Last updated