Created
February 6, 2018 18:20
-
-
Save DenisCangemi/8ae2b199a6ebe022b3a81e46b9fe26bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hello/views.py | |
from django.shortcuts import render | |
from django.views.generic import TemplateView | |
# Create your views here. | |
class HomePageView(TemplateView): | |
def get(self, request, **kwargs): | |
return render(request, 'index.html', context=None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment