from django.shortcuts import render
# from django.views.generic import ListView, DetailView
# from THG.models import Post
# # ListView = List of all posts
# # DetailView = Detail inside the post

# # def index(request):
# #     return render(request, "index.html")

# class HomeView(ListView):
#     model = Post
#     template_name = 'index.html'

# class PostDetailView(DetailView):
#     model = Post
#     template_name = 'post_detail.html'
