from django.shortcuts import render

# Create your views here.
from forms import ReviewForm
from django.views,generic.edit import FormView
from django.http import HttpResponse

class ReviewEmailView(FormView):
    template_name = 'review.html'
    form_class = ReviewForm

    def form_valid(self,form):
        form.send_email()
        msg = "Thanks for the review"
        render HttpResponse(msg)

    


