Tutorial by Examples

Let's create a very simple view to respond a "Hello World" template in html format. To do that go to my_project/my_app/views.py (Here we are housing our view functions) and add the following view: from django.http import HttpResponse def hello_world(request): html = "&lt...

Page 1 of 1