Welcome to the Treehouse Community
Looking to learn something new?
I'm guessing you're stuck with most of it, so I'm going to try to explain it.
- To create a view first you have to import
- Then you would need to create your view by defining a the function which in this case is called
- Lastly we simply return a HTTP response that contains the string 'Hello Treehouse'
from django.http import HttpResponse def index(request): return HttpResponse('Hello Treehouse')
I'd recommend reading a bit more on it, here's the link that Kenneth provided to help out https://docs.djangoproject.com/en/1.10/topics/http/views/#a-simple-view